Required Arch packages for Android


#1

What is the list of required packages from the community and AUR packages of Arch to get an Android build working?

pacman -Qsq android on my machine returns

android-ndk
android-platform-19
android-platform-26
android-sdk
android-sdk-build-tools
android-sdk-build-tools-24.0.1
android-sdk-platform-tools
android-tools

but this is probably incorrect (and includes redundant unnecessary packages), because the build is not working. Could an Arch user here with a working Android environment with lime/OpenFL post their list of packages?


#2

I use Android SDK/NDK from ZIPs on Android, and haven’t tried installing them from a package manager. What NDK version do you have? Version 16 deprecated GCC, but our C++ toolchain hasn’t been updated to clang on Android yet.


#3

That was it! Installed android-ndk-13b, and everything works now.

I will try removing redundant packages later and then update the package list.