Eclipse export Signed APK fails with SDK 12 and Compatibility LIbrary?

Dontwarn **CompatCreatorHoneycombMR2 was the answer.

Up vote 2 down vote favorite share g+ share fb share tw.

I'm trying to export a signed obfuscated version of my Android application and I keep getting this error. I recently added the v4 compatibility library and haven't been able to export a signed APK since then. Any help would be appreciated.

Notes: Using SDK 12 and the default proguard. Cfg Here's the console output: Proguard returned with error code 1. See console Warning: android.support.

V4.os. ParcelableCompatCreatorHoneycombMR2: can't find superclass or interface android.os. Parcelable$ClassLoaderCreator Warning: android.support.

V4.os. ParcelableCompatCreatorHoneycombMR2: can't find referenced class android.os. Parcelable$ClassLoaderCreator Warning: android.support.

V4.os. ParcelableCompatCreatorHoneycombMR2: can't find referenced class android.os. Parcelable$ClassLoaderCreator Warning: there were 3 unresolved references to classes or interfaces.

You may need to specify additional library jars (using '-libraryjars'), or perhaps the '-dontskipnonpubliclibraryclasses' option. Java.io. IOException: Please correct the above warnings first.

At proguard.Initializer. Execute(Initializer. Java:308) at proguard.ProGuard.

Initialize(ProGuard. Java:210) at proguard.ProGuard. Execute(ProGuard.

Java:85) at proguard.ProGuard. Main(ProGuard. Java:499) java android proguard link|improve this question asked Jul 26 '11 at 15:07czuares786 50% accept rate.

I figured it out. In addition to: -dontwarn CompatHoneycomb -keep class android.support. V4.

{ *; } I needed to add: -dontwarn **CompatCreatorHoneycombMR2 – czuares Jul 26 '11 at 18:46.

I get the same error while compiling in Android source 2.3 (Gingerbread). I am not exactly trying to export a signed application. I am trying to enhance an app (core app) using the android.support.

V4. Jar file. Have included the jar and set the build path.

Still while I compile it throws me the above error. Tried including " -dontwarn **CompatCreatorHoneycombMR2 " in proguard.flags. Is this where I need to include?

PLease find the logs: Reading library jar /home/m/GingerBread/android/out/target/common/obj/JAVA_LIBRARIES/framework_intermediates/classes. Jar Warning: android.support. V4.os.

ParcelableCompatCreatorHoneycombMR2: can't find superclass or interface android.os. Parcelable$ClassLoaderCreator Warning: android.support. V4.os.

ParcelableCompatCreatorHoneycombMR2: can't find referenced class android.os. Parcelable$ClassLoaderCreator Warning: android.support. V4.os.

ParcelableCompatCreatorHoneycombMR2: can't find referenced class android.os. Parcelable$ClassLoaderCreator Warning: android.support. V4.app.

ActivityCompatHoneycomb: can't find referenced method 'void invalidateOptionsMenu()' in class android.app. Activity Warning: android.support. V4.app.

ActivityCompatHoneycomb: can't find referenced method 'void dump(java.lang. String,java.io. FileDescriptor,java.io.

PrintWriter,java.lang. String)' in class android.app. Activity Reading library jar /home/m/GingerBread/android/out/target/common/obj/JAVA_LIBRARIES/core-junit_intermediates/classes.

Jar Reading library jar /home/m/GingerBread/android/out/target/common/obj/JAVA_LIBRARIES/ext_intermediates/classes. Jar Warning: android.support. V4.view.

MenuCompatHoneycomb: can't find referenced method 'void setShowAsAction(int)' in class android.view. MenuItem Reading library jar /home/m/GingerBread/android/out/target/common/obj/JAVA_LIBRARIES/framework_intermediates/classes. Jar Note: com.android.common.

SharedPreferencesCompat accesses a method 'apply()' dynamically Maybe this is library method 'android.app. ContextImpl$SharedPreferencesImpl$EditorImpl { void apply(); }' Maybe this is library method 'android.content. SharedPreferences$Editor { void apply(); }' Note: the configuration refers to the unknown class 'com.android.email.mail.

MessageRetrievalListener' Note: there were 1 references to unknown classes. You should check your configuration for typos. Note: there were 1 accesses to class members by means of introspection.

You should consider explicitly keeping the mentioned class members (using '-keep' or '-keepclassmembers'). Warning: there were 3 unresolved references to classes or interfaces. You may need to specify additional library jars (using '-libraryjars'), or perhaps the '-dontskipnonpubliclibraryclasses' option.

Warning: there were 3 unresolved references to program class members. Your input classes appear to be inconsistent. You may need to recompile them and try again.

Alternatively, you may have to specify the options '-dontskipnonpubliclibraryclasses' and/or '-dontskipnonpubliclibraryclassmembers'. Error: Please correct the above warnings first. Make: * out/target/common/obj/APPS/Email_intermediates/proguard.classes.

Jar Error 1.

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions