开发者

how to sign and align a .apk file

开发者 https://www.devze.com 2023-02-14 22:11 出处:网络
I have created an app and i want it to submit in the android market site. I know that for submission process i have to change the app to be an .apk file

I have created an app and i want it to submit in the android market site. I know that for submission process i have to change the app to be an .apk file

I had made my app to be an .apk file by selecting Export unsigned package from android tools.

But how to sign and align the project. Pls开发者_如何学Python give me the steps and instructions to be followed.


The following gives step by step instructions:

http://developer.android.com/guide/publishing/app-signing.html


Go to a command line prompt and get to C:\Program Files\Java\jdk1.6.0_21\bin\jarsigner.exe

Run the following command :

jarsigner -verbose -keystore "[PATH TO YOUR KEY STORE]\YourKey.keystore" "[PATH TO YOUR APK FILE]MyAndroidApp-amz.apk" alias_name"

That should sign your file.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号