Can't release final signed apk
Monkey Targets Forums/Android/Can't release final signed apk
| ||
Hi, When i compile my game to prepare it for Playstore, i get a "MonkeyGame-release-unsigned.apk" file in the bin folder, but the compiler return an error. It tells that "MonkeyGame-release.apk" is missing. Can you help me ? |
| ||
We'd need more info about what you've done thus far. All I do is place my keystore file my main folder (I use the same keystore for all projects), add the below code to my source (configured appropriately) and compile (release mode). This should help http://www.monkeycoder.co.nz/Community/posts.php?topic=5787&page=1 #ANDROID_SCREEN_ORIENTATION="landscape" #ANDROID_APP_LABEL="my game title" #ANDROID_APP_PACKAGE="com.me.mygame" #ANDROID_VERSION_CODE="11" #ANDROID_VERSION_NAME="1.1" #ANDROID_KEY_STORE="../../my-release-key.keystore" #ANDROID_KEY_ALIAS="#####" #ANDROID_KEY_STORE_PASSWORD="#######" #ANDROID_KEY_ALIAS_PASSWORD="#######" #ANDROID_SIGN_APP=True |
| ||
Thanks. This is what i've done. My keystore was generated with JDK 6, and when i compile with Monkey, it call JDK 7. Can this have an incidence ? And about the main folder, it is the folder where my source code is, isn't it ? EDIT: This is the error message : -release-nosign: [echo] No key.store and key.alias properties found in build.properties. [echo] Please sign D:\Documents\Mes prog's\Monkey Prog's\Luftballon\Luftballon.build\android\bin\MonkeyGame-release-unsigned.apk manually [echo] and run zipalign from the Android SDK tools. |
| ||
If you speak german ("D:\...\Lufballon\..."?)... there is a german tutorial about signing the app for GooglePlay: http://www.blitzforum.de/forum/viewtopic.php?t=39374 |
| ||
No, i'm French. ("Luftballon" is inspired of the song "99 luftballons") EDIT: Thanks for the german tutorial, by just applying the commands, i've done my signed apk. :-) |