I published a game with the engine using linux mint. it works! Then I tried an apk but I get this message:
[Error] Build platform Android ARM64 is not supported.
How can I configure linux to do an apk and aab build. ?
thanks.
I published a game with the engine using linux mint. it works! Then I tried an apk but I get this message:
[Error] Build platform Android ARM64 is not supported.
How can I configure linux to do an apk and aab build. ?
thanks.
You need to download and install Android Platform Tools (or build engine from Source). On Windows you can use Flax Launcher to do that. On Linux just download the latest package: https://vps2.flaxengine.com/store/builds/Package_X_X_XXXX/Android.zip and extract contents into Source/Platforms/Android inside the Editor install location) - just like for other platforms.
I did what you said and got a new message:
Missing Android SDK. Cannot build for Android platform.
i already have android studio and android platform tools
How do I make Flax find them? are in the environment variable already -
Did you set the ANDROID_HOME environment variable?
Set
ANDROID_HOME
env var to SDK location (typicallyC:\Users\USERNAME\AppData\Local\Android\android-studio\sdk
on Windows)
Yes ! I’m on linux my environment variables are correct. I already used flutter to generate an apk and cordova and etc.
I can make an executable game for linux but when I try android it gives the message:
[Error] Build platform Android ARM64 is not supported.
I did what he @mafiesto4 said and he keeps giving the same message.
thanks for answering.
Right, it looks like there were some missing functionalities for building Android app on Linux (onlu Windows was fully supported).
I implemented Linux/Mac here:
It will be in the next hotfix update for 1.5 release soon (or you can grab daily build from GitHub Actions).
Thanks I’ll try.