Signing an existing apk using debug.keystore generated by eclipse

前端 未结 4 1536
盖世英雄少女心
盖世英雄少女心 2021-02-02 10:32

I have an existing unsigned apk and I want to sign it using my debug.keystore file. Here I found a tutorial how it can be done.

jarsigner -verbose -sigalg SHA1w         


        
4条回答
  •  有刺的猬
    2021-02-02 11:15

    For me, I have create a debug keystore first with all passwords, alias... are 'android' then go to Preferences -> Android -> Build and enter that as Custom debug keystore. Now any my debug will be auto signed with that key without requiring me to do any extra work!

    Warning: I have learnt hard from my mistakes. I have uploaded my APK with that debug keystore to Google Store then published it for alpha testing (to test purchasing, signing in Google game play...). First that was very convenience since I could compile and run my app in debug mode without being trouble to re-enter keystore, passwords, create apk, install it on devices...

    However, the problem is that after testing, I cannot upload the released apk (with my official keystore) to that project (because it has different key than previous loaded ones). I cannot delete that project either (since it has been published). At the end, I have to keep that one, rename the package of the app, create a new project, update new Google Api id, upload new apk... for official releasing.

提交回复
热议问题