Enable more lint checks

This commit is contained in:
Leith Bade
2014-12-22 16:18:38 +13:00
parent 0a031e1ab0
commit 610c112d0a
4 changed files with 10 additions and 3 deletions

View File

@@ -22,7 +22,10 @@ android {
exclude 'META-INF/NOTICE.txt'
}
lintOptions {
checkAllWarnings true
disable 'UnusedAttribute'
}
buildTypes {
release {

View File

@@ -9,7 +9,8 @@
android:allowBackup="false"
android:icon="@drawable/icon_burned"
android:label="@string/app_name"
android:theme="@style/AppTheme">
android:theme="@style/AppTheme"
android:supportsRtl="true">
<activity
android:name="com.mapbox.mapboxgl.app.MainActivity"
android:label="@string/app_name"

View File

@@ -1,5 +1,4 @@
<?xml version="1.0" encoding="utf-8"?>
<com.mapbox.mapboxgl.lib.MapView xmlns:android="http://schemas.android.com/apk/res/android" xmlns:app="http://schemas.android.com/apk/res-auto"
android:id="@+id/map"
android:layout_width="match_parent"
android:layout_height="match_parent" />

View File

@@ -16,6 +16,10 @@ android {
targetCompatibility JavaVersion.VERSION_1_7
}
lintOptions {
checkAllWarnings true
}
buildTypes {
debug {
jniDebuggable true