From adaf095229fda999857343228afd3898cebcf418 Mon Sep 17 00:00:00 2001 From: Ryan Houdek Date: Mon, 17 Mar 2014 16:28:31 -0500 Subject: [PATCH] Fix building the release APK with gradle. In release build all warnings are errors, and lint has some obnoxious warnings. --- Source/Android/build.gradle | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/Source/Android/build.gradle b/Source/Android/build.gradle index 9c2fc82e8e..df7aafc266 100644 --- a/Source/Android/build.gradle +++ b/Source/Android/build.gradle @@ -29,6 +29,12 @@ android { compileTask -> compileTask.dependsOn(nativeLibsToJar) } + lintOptions { + // This is important as it will run lint but not abort on error + // Lint has some overly obnoxious "errors" that should really be warnings + abortOnError false + } + sourceSets { main { manifest.srcFile 'AndroidManifest.xml'