Hi,
This game was created earlier with Defold as a 32-bit game. Now, I want to make a 32/64 bit apk, but ran into problem:
Defold Editor 2 Linux (1.2.154),
In Project/build, the game ran well on Linux screen.
In Project/bundle/Android Application selected both 32 and 64 bit. A “generated.appmanifest” was put in a project folder, and indicated it in the Native-extension App Manifest section in the game.project.
The apk was generated, but when I copied the apk on a 64-bit Android mobile, it crashed upon clicking. What could be the problem? Thanks
This was supposed to have been fixed with the 1.2.154 release. Can you please open the editor about window and share a screenshot? Can you also try to bundle an empty project?
screen shot attached. In my game, with/without generated.appmanifest, it crashed.
i did create an empty project, selected 32/64 bit and project/bundle/android application, made apk, and copied the apk to my 64-bit android phone and ran it without problem. generated.appmanifest was not even used.
Hi Guys, I found a way to make it work. I need to re-build my game in 1.2.154 manually.
I tested one collection with 2 objects. 32/64-bit apk worked on a 64-bit android phone without crashing. I will continue re-building my game this way. It will take a few days, but it works.
re-build manually: look at what I did in 2017 Defold’s (linux) project file, and re-create it in a new Defold release.
Let me explain the problems:
2017 -> 1.2.152 (Linux): I created this game using Defold (Linux) in 2017. When I tried to import the 2017 game into 1.2.152, it failed. I understand it. Defold in 2017 was very different then it’s in 2019. My workaround was to re-build my game manually in 1.2.152.
1.2.152 -> 1.2.154 (Linux): Now I needed to do the 64-bit. I was able to read the 1.2.152 project file in 1.2.154. The game ran properly on Linux screen. A 32/64-bit apk was created with project/bundle/android application. But, when I tested the apk on a 64-bit android phone, it crashed.
I suggest you select an existing Defold example with sufficient complexities, use a 2017 version Defold-Linux to create a project file. Then try to read that project file in 1.2.152(Linux). Maybe you will see the same problem. Once you fix that problem. You could try in 1.2.154(Linux) to read in the project file you created in 1.2.152. Then create a 32/64-bit apk with /project/bundle/android application, then test that apk on a 64-bit android phone, maybe it will crash like what happened to me.