I am trying to modify an app (core app) using the android provided library: android.support.v4.jar. Have included the jar and set the build path. Still while I compile it throws me the above error. Seems to be like the app uses proguard to obfuscate and It actually excludes some of the library classes while building. Please help.
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 -- 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