attempt to resolve some samsung issue, no luck

This commit is contained in:
Jarrad Hope 2015-05-03 11:37:30 +07:00
parent ed43eb9a0a
commit 24436bb77e
3 changed files with 21 additions and 2 deletions

View File

@ -35,6 +35,21 @@ android {
dexOptions {
javaMaxHeapSize "4g"
}
// TODO remove this
lintOptions {
abortOnError false
}
buildTypes {
debug {
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
}
release {
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
}
}
}
dependencies {

View File

@ -15,4 +15,6 @@
#-keepclassmembers class fqcn.of.javascript.interface.for.webview {
# public *;
#}
-dontobfuscate
-dontobfuscate
-keep class !android.support.v7.internal.view.menu.MenuBuilder, !android.support.v7.internal.view.menu.SubMenuBuilder, android.support.v7.** { *; }
-keep interface android.support.v7.** { *; }

4
proguard-rules.pro vendored
View File

@ -15,4 +15,6 @@
#-keepclassmembers class fqcn.of.javascript.interface.for.webview {
# public *;
#}
-dontobfuscate
-dontobfuscate
-keep class !android.support.v7.internal.view.menu.MenuBuilder, !android.support.v7.internal.view.menu.SubMenuBuilder, android.support.v7.** { *; }
-keep interface android.support.v7.** { *; }