Can't make working APK file with last ZGE

Found a bug? Post information about it here so we can fix it!

Moderator: Moderators

Post Reply
User avatar
Ats
Posts: 279
Joined: Fri Sep 28, 2012 10:05 am
Contact:

Can't make working APK file with last ZGE

Post by Ats » Sun Jun 07, 2020 7:02 pm

Hi. Since I got back home after 6 months of work abroad, I was happy to compile all the work I did on Omeganaut during this winter. But surprise: the compilated APK file isn't working on the phone...

After a lot of tries, the problem seems to be coming from ZGE itself. I'm able to compile my last project with an old ZGE from last summer I had on another computer. But I can't make a working apk with the latest ZGE.
It's the same project and very same files in the Android folder. Only the ZGameEditor.exe and ZzDC.map files have changed.

The apk is installing fine, but hangs at launch. What could cause that?

User avatar
Ats
Posts: 279
Joined: Fri Sep 28, 2012 10:05 am
Contact:

Re: Can't make working APK file with last ZGE

Post by Ats » Mon Jun 08, 2020 12:19 am

Oh, I just remembered, maybe I should compile libzgeandroid.so with the latest sourcecode of ZGE?
I'll try that tomorrow :wink:

User avatar
VilleK
Site Admin
Posts: 2079
Joined: Mon Jan 15, 2007 4:50 pm
Location: Stockholm, Sweden
Contact:

Re: Can't make working APK file with last ZGE

Post by VilleK » Mon Jun 08, 2020 6:58 am

Hi, indeed I think the libandroid needs to be rebuilt. Please try that and let me know how it goes :)

User avatar
Ats
Posts: 279
Joined: Fri Sep 28, 2012 10:05 am
Contact:

Re: Can't make working APK file with last ZGE

Post by Ats » Mon Jun 08, 2020 8:32 am

And... it works :)
Here's the working lib made from latest ZGE sourcecode.

By the way, should I fork your github to upload my android template folder for android 28 with all the new libs and latest manifest fancy stuff?
I already asked you long ago, but it would be nice if one could add folders in Android/Template that should automatically be visible by ZGameEditor instead of replacing Base or 4.1 folders. Currently, it's so easy to accidentally replace an AndroidManifest.xml file...
Attachments
libzgeandroid.zip
(254.08 KiB) Downloaded 68 times

Post Reply