This sets up gradle to build with correct SDK/NDK. It should automatically populate mandatory local.properties and gradle.properties files with: Set $ANDROID_NDK to point to your Android NDK directoryĪdd some useful binaries to your $PATH export PATH=$PATH:$ANDROID_SDK/platform-tools:$ANDROID_SDK/toolsīefore using Android studio to compile the app, you must run compile.sh once to set up gradle build system. ![]() Set $ANDROID_SDK to point to your Android SDK directory Go to the Android NDK page and download the NDK r21 for Linux.Check that the SDK installation is correct.Android Studio is recommended, but not mandatory!.Openjdk-8-jre openjdk-8-jdk flex python wget Patch pkg-config protobuf-compiler ragel subversion unzip git \ Sudo apt-get install automake ant autopoint cmake build-essential libtool-bin \ Precise lists of tools dependencies is listed here.Ħ4-bit users: You must install these 32-bit libs as specified here: #Can.27t_run_aapt_or_adb_on_Linux_64-bit Example on Ubuntu If targeting an Android-x86 device, yasm must be installed too.If any of the above is missing, expect the build to fail at some point.At the time of writing, notably gettext 0.19.3 or later is required. Very recent versions of some of those tools may be required. ![]() unzip and either curl or wget for retreiving sources.the Subversion and Git version control systems.the following other build utilities: Apache Ant (or Ant), cmake, protobuf, ragel,.some GNU build utilities: pkg-config and patch,.and their dependencies: m4 and gawk, mawk or nawk, the GNU autotools: autoconf, libtool, automake and make (a.k.a.The following packages MUST must be installed:.You MUST build on Linux (or OSX if you know what you are doing).5.6 Can't run aapt or adb on Linux 64-bitĪndroid Studio, SDK and NDK installation Requirements.5.5 autoreconf: automake failed with exit status: 1.5.4 autoreconf: automake failed with exit status: 1.3.4.1 Compilation error on Dependencies. ![]() 1 Android Studio, SDK and NDK installation.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |