All, I have been working on Android for well over a year now, without too much trouble but the latest SDK update has introduced an issue that I cannot make any headway with at all, basically everything works if I do not use proguard (which I would really like to use), but if I do use it then I get this error
java.lang.RuntimeException: Unable to start activity ComponentInfo{com.yoyogames.droidwordsearch/ com.yoyogames.droidwordsearch.RunnerActivity}: android.view.InflateException: Binary XML file line #8: Error inflating class com.yoyogames.droidwordsearch.DemoGLSurfaceView now the DemoGLSurfaceView class is setup as a keep in the proguard config (attached the config below) and I really am scratching my head as to what is going on here, it happens even if I tell it not to optimize the output - if it passes through proguard at all I get this error. Does anyone have any idea why this has suddenly started happening (NOTE: Application has been out for over a year prior to this, and worked until the lastest SDK update). Russell --- proguard.cfg ---- -dontusemixedcaseclassnames -dontskipnonpubliclibraryclasses -dontpreverify -verbose -dump class_files.txt -printseeds seeds.txt -printusage unused.txt -printmapping mapping.txt -libraryjars libs -ignorewarnings -dontoptimize #-optimizations !code/simplification/arithmetic,!code/simplification/ cast,!field/*,!class/merging/* #-optimizationpasses 5 #-allowaccessmodification -keepattributes *Annotation* -keep public class * extends android.app.Activity -keep public class * extends android.app.Application -keep public class * extends android.app.Service -keep public class * extends android.content.BroadcastReceiver -keep public class * extends android.content.ContentProvider -keep public class * extends android.opengl.GLSurfaceView -keep public class * extends android.app.backup.BackupAgent -keep public class * extends android.preference.Preference -keep public class * extends android.support.v4.app.Fragment -keep public class * extends android.app.Fragment -keep public class com.android.vending.licensing.ILicensingService -keep public class com.yoyogames.runner.RunnerActivity -keep public class com.yoyogames.runner.RunnerJNILib {*;} -keep public class com.yoyogames.runner.DemoRenderer -keep public class com.yoyogames.runner.DemoGLSurfaceView {*;} -keep public class com.yoyogames.runner.R {*;} -keep public class com.yoyogames.runner.R$raw {*;} -keep public class com.adwhirl.adapters.AdMobAdapter {*;} -keep public class com.adwhirl.adapters.ZestAdzAdapter {*;} -keep public class com.adwhirl.adapters.MillenialAdapter {*;} -keep public class com.adwhirl.adapters.** {*;} -keep public class com.admob.android.ads.** {*;} -keep public class com.mopub.mobileads.** {*;} -keep public class com.google.ads.** {*;} -keep public class com.millenialmedia.android.** {*;} -keep public class com.zestadz.android.** {*;} -keep public class com.flurry.android.FlurryAgent {*;} -keep class com.openfeint.internal.ui.** {*;} -keep class * extends com.openfeint.internal.ui.WebNav$ActionHandler { <methods>; } -keep public class com.facebook.android.** {*;} -keep public class com.facebook.android.Facebook.** {*;} -keep public class com.verizon.vcast.apps.** {*;} -keep public class * extends android.view.View { public <init>(android.content.Context); public <init>(android.content.Context, android.util.AttributeSet); public <init>(android.content.Context, android.util.AttributeSet, int); public void set*(...); } -keepclasseswithmembernames class * { native <methods>; } -keepclasseswithmembernames class * { public <init>(android.content.Context, android.util.AttributeSet); } -keepclasseswithmembernames class * { public <init>(android.content.Context, android.util.AttributeSet, int); } -keepclassmembers class * extends android.app.Activity { public void *(android.view.View); } -keepclassmembers enum * { public static **[] values(); public static ** valueOf(java.lang.String); } -keepclassmembers class **.R$* { public static <fields>; } -keep class * implements android.os.Parcelable { public static final android.os.Parcelable$Creator *; } # The support library contains references to newer platform versions. # Don't warn about those in case this app is linking against an older # platform version. We know about them, and they are safe. -dontwarn android.support.** -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en