关注 安卓007 ,免费获取全套安卓开发学习资料
报错:
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