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

来源:互联网 发布:c语言约束条件下最优解 编辑:程序博客网 时间:2024/05/20 05:23

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
原创粉丝点击