Android常见问题集锦

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

  • 1
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值