Fix building the release APK with gradle.
In release build all warnings are errors, and lint has some obnoxious warnings.
Merge pull request #186 from Sonicadvance1/gradle-fix

Fix building the release APK with gradle.