Why signed android apk is not running on emulator

前端 未结 6 2071
滥情空心
滥情空心 2021-02-11 03:35

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 04:06

    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
    

提交回复
热议问题