I’ve been struggling with this problem for some time now. I’ve been trying to lower APK file size using -compressed -pak commands in cooker commandline. It is exposed in Project Launcher, which is why I used this method. My APK builded from standard packaging method File>Package Project>Android>Android_ETC1 is properly recognized by google play but it’s size is too big (64mb). Now, using -compressed -pak allows me to shrink file down to 40MB which is under 50 mb required by Google Play. Unfortunately file is set as debuggable, and even signing it manually after packaging (using jarsigner) doesn’t solve issue. Build and cooker are set to shipping. I’m attaching screenshot from my Project Launcher and log.
Thanks again for bringing this to the AnswerHub, and most especially for attaching the logs. I’m going to see if we can get more eyes on your issue. In the meantime, when you tried manually signing your apk using jarsigner, did you get any sort of error? Something like “invalid entry compressed size”? If you did, please have a look at this thread, which may help. If you didn’t, no worries, we’re still working on it.
At first I did have problems with invalid entry size but deleting META-INF folder from compiled package solved this issue. I’m using this method to resign package. Will try now with lower java version.
Does it mean Project Launcher reads these values from somwhere else than AndroidManifest.xml? Also I’m on 4.7.2, but this particular problem persists from 4.4.
Unfortunately, we currently don’t have a way to specify a game is meant for distribution via the Project Launcher. However, you can do this from a command line with the following command (tailored from your log):
How i generate a file to upload in web browser with this method? I tried, but just opened the web browser to test it.
I don´t get it.
I´ve configured the package way to build. But when i hit the “Launcher” button in ProjectLauncher window, looks like my configuration i made don´t work. Can you explain how does it work and how i do to launch properly, creating an APK file.
Thanks