Solving the problem that arrch64-linux-android cannot be found when installing AndroidStudio NDK

1. Scene introduction screenshot description:

This is a problem with the Android Studio 2.3.2 version, but the Android Studio 3.4.3 version can be installed normally, and projects with higher versions can run normally. For projects with lower versions, this problem occurs in the environment.

2. Solution: Find the SDK installed by yourself—>ndk bundle—>toolchains and take a look below. There is no such thing as shown in the figure:

3: Go to the official website to download: https://developer.android.google.cn/ndk/downloads/?hl=zh-cn

4: Unzip the download package:

5: Copy the arrch64-linux-android-4.9 file to your own SDK —>ndk bundle—>toolchains directory

6: Recompile the project, both high and low versions can be used.

 

Guess you like

Origin blog.csdn.net/beautifulYuan/article/details/104007655