-
报错 This Gradle plugin requires a newer IDE able to request IDE model level 3
解决方法:
(1)升级android studio IDE的版本。
(2)在项目的gradle.properties配置文件中加入:
android.injected.build.model.only.versioned = 3
-
报错 Failure [INSTALL_FAILED_TEST_ONLY: installPackageLI]
解决方法:
在gradle.properties(项目根目录或者gradle全局配置目录 ~/.gradle/)文件中添加:
android.injected.testOnly=false
- 打开一个旧的project,报错
Gradle sync failed: No toolchains found in the NDK toolchains folder for ABI with prefix: mipsel-linux-android
Consult IDE log for more details (Help | Show Log)
解决方案,亲测有效
NDK下载链接