Problem on game distribution
Posted: Wed Aug 13, 2014 2:53 pm
Hello guys, it turns that I'm trying to publish my game on google play now, the thing is that I'm having problems building my release apk now, I'm putting the same msg I sent to google support here:
"Hey! hello again,
I'm afraid I'm having a little problem again, I know this is not the correct department so if you could please forward this message I'd be glad.
The thing is that I need to build an apk with "ant release" now (I've been using "ant debug") and I'm having problems with it, I followed the instructions here: http://developer.android.com/tools/publ ... gning.html (on Signing your app manually) but I have a question on this step:
Align the final APK package using zipalign.
$ zipalign -v 4 your_project_name-unaligned.apk your_project_name.apk
I don't see any "unaligned" apk on the bin folder after doing the "ant release" and/or the "jarsigner", the list of files I get is this:
classes/ classes.dex.d
dexedLibs/ love_android_sdl2.ap_
res/ love_android_sdl2.ap_.d
AndroidManifest.xml love_android_sdl2-release-unsigned.apk
AndroidManifest.xml.d love_android_sdl2-release-unsigned.apk.d
build.prop proguard.txt
classes.dex
Could you please tell me on what apk should I focus? there's any tip?
I'm attaching the terminal log which shows what I'm doing, the most strange thing is that I'm able to install the final wyb_lite.apk file, but when I try to open it on my phone it crashes, the "unfortunatelly, the app has stopped" msg.
A little help here please! I work on support for a company too and I recognize your awesome work
Cheers,
Gustavo."
the terminal output is this:
Maybe I'm doing something wrong, I don't know. Any help here would be appreciated, thanks!
"Hey! hello again,
I'm afraid I'm having a little problem again, I know this is not the correct department so if you could please forward this message I'd be glad.
The thing is that I need to build an apk with "ant release" now (I've been using "ant debug") and I'm having problems with it, I followed the instructions here: http://developer.android.com/tools/publ ... gning.html (on Signing your app manually) but I have a question on this step:
Align the final APK package using zipalign.
$ zipalign -v 4 your_project_name-unaligned.apk your_project_name.apk
I don't see any "unaligned" apk on the bin folder after doing the "ant release" and/or the "jarsigner", the list of files I get is this:
classes/ classes.dex.d
dexedLibs/ love_android_sdl2.ap_
res/ love_android_sdl2.ap_.d
AndroidManifest.xml love_android_sdl2-release-unsigned.apk
AndroidManifest.xml.d love_android_sdl2-release-unsigned.apk.d
build.prop proguard.txt
classes.dex
Could you please tell me on what apk should I focus? there's any tip?
I'm attaching the terminal log which shows what I'm doing, the most strange thing is that I'm able to install the final wyb_lite.apk file, but when I try to open it on my phone it crashes, the "unfortunatelly, the app has stopped" msg.
A little help here please! I work on support for a company too and I recognize your awesome work
Cheers,
Gustavo."
the terminal output is this:
Code: Select all
[g@gus bin]$ ~/jdk1.8.0_05/bin/jarsigner -verbose -sigalg SHA1withRSA -digestalg SHA1 -keystore key.keystore love_android_sdl2-release-unsigned.apk tavo
Enter Passphrase for keystore:
adding: META-INF/MANIFEST.MF
adding: META-INF/TAVO.SF
adding: META-INF/TAVO.RSA
signing: assets/game.love
signing: AndroidManifest.xml
signing: resources.arsc
signing: res/drawable-hdpi/ic_launcher.png
signing: res/drawable-mdpi/ic_launcher.png
signing: res/drawable-xhdpi/ic_launcher.png
signing: res/drawable-xxhdpi/ic_launcher.png
signing: classes.dex
signing: org/libsdl/app/old._ja
signing: lib/armeabi/libopenal.so
signing: lib/armeabi/libmpg123.so
signing: lib/armeabi/libgnustl_shared.so
signing: lib/armeabi/liblove.so
signing: lib/armeabi/libdevil.so
signing: lib/armeabi-v7a/libopenal.so
signing: lib/armeabi-v7a/libmpg123.so
signing: lib/armeabi-v7a/libgnustl_shared.so
signing: lib/armeabi-v7a/liblove.so
signing: lib/armeabi-v7a/libdevil.so
jar signed.
Warning:
No -tsa or -tsacert is provided and this jar is not timestamped. Without a timestamp, users may not be able to validate this jar after the signer certificate's expiration date (2041-12-28) or after any future revocation date.
[g@gus bin]$ zipalign -v 4 love_android_sdl2-release-unsigned.apk wyb_lite.apk
Verifying alignment of wyb_lite.apk (4)...
50 META-INF/MANIFEST.MF (OK - compressed)
836 META-INF/TAVO.SF (OK - compressed)
1688 META-INF/TAVO.RSA (OK - compressed)
2844 assets/game.love (OK)
6183492 AndroidManifest.xml (OK - compressed)
6184980 resources.arsc (OK)
6185976 res/drawable-hdpi/ic_launcher.png (OK)
6191680 res/drawable-mdpi/ic_launcher.png (OK)
6194232 res/drawable-xhdpi/ic_launcher.png (OK)
6202516 res/drawable-xxhdpi/ic_launcher.png (OK)
6217297 classes.dex (OK - compressed)
6232427 org/libsdl/app/old._ja (OK - compressed)
6241716 lib/armeabi/libopenal.so (OK - compressed)
6419381 lib/armeabi/libmpg123.so (OK - compressed)
6492731 lib/armeabi/libgnustl_shared.so (OK - compressed)
6739320 lib/armeabi/liblove.so (OK - compressed)
8338541 lib/armeabi/libdevil.so (OK - compressed)
9031482 lib/armeabi-v7a/libopenal.so (OK - compressed)
9200506 lib/armeabi-v7a/libmpg123.so (OK - compressed)
9264232 lib/armeabi-v7a/libgnustl_shared.so (OK - compressed)
9508315 lib/armeabi-v7a/liblove.so (OK - compressed)
11028853 lib/armeabi-v7a/libdevil.so (OK - compressed)
Verification succesful
[g@gus bin]$ adb install wyb_lite.apk
5389 KB/s (11671537 bytes in 2.114s)
pkg: /data/local/tmp/wyb_lite.apk
Success