You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
749 B
749 B
Android command line executable build instructions
-
Install ndk 23.2.8568313 into some directory, usually
ANDROID_SDK/ndk/23.2.8568313
. -
Install cmake 3.19 or newer, e.g. for Unix:
wget -t0 https://github.com/Kitware/CMake/releases/download/v3.28.0/cmake-3.28.0.tar.gz && tar xzvf cmake-3.28.0.tar.gz && cd cmake-3.28.0 && ./configure && make -j$(nproc) && sudo make install
- In the current working directory (the one with Android.mk and Application.mk), run:
# E.g, export ANDROID_NDK_HOME=/opt/android-sdk/ndk/23.2.8568313
export ANDROID_NDK_HOME=your_ndk_directory
./build_all.sh
Then, ../libs
will be populated with build executable files
(that are renamed to *.so
for Gradle to put them into the APK).