Home > Mobile >  arm-linux-androideabi-ar: Command not found in NDK
arm-linux-androideabi-ar: Command not found in NDK

Time:07-26

Downloaded NDK file from this (https://developer.android.com/ndk/downloads) link for Linux computer. arm-linux-androideabi-ar file is not available in downloaded NDK file.

Getting below compilation application in my NDK application.

android-ndk-r25/toolchains/llvm/prebuilt/linux-x86_64/bin/arm-linux-androideabi-ar: Command not found

I need to do anything after downloading NDK file.

Can you please help me.

Thanks in advance.

CodePudding user response:

GNU ar was deprecated in r22 and removed in r23. Always read changelogs when you upgrade. They tell you this sort of thing.

You should migrate to llvm-ar. See https://developer.android.com/ndk/guides/other_build_systems

CodePudding user response:

Issue is resolved. I have downloaded "android-ndk-r21e" & in this version "arm-linux-androideabi-ar" file is available.

Thank you.

  • Related