Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

error: Unable to find ar at ndk\25.2.9519653\toolchains\llvm\prebuilt\windows-x86_64\arm-linux-androideabi-ar.exe` #767

Open
historydev opened this issue Jul 21, 2024 · 0 comments

Comments

@historydev
Copy link

Hello!
My system:
OS: win11
Android Studio: 2023.3.1 Patch1
Android SDK:

Android SDK Build-Tools 35:
  34.0.0 Installed
  33.0.1 Installed
  33.0.0 Installed
  32.0.0 Installed
  30.0.3 Installed
  30.0.0 Installed
  29.0.2 Installed
  29.0.0 Installed

NDK (Side by Side):
  27.0.12077973 Installed
  25.2.9519653 Installed
  25.1.8937393 Installed
  25.0.8775105 Installed

Android SDK Command-line Tools (latest):
  13.0 Installed
  
CMake:
  3.22.1 Installed
  
Other:
  Android Emulator: 34.2.16 Installed
  Android Emulator Hypervisor: 2.2.0 Installed
  Android Sdk Platform-Tools: 35.0.1 Installed
  Intel x86 Emulator Accelerator: 7.6.5 Installed

I tried manual assembly, all without success, tried 4 ndk (25.0,25.1,25.2, 27), constant error:

PS G:\Desktop\macroquad_learn> cargo quad-apk build --release
error: Unable to find ar at `D:\AndroidSDK\ndk\25.2.9519653\toolchains\llvm\prebuilt\windows-x86_64\bin\arm-linux-androideabi-ar.exe`

Everything I read says that this file should be created by ndk arm-linux-androideabi-ar.exe and in theory I need to look for the ndk version where it is.

I have Android Studio, Sdk, Ndk, build-tools and android29-30 installed.
I also had JDK 17, I tried with jdk 8 and sdkmanager cmd, instead of Android Studio - but without success.

All environment variables are set:

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant