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

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
    }
}
 

猜你喜欢

转载自jameskaron.iteye.com/blog/2298507