1.No toolchains found in the NDK toolchains folder for ABI with prefix: mips64el-linux-android
分析:根据问题提示,在NDK的toolchains目录下没有找到没有找到以mips64el-linux-android为前缀的库(应用程序二进制接口)
解决方案:在NDK下载对应系统的软件包,解压以后,找到缺失的库mips64el-linux-android(android-ndk-r16b\toolchains\mips64el-linux-android-4.9),复制到本地Android安装目录(eg:D:\Android\Sdk\ndk-bundle\toolchains),rebuild工程。
2.程序包junit.framework不存在
分析:升级Android studio 3.2.1以后出现这个问题,网上很多的解决方案说取消<scope>test</scope>,但在我的项目中没有scope,
但在我的项目中 使用的,androidTestImplementation;
解决方案:将androidTestImplementation 换成 implementation;
3.Execution failed for task ':app:transformClassesWithInstantRunForDebug'.
修改gradle里面编译版本信息后,报了这个错,根据网上的方法,关闭了 studio的 instant run功能,就可以运行了。
Execution failed for task ':app:transformClassesWithInstantRunForDebug'.
> Unexpected inputs: ImmutableJarInput
解决办法连接:https://blog.csdn.net/student9128/article/details/53026990
又找了一篇关于 instant run的文章:https://blog.csdn.net/guolin_blog/article/details/51271369