Gradle build is stricter that Eclipse ADT (e.g. Found item _ more than one time)

AbrahamW

关注

阅读 126

2022-08-04


FAILURE:Build failed with an exception.*What went wrong:Execution failed for task ':FunshionAndroid:mergeDebugResources'.> D:\Workspaces\Proj\AndroidApp\res\values-hdpi\dimens.xml:Error:Found item Dimension/tvname_textsize more than one time


在build.gradle里添加

android {
lintOptions {
checkReleaseBuilds false
// Or, if you prefer, you can continue to check for errors in release builds,
// but continue the build even when errors are found:
abortOnError false
}
}


精彩评论(0)

0 0 举报