本文会汇总遇见的报错问题及其解决方案,不断更新

更新于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),更新到最新版本即可

GitHub 加速计划 / li / linux-dash
10.39 K
1.2 K
下载
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 年前
Logo

旨在为数千万中国开发者提供一个无缝且高效的云端环境,以支持学习、使用和贡献开源项目。

更多推荐