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

前端 未结 30 2691
猫巷女王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

    Find your own local android-SDK, if you download the relevant SDK of ndk, there will be a folder called "ndk-bundle"

    There is a folder called "toolchains" inside.

    We noticed that there are no mips64el related files inside.

    The solution is as follows:

    Click here to download the NDK package separately through the browser. After unzipping, open the "toolchains" folder, compare it with the android-sdk->ndk-bundle->toolchains folder, find the missing folder, copy the past three. Recompile, the problem is solved.

提交回复
热议问题