Why signed android apk is not running on emulator

前端 未结 6 2098
情书的邮戳
情书的邮戳 2021-02-11 03:00

I have made a signed apk of an android project. Whenever my client try to run it on the emulator, he faces the following error message:

D:\\Android\\android-sdk-         


        
6条回答
  •  爱一瞬间的悲伤
    2021-02-11 03:57

    try below code it's worked for me.

    Below line run when your jdk version is 6 for singing the apk
    
    H:\Keytool>"C:\Program Files\Java\jdk1.6.0_09\bin\jarsigner.exe" -verbose -keystore donate.keystore "H:\Keytool\yourapkName.apk.apk" donate.keystore 
    
    Below line run when your jdk version is 7 for singing the apk
    
    H:\Keytool>"C:\Program Files\Java\jdk1.7.0_21\bin\jarsigner.exe" -verbose -keyst
    ore denote.keyStore "H:\Keytool\yourapkName.apk" denote.keyStore -digestalg SHA1 -sigalg MD5withRSA
    

提交回复
热议问题