简体   繁体   中英

Installing a specific toolchain in android NDK

I am trying to build a project that requires arm-linux-androideabi-4.8

How do I specifically install arm-linux-androideabi-4.8 alone?

You can't install a subset of the NDK. It's only available as a monolithic package.

download android-ndk-r14b-linux-x86_64.zip to download type this

cd / 
wget https://dl.google.com/android/repository/android-ndk-r14b-linux-x86_64.zip

to unzip

unzip android-ndk-r14b-linux-x86_64.zip

to build

cd /android-ndk-r14b
cd build/tools
export TOOLCHAIN=/android-toolchain
./make_standalone_toolchain.py --arch arm --api 19 --install-dir /android-toolchain

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM