Blog

Buildbox 3D Beta 3049 Android Export FIX

Hi guys, to anyone having problem running games on Android with the latest Buildbox 3D beta build 3049, I’ve found where the problem lies, at least in my case.
Looking for a solution I realized that the generated app now takes much less space on the device than with previous build, about 20 Mb less so I suspected something was missing.
I looked for differences in the project folders generated from Buildbox when you export to Android and realized that in exports generated with the latest Buildbox build (3049) there is a missing library named libplayer.so.
I checked an export created like a month ago with the previous Buildbox build and this file existed at various locations, the one that matters is at:
<PROJECT FOLDER>\android\app\src\main\jniLibs\armeabi-v7a

Here’s the fix

I copied the folder jniLibs\armeabi-v7a from the old project folder
<OLD PROJECT FOLDER>\android\app\src\main\ and pasted it into the new project folder at <NEW PROJECT FOLDER>\android\app\src\main\ then ran the app from Android Studio and it finally worked but…

But…

… it was very unstable, I’ve tested it with the game I’m working on, Space Runner 2600, and with the default Twisted Road template and the result is the same, the game only run for a few seconds before crashing.
This all happened using Android Studio 3.3.2 and 3.4 (the latest one) with Buildbox build 3049.
But then I’ve found a different version of libplayer.so which works way better.
I’ve got two versions on my PC coming from previous builds:
1) 17734 Kb, should be from Buildbox build 3044, this one is very slow and crashes after a few seconds.
2) 18038 Kb, should be from Buildbox build 2429, looks faster and way more stable, no crashes at the moment but something is missing, like text labels, I guess that’s because such components were added in later versions.
It’s not the best solution and for every build you have to copy the folder into your new build but at least it works and allows me to test the game on real smartphones.
Now it would be just great to have an updated libplayer.so file for build 3049 from the developers while we wait for a better fix.

#buildbox #android #gamedev #indie #indiegames #indiedev #indiegamedev

Leave a Comment

Your email address will not be published. Required fields are marked *

Related Posts