Error:Execution failed for task ':app:processDebugManifest'. > Manifest merger failed with multiple

Android studio 报错Error:Execution failed for task ':app:processDebugManifest'.
> Manifest merger failed with multiple errors, see logs

原因:用了
compile 'org.hybridsquad.android.photocropper:library:2.1.0'
需要在项目Manifest中的<application中加tools:replace="android:icon,android:name,
在manifest根标签上加入xmlns:tools="http://schemas.android.com/tools"
然后就报了这个错误
随后百度查各种都是说加上面2句话,不过我已经添加了,最后没想到是添加这2句话必须要
使用Appaplication(在manifest中加android:name=".AppLaunch")(就是public class AppLaunch extends Application
写下来告诉自己粘贴代码的后果

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值