i’ve many problem to create apk in order to publish on play store.
i’ve follow many tutorial in order to sign app and upload it on developer console.
But every time i’ve some problem.
With that command :
npm run build-cordova-android-prod
i’ve an app-debug.apk and if i open it on my device works like a charm, but i cannot upload it on play store. So i try to use keytool and zipalign but nothing i’ve always many problem.
Do you have some tips or a tutorial to follow to publish that app on play store?
i’ve signed with keytool,jarsigner and zipalign but now i’ve that error when i try to upload on developer console :
so how can i disable debug? i’ve put on every AndroidManifest.xml android:debuggable set to false, but i’ve always that error
in your main folder
npm run build-cordova-android-prod – -- release
after build you must firm your app with this comand line:
keytool -genkey -v -keystore gdiforumskey.keystore -alias gdiforums -keyalg RSA -keysize 2048 -validity 10000
jarsigner in your release folder:
jarsigner --verbose -sigalg SHA1withRSA -digestalg SHA1 -keystore namekey.keystore app-release-unsigned.apk namespace
and zipaling to clean the last 10 errors
zipalign -v 4 app-release-unsigned.apk com.yourname.yourpath-v1.0.1.apk