Error: No toolchains found in the NDK toolchains folder for ABI with prefix: llvm

前端 未结 30 2601
猫巷女王i
猫巷女王i 2020-11-27 09:45

I want to compile an open source android project (Netguard) using gradel (gradlew clean build) But I encountered this Error:

A problem occurred          


        
30条回答
  •  自闭症患者
    2020-11-27 09:57

    Here is the fix.

    When compiling a project in android studio, I occasionally encounter:

    Error: No toolchains found in the NDK toolchains folder for ABI with prefix: arm-linux-androideabi/llvm

    This may be caused by updating related components. The solution is to Android studio ( Tools -> Android -> SDK Manager ) . Select the ndk item and delete it. If the program needs it, you can re-install it. This will ensure that the folder location is correct and there will be no such problem.

提交回复
热议问题