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

前端 未结 30 2609
猫巷女王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条回答
  •  -上瘾入骨i
    2020-11-27 09:52

    For Android studio 3.2.1+

    Upgrade your Gradle Plugin

    classpath 'com.android.tools.build:gradle:3.2.1'
    

    If you are now getting this error:

    Could not find com.android.tools.build:gradle:3.2.1.
    

    just add google() to your repositories, like this:

    repositories {
        google()
        jcenter()
    }
    

    Happy Coding -:)

提交回复
热议问题