skip to Main Content

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.

2

Answers


  1. Chosen as BEST ANSWER

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

    Thank you.


  2. 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

    Login or Signup to reply.
Please signup or login to give your own answer.
Back To Top
Search