android-maven-: Disable debug build for apk
I am trying to upload an application to the Google Play store. I am
building the .apk and signing it using Maven. I have used
maven-jarsigner-plugin to sign the .apk file. I am using the key that I
created using Eclipse wizard for signing another Android app. I zipalign
the .apk file using the following command: zipalign [-f] [-v] infile.apk
outfile.apk
When I try to upload the application to the Play store, I get the error:
You uploaded an APK that was signed in debug mode. You need to sign your
APK in release mode.
Can anyone please tell me how to sign the apk in release mode?
No comments:
Post a Comment