generating signed apk cannot find common super classProguard - Can't find common super class of [com/google/android/gms/d/kl]'App not Installed' Error on AndroidHow to avoid reverse engineering of an APK file?How to manually include external aar package using new Gradle Android Build SystemGenerate signed apk android studioHow to retrieve Key Alias and Key Password for signed APK in android studio(migrated from Eclipse)Getting Can't find common super class of [com/loopj/android/http/MySSLSocketFactory] after enabling Pro-guardUnable to generate signed APK : Can't find common super class of [com/google/android/gms/internal/zzmk]“Can't find common super class of [com/google/android/gms/internal/zzata]Can't find common super class of [com/google/android/gms/internal/zzol]

Speaker impedance: rewiring four 8 Ω speakers for use with 8 Ω amp output

Is the first page of Novel really that important?

Can there be multiple energy eigenstates corresponding to the same eigenvalue of a Hamiltonian (Pauli-X)?

What license to choose for my PhD thesis?

Phase portrait of a system of differential equations

Difference between "jail" and "prison" in German

Using Forstner bits instead of hole saws

What does "autolyco-sentimental" mean?

Declaring a visitor to the UK as my "girlfriend" - effect on getting a Visitor visa?

Approximating an expression for a potential

Is law enforcement responsible for damages made by a search warrant?

What is it exactly about flying a Flyboard across the English channel that made Zapata's thighs burn?

Do moonless nights cause dim light to become darkness, and bright light (e.g. from torches) to become dim light?

How does shared_ptr<void> know which destructor to use?

Why wasn't interlaced CRT scanning done back and forth?

Can I say "Gesundheit" if someone is coughing?

Different answers of calculations in LuaLaTeX on local computer, lua compiler and on overleaf

How was the cosmonaut of the Soviet moon mission supposed to get back in the return vehicle?

In a KP-K endgame, if the enemy king is in front of the pawn, is it always a draw?

A verb for when some rights are not violated?

Deflecting lasers with lightsabers

What is the reason behind water not falling from a bucket at the top of loop?

Subtle ways to render a planet uninhabitable

Feedback diagram



generating signed apk cannot find common super class


Proguard - Can't find common super class of [com/google/android/gms/d/kl]'App not Installed' Error on AndroidHow to avoid reverse engineering of an APK file?How to manually include external aar package using new Gradle Android Build SystemGenerate signed apk android studioHow to retrieve Key Alias and Key Password for signed APK in android studio(migrated from Eclipse)Getting Can't find common super class of [com/loopj/android/http/MySSLSocketFactory] after enabling Pro-guardUnable to generate signed APK : Can't find common super class of [com/google/android/gms/internal/zzmk]“Can't find common super class of [com/google/android/gms/internal/zzata]Can't find common super class of [com/google/android/gms/internal/zzol]






.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty margin-bottom:0;








2















I am trying to build a signed apk for my app but am getting this error whenever I try to build it:




Can't find common super class of [com/google/android/gms/internal/zzata] (with 1 known super classes) and [java/lang/String] (with 2 known super classes)




I was able to build signed apk's using different keystores before just fine but now all I get is this error.










share|improve this question


























  • How is your proguard settings for release apk?

    – shizhen
    Mar 27 at 1:52











  • I can post the proguard file with its settings if that's what you're looking for. earlier on today it was working until i changed the keystore because i forgot passwords, its weird

    – PaPaB1nG0
    Mar 27 at 1:54











  • Try to remove -dontwarn from your proguard settings which suppress warnings about unresolved references, so that you can get more detailed error / warning logs.

    – shizhen
    Mar 27 at 2:00











  • okay, ill do that now and post results. I am using a cocos 2dx project if that would make any difference, it's just it was generating an apk earlier and nothing has changed since apart from a different keystore

    – PaPaB1nG0
    Mar 27 at 2:04











  • check here to see if it helps: stackoverflow.com/a/50622234/8034839

    – shizhen
    Mar 27 at 2:09

















2















I am trying to build a signed apk for my app but am getting this error whenever I try to build it:




Can't find common super class of [com/google/android/gms/internal/zzata] (with 1 known super classes) and [java/lang/String] (with 2 known super classes)




I was able to build signed apk's using different keystores before just fine but now all I get is this error.










share|improve this question


























  • How is your proguard settings for release apk?

    – shizhen
    Mar 27 at 1:52











  • I can post the proguard file with its settings if that's what you're looking for. earlier on today it was working until i changed the keystore because i forgot passwords, its weird

    – PaPaB1nG0
    Mar 27 at 1:54











  • Try to remove -dontwarn from your proguard settings which suppress warnings about unresolved references, so that you can get more detailed error / warning logs.

    – shizhen
    Mar 27 at 2:00











  • okay, ill do that now and post results. I am using a cocos 2dx project if that would make any difference, it's just it was generating an apk earlier and nothing has changed since apart from a different keystore

    – PaPaB1nG0
    Mar 27 at 2:04











  • check here to see if it helps: stackoverflow.com/a/50622234/8034839

    – shizhen
    Mar 27 at 2:09













2












2








2








I am trying to build a signed apk for my app but am getting this error whenever I try to build it:




Can't find common super class of [com/google/android/gms/internal/zzata] (with 1 known super classes) and [java/lang/String] (with 2 known super classes)




I was able to build signed apk's using different keystores before just fine but now all I get is this error.










share|improve this question
















I am trying to build a signed apk for my app but am getting this error whenever I try to build it:




Can't find common super class of [com/google/android/gms/internal/zzata] (with 1 known super classes) and [java/lang/String] (with 2 known super classes)




I was able to build signed apk's using different keystores before just fine but now all I get is this error.







android android-gradle signed-apk






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Apr 13 at 19:01









Zoe

15.4k9 gold badges65 silver badges97 bronze badges




15.4k9 gold badges65 silver badges97 bronze badges










asked Mar 27 at 1:30









PaPaB1nG0PaPaB1nG0

1491 silver badge10 bronze badges




1491 silver badge10 bronze badges















  • How is your proguard settings for release apk?

    – shizhen
    Mar 27 at 1:52











  • I can post the proguard file with its settings if that's what you're looking for. earlier on today it was working until i changed the keystore because i forgot passwords, its weird

    – PaPaB1nG0
    Mar 27 at 1:54











  • Try to remove -dontwarn from your proguard settings which suppress warnings about unresolved references, so that you can get more detailed error / warning logs.

    – shizhen
    Mar 27 at 2:00











  • okay, ill do that now and post results. I am using a cocos 2dx project if that would make any difference, it's just it was generating an apk earlier and nothing has changed since apart from a different keystore

    – PaPaB1nG0
    Mar 27 at 2:04











  • check here to see if it helps: stackoverflow.com/a/50622234/8034839

    – shizhen
    Mar 27 at 2:09

















  • How is your proguard settings for release apk?

    – shizhen
    Mar 27 at 1:52











  • I can post the proguard file with its settings if that's what you're looking for. earlier on today it was working until i changed the keystore because i forgot passwords, its weird

    – PaPaB1nG0
    Mar 27 at 1:54











  • Try to remove -dontwarn from your proguard settings which suppress warnings about unresolved references, so that you can get more detailed error / warning logs.

    – shizhen
    Mar 27 at 2:00











  • okay, ill do that now and post results. I am using a cocos 2dx project if that would make any difference, it's just it was generating an apk earlier and nothing has changed since apart from a different keystore

    – PaPaB1nG0
    Mar 27 at 2:04











  • check here to see if it helps: stackoverflow.com/a/50622234/8034839

    – shizhen
    Mar 27 at 2:09
















How is your proguard settings for release apk?

– shizhen
Mar 27 at 1:52





How is your proguard settings for release apk?

– shizhen
Mar 27 at 1:52













I can post the proguard file with its settings if that's what you're looking for. earlier on today it was working until i changed the keystore because i forgot passwords, its weird

– PaPaB1nG0
Mar 27 at 1:54





I can post the proguard file with its settings if that's what you're looking for. earlier on today it was working until i changed the keystore because i forgot passwords, its weird

– PaPaB1nG0
Mar 27 at 1:54













Try to remove -dontwarn from your proguard settings which suppress warnings about unresolved references, so that you can get more detailed error / warning logs.

– shizhen
Mar 27 at 2:00





Try to remove -dontwarn from your proguard settings which suppress warnings about unresolved references, so that you can get more detailed error / warning logs.

– shizhen
Mar 27 at 2:00













okay, ill do that now and post results. I am using a cocos 2dx project if that would make any difference, it's just it was generating an apk earlier and nothing has changed since apart from a different keystore

– PaPaB1nG0
Mar 27 at 2:04





okay, ill do that now and post results. I am using a cocos 2dx project if that would make any difference, it's just it was generating an apk earlier and nothing has changed since apart from a different keystore

– PaPaB1nG0
Mar 27 at 2:04













check here to see if it helps: stackoverflow.com/a/50622234/8034839

– shizhen
Mar 27 at 2:09





check here to see if it helps: stackoverflow.com/a/50622234/8034839

– shizhen
Mar 27 at 2:09












2 Answers
2






active

oldest

votes


















0














It looks like a proguard setting problem, see: Warning: can't find superclass or interface.



If the missing class is referenced from your own code, you may have forgotten to specify an essential library. Just like when compiling all code from scratch, you must specify all libraries that the code is referencing, directly or indirectly. If the library should be processed and included in the output, you should specify it with -injars, otherwise you should specify it with -libraryjars.






share|improve this answer
































    0














    Looks like I found what the issue was. In my build gradle for the app, I had my dependencies listed like this:



    dependencies 
    implementation fileTree(include: ['*.jar'], dir: 'libs')
    implementation project(':libcocos2dx')


    //dependencies compile 'com.google.android.gms:play-services-ads:15.0.1'
    dependencies compile 'com.google.android.gms:play-services-analytics:12.0.1'
    dependencies compile 'com.google.android.gms:play-services-auth:15.0.0'
    dependencies compile 'com.google.android.gms:play-services-games:15.0.0'
    dependencies compile 'com.google.android.gms:play-services-drive:15.0.0'


    The error that I was getting above was saying that a library reference could not be found in the google gms namespace. it turns out it was because of the versions I was using for the 'com.google.android.gms:play-services-analytics:12.0.1' service. I just changed the version from 12.0.1 to 15.0.0 like the rest of the libraries and it then worked and generated my signed APK. Thank you to all that helped and I hope this can help anyone who has the same issue.






    share|improve this answer

























    • You can consolidate your dependencies into one single dependencies and change all the compile to implementation for newer gradle plugin version.

      – shizhen
      Mar 27 at 4:40













    Your Answer






    StackExchange.ifUsing("editor", function ()
    StackExchange.using("externalEditor", function ()
    StackExchange.using("snippets", function ()
    StackExchange.snippets.init();
    );
    );
    , "code-snippets");

    StackExchange.ready(function()
    var channelOptions =
    tags: "".split(" "),
    id: "1"
    ;
    initTagRenderer("".split(" "), "".split(" "), channelOptions);

    StackExchange.using("externalEditor", function()
    // Have to fire editor after snippets, if snippets enabled
    if (StackExchange.settings.snippets.snippetsEnabled)
    StackExchange.using("snippets", function()
    createEditor();
    );

    else
    createEditor();

    );

    function createEditor()
    StackExchange.prepareEditor(
    heartbeatType: 'answer',
    autoActivateHeartbeat: false,
    convertImagesToLinks: true,
    noModals: true,
    showLowRepImageUploadWarning: true,
    reputationToPostImages: 10,
    bindNavPrevention: true,
    postfix: "",
    imageUploader:
    brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
    contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
    allowUrls: true
    ,
    onDemand: true,
    discardSelector: ".discard-answer"
    ,immediatelyShowMarkdownHelp:true
    );



    );













    draft saved

    draft discarded


















    StackExchange.ready(
    function ()
    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55368495%2fgenerating-signed-apk-cannot-find-common-super-class%23new-answer', 'question_page');

    );

    Post as a guest















    Required, but never shown

























    2 Answers
    2






    active

    oldest

    votes








    2 Answers
    2






    active

    oldest

    votes









    active

    oldest

    votes






    active

    oldest

    votes









    0














    It looks like a proguard setting problem, see: Warning: can't find superclass or interface.



    If the missing class is referenced from your own code, you may have forgotten to specify an essential library. Just like when compiling all code from scratch, you must specify all libraries that the code is referencing, directly or indirectly. If the library should be processed and included in the output, you should specify it with -injars, otherwise you should specify it with -libraryjars.






    share|improve this answer





























      0














      It looks like a proguard setting problem, see: Warning: can't find superclass or interface.



      If the missing class is referenced from your own code, you may have forgotten to specify an essential library. Just like when compiling all code from scratch, you must specify all libraries that the code is referencing, directly or indirectly. If the library should be processed and included in the output, you should specify it with -injars, otherwise you should specify it with -libraryjars.






      share|improve this answer



























        0












        0








        0







        It looks like a proguard setting problem, see: Warning: can't find superclass or interface.



        If the missing class is referenced from your own code, you may have forgotten to specify an essential library. Just like when compiling all code from scratch, you must specify all libraries that the code is referencing, directly or indirectly. If the library should be processed and included in the output, you should specify it with -injars, otherwise you should specify it with -libraryjars.






        share|improve this answer













        It looks like a proguard setting problem, see: Warning: can't find superclass or interface.



        If the missing class is referenced from your own code, you may have forgotten to specify an essential library. Just like when compiling all code from scratch, you must specify all libraries that the code is referencing, directly or indirectly. If the library should be processed and included in the output, you should specify it with -injars, otherwise you should specify it with -libraryjars.







        share|improve this answer












        share|improve this answer



        share|improve this answer










        answered Mar 27 at 1:56









        shizhenshizhen

        5,5509 gold badges21 silver badges46 bronze badges




        5,5509 gold badges21 silver badges46 bronze badges


























            0














            Looks like I found what the issue was. In my build gradle for the app, I had my dependencies listed like this:



            dependencies 
            implementation fileTree(include: ['*.jar'], dir: 'libs')
            implementation project(':libcocos2dx')


            //dependencies compile 'com.google.android.gms:play-services-ads:15.0.1'
            dependencies compile 'com.google.android.gms:play-services-analytics:12.0.1'
            dependencies compile 'com.google.android.gms:play-services-auth:15.0.0'
            dependencies compile 'com.google.android.gms:play-services-games:15.0.0'
            dependencies compile 'com.google.android.gms:play-services-drive:15.0.0'


            The error that I was getting above was saying that a library reference could not be found in the google gms namespace. it turns out it was because of the versions I was using for the 'com.google.android.gms:play-services-analytics:12.0.1' service. I just changed the version from 12.0.1 to 15.0.0 like the rest of the libraries and it then worked and generated my signed APK. Thank you to all that helped and I hope this can help anyone who has the same issue.






            share|improve this answer

























            • You can consolidate your dependencies into one single dependencies and change all the compile to implementation for newer gradle plugin version.

              – shizhen
              Mar 27 at 4:40















            0














            Looks like I found what the issue was. In my build gradle for the app, I had my dependencies listed like this:



            dependencies 
            implementation fileTree(include: ['*.jar'], dir: 'libs')
            implementation project(':libcocos2dx')


            //dependencies compile 'com.google.android.gms:play-services-ads:15.0.1'
            dependencies compile 'com.google.android.gms:play-services-analytics:12.0.1'
            dependencies compile 'com.google.android.gms:play-services-auth:15.0.0'
            dependencies compile 'com.google.android.gms:play-services-games:15.0.0'
            dependencies compile 'com.google.android.gms:play-services-drive:15.0.0'


            The error that I was getting above was saying that a library reference could not be found in the google gms namespace. it turns out it was because of the versions I was using for the 'com.google.android.gms:play-services-analytics:12.0.1' service. I just changed the version from 12.0.1 to 15.0.0 like the rest of the libraries and it then worked and generated my signed APK. Thank you to all that helped and I hope this can help anyone who has the same issue.






            share|improve this answer

























            • You can consolidate your dependencies into one single dependencies and change all the compile to implementation for newer gradle plugin version.

              – shizhen
              Mar 27 at 4:40













            0












            0








            0







            Looks like I found what the issue was. In my build gradle for the app, I had my dependencies listed like this:



            dependencies 
            implementation fileTree(include: ['*.jar'], dir: 'libs')
            implementation project(':libcocos2dx')


            //dependencies compile 'com.google.android.gms:play-services-ads:15.0.1'
            dependencies compile 'com.google.android.gms:play-services-analytics:12.0.1'
            dependencies compile 'com.google.android.gms:play-services-auth:15.0.0'
            dependencies compile 'com.google.android.gms:play-services-games:15.0.0'
            dependencies compile 'com.google.android.gms:play-services-drive:15.0.0'


            The error that I was getting above was saying that a library reference could not be found in the google gms namespace. it turns out it was because of the versions I was using for the 'com.google.android.gms:play-services-analytics:12.0.1' service. I just changed the version from 12.0.1 to 15.0.0 like the rest of the libraries and it then worked and generated my signed APK. Thank you to all that helped and I hope this can help anyone who has the same issue.






            share|improve this answer













            Looks like I found what the issue was. In my build gradle for the app, I had my dependencies listed like this:



            dependencies 
            implementation fileTree(include: ['*.jar'], dir: 'libs')
            implementation project(':libcocos2dx')


            //dependencies compile 'com.google.android.gms:play-services-ads:15.0.1'
            dependencies compile 'com.google.android.gms:play-services-analytics:12.0.1'
            dependencies compile 'com.google.android.gms:play-services-auth:15.0.0'
            dependencies compile 'com.google.android.gms:play-services-games:15.0.0'
            dependencies compile 'com.google.android.gms:play-services-drive:15.0.0'


            The error that I was getting above was saying that a library reference could not be found in the google gms namespace. it turns out it was because of the versions I was using for the 'com.google.android.gms:play-services-analytics:12.0.1' service. I just changed the version from 12.0.1 to 15.0.0 like the rest of the libraries and it then worked and generated my signed APK. Thank you to all that helped and I hope this can help anyone who has the same issue.







            share|improve this answer












            share|improve this answer



            share|improve this answer










            answered Mar 27 at 4:35









            PaPaB1nG0PaPaB1nG0

            1491 silver badge10 bronze badges




            1491 silver badge10 bronze badges















            • You can consolidate your dependencies into one single dependencies and change all the compile to implementation for newer gradle plugin version.

              – shizhen
              Mar 27 at 4:40

















            • You can consolidate your dependencies into one single dependencies and change all the compile to implementation for newer gradle plugin version.

              – shizhen
              Mar 27 at 4:40
















            You can consolidate your dependencies into one single dependencies and change all the compile to implementation for newer gradle plugin version.

            – shizhen
            Mar 27 at 4:40





            You can consolidate your dependencies into one single dependencies and change all the compile to implementation for newer gradle plugin version.

            – shizhen
            Mar 27 at 4:40

















            draft saved

            draft discarded
















































            Thanks for contributing an answer to Stack Overflow!


            • Please be sure to answer the question. Provide details and share your research!

            But avoid


            • Asking for help, clarification, or responding to other answers.

            • Making statements based on opinion; back them up with references or personal experience.

            To learn more, see our tips on writing great answers.




            draft saved


            draft discarded














            StackExchange.ready(
            function ()
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55368495%2fgenerating-signed-apk-cannot-find-common-super-class%23new-answer', 'question_page');

            );

            Post as a guest















            Required, but never shown





















































            Required, but never shown














            Required, but never shown












            Required, but never shown







            Required, but never shown

































            Required, but never shown














            Required, but never shown












            Required, but never shown







            Required, but never shown







            Popular posts from this blog

            Kamusi Yaliyomo Aina za kamusi | Muundo wa kamusi | Faida za kamusi | Dhima ya picha katika kamusi | Marejeo | Tazama pia | Viungo vya nje | UrambazajiKuhusu kamusiGo-SwahiliWiki-KamusiKamusi ya Kiswahili na Kiingerezakuihariri na kuongeza habari

            SQL error code 1064 with creating Laravel foreign keysForeign key constraints: When to use ON UPDATE and ON DELETEDropping column with foreign key Laravel error: General error: 1025 Error on renameLaravel SQL Can't create tableLaravel Migration foreign key errorLaravel php artisan migrate:refresh giving a syntax errorSQLSTATE[42S01]: Base table or view already exists or Base table or view already exists: 1050 Tableerror in migrating laravel file to xampp serverSyntax error or access violation: 1064:syntax to use near 'unsigned not null, modelName varchar(191) not null, title varchar(191) not nLaravel cannot create new table field in mysqlLaravel 5.7:Last migration creates table but is not registered in the migration table

            은진 송씨 목차 역사 본관 분파 인물 조선 왕실과의 인척 관계 집성촌 항렬자 인구 같이 보기 각주 둘러보기 메뉴은진 송씨세종실록 149권, 지리지 충청도 공주목 은진현