Android(安卓)Studio编译失败:More than one file was found with OS independent path META-INF/proguard/androi
16lz
2021-01-24
报错:
Execution failed for task ‘:app:transformResourcesWithMergeJavaResForDebug’.
More than one file was found with OS independent path ‘META-INF/proguard/androidx-annotations.pro’
解决方案:
在build.gradle文件的android节点下增加packagingOptions,过滤掉提示重复的文件。
packagingOptions { exclude 'META-INF/proguard/androidx-annotations.pro'}
安卓开发入门教程系列汇总
安卓发展历程及前景
安卓发展历程
安卓开发前景展望
初探安卓
安装开发工具
创建第一个安卓工程
开发语言学习
Kotlin语言基础
UI控件学习系列
UI控件_TextView
UI控件_EditText
UI控件_Button
UI控件_ImageView
UI控件_RadioButton
UI控件_CheckBox
UI控件_ProgressBar
关注头条号,第一时间获取最新文章:
更多相关文章
- C语言函数的递归(上)
- Android(安卓)Didn't find class "xxx某个包名xxx" on path: Dex
- android 动态改变图片大小
- Android中设置控件点击效果
- declare-styleable, 自定义属性
- android 定时短信app之时间选择器(一)
- Android控件拖拽功能的实现
- 避免Activity启动时某个控件马上获取焦点(如EditText/Gallery等)
- android 动态改变控件位置和大小