升级版本之后出现build 某某文件不能delete
dependencies重新依赖就可以了
:Execution failed for task ':app:mergeDebugResources'. > Crunching Cruncher seekbar_thumb_normal.png failed, see logs
Crunching Cruncher ic_launcher.png failed, see logs
aaptOptions.cruncherEnabled = false aaptOptions.useNewCruncher = false关闭png检查
Execution failed for task ':app:transformResourcesWithMergeJavaResForDebug'
Error:Execution failed for task ':app:transformResourcesWithMergeJavaResForDebug'. > com.Android.build.api.transform.TransformException: com.android.builder.packaging.DuplicateFileException: Duplicate files copied in
APK META-INF/maven/com.nineoldandroids/library/pom.xml File1: C:\BaiduShareFolder\TR0100\app\libs\NineOldAndroids-2.4.0.jar File2: C:\Users\Administrator\.gradle\caches\modules-2\files-2.1\com.nineoldandroids\library\2.4.0\e9b63380f3a242dbdbf103a2355ad7e43bad17cb\library-2.4.0.jar
剔除
packagingOptions { exclude 'META-INF/maven/com.nineoldandroids/library/pom.xml' //exclude 'META-INF/maven/com.nineoldandroids/library/pom.properties' }
运行模拟器 桌面不显示应用
minSdkVersion 版本对应模拟器版本