[Android] [PATCH] Build: second try to fix NoClassDefFoundError with android support v23
Thomas Guillem
thomas at gllm.fr
Mon Oct 12 14:32:24 CEST 2015
---
vlc-android/proguard.cfg | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/vlc-android/proguard.cfg b/vlc-android/proguard.cfg
index 8d03f6f..8a22fbd 100644
--- a/vlc-android/proguard.cfg
+++ b/vlc-android/proguard.cfg
@@ -1,4 +1,3 @@
--optimizationpasses 5
-dontusemixedcaseclassnames
-dontskipnonpubliclibraryclasses
-dontobfuscate
@@ -22,7 +21,10 @@
# see https://code.google.com/p/android/issues/detail?id=78377#c160
-keepattributes Exceptions,InnerClasses,Signature,Deprecated,SourceFile,LineNumberTable,*Annotation*,EnclosingMethod
-dontoptimize
--keep class !android.support.v7.internal.view.menu.**, ** { *; }
+-keep class android.support.v4.app.** { *; }
+-keep interface android.support.v4.app.** { *; }
+-keep class android.support.v7.app.** { *; }
+-keep interface android.support.v7.app.** { *; }
-keepclasseswithmembernames class * {
native <methods>;
--
2.1.4
More information about the Android
mailing list