Fix all lint errors

This commit is contained in:
Leith Bade
2015-02-26 11:32:35 -08:00
parent a5430e8730
commit aa32b41b59
4 changed files with 7 additions and 6 deletions

View File

@@ -55,7 +55,7 @@ android {
lintOptions {
checkAllWarnings true
warningsAsErrors true
disable 'IconMissingDensityFolder'
disable 'InvalidPackage'
}
buildTypes {

View File

@@ -57,9 +57,9 @@ android {
lintOptions {
checkAllWarnings true
disable 'UnusedAttribute'
abortOnError false
//disable 'IconDensities'
warningsAsErrors true
disable 'IconDensities'
disable 'InvalidPackage'
}
buildTypes {

View File

@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
<manifest xmlns:android="http://schemas.android.com/apk/res/android" xmlns:tools="http://schemas.android.com/tools"
package="com.mapbox.mapboxgl.testapp">
<uses-permission android:name="android.permission.ACCESS_FINE_LOCATION" />
@@ -10,6 +10,7 @@
android:icon="@drawable/icon_burned"
android:label="@string/app_name"
android:theme="@style/AppTheme"
tools:ignore="UnusedAttribute"
android:supportsRtl="true">
<activity
android:name="com.mapbox.mapboxgl.testapp.MainActivity"

View File

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