Android Studio开发过程中Gradle Sync报错解决方法
linux-dash
A beautiful web dashboard for Linux
项目地址:https://gitcode.com/gh_mirrors/li/linux-dash
·
本文会汇总遇见的报错问题及其解决方案,不断更新
更新于2018年12月3日
(1)
Gradle sync failed: No toolchains found in the NDK toolchains folder for ABI with prefix: mips64el-linux-android
解决方法:
A:设置project srtucture如下


B:手动设置
打开gradle-wrapper.properties修改如下
distributionUrl=https\://services.gradle.org/distributions/gradle-4.6-all.zip
打开build.gradle(Project)修改如下
dependencies {
classpath 'com.android.tools.build:gradle:3.2.1'
// NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files
}
注:我用的是B方法,如果不行可以AB同时操作
(2)
Gradle sync failed: Could not determine the class-path for class org.jetbrains.plugins.gradle.model.ProjectImportAction.
解决方式同(1),更新到最新版本即可
A beautiful web dashboard for Linux
最近提交(Master分支:2 个月前 )
186a802e
added ecosystem file for PM2 4 年前
5def40a3
Add host customization support for the NodeJS version 4 年前
更多推荐

所有评论(0)