Unparceling Bundle that contains a FriendRequestMakeRef crashes
I am using Android SDK version 3.16 I can't reproduce it, but I see this crash from many users: java.lang.ClassNotFoundException: Didn't find class
"com.facebook.friends.constants.FriendRequestMakeRef" on path: DexPathList[[zip file "/data/app/net.slideshare.mobile-2.apk"],nativeLibraryDirectories=[/data/app-lib/net.slideshare.mobile-2, /vendor/lib, /system/lib]] at dalvik.system.BaseDexClassLoader.findClass(BaseDexClassLoader.java:67) at java.lang.ClassLoader.loadClass(ClassLoader.java:497) at java.lang.ClassLoader.loadClass(ClassLoader.java:457) at java.lang.Class.classForName(Native Method) at java.lang.Class.forName(Class.java:251) at java.io.ObjectInputStream.resolveClass(ObjectInputStream.java:2262) at java.io.ObjectInputStream.readEnumDescInternal(ObjectInputStream.java:1553) at java.io.ObjectInputStream.readEnumDesc(ObjectInputStream.java:1534) at java.io.ObjectInputStream.readEnum(ObjectInputStream.java:1579) at java.io.ObjectInputStream.readNonPrimitiveContent(ObjectInputStream.java:768) at java.io.ObjectInputStream.readObject(ObjectInputStream.java:1981) at java.io.ObjectInputStream.readObject(ObjectInputStream.java:1938) at android.os.Parcel.readSerializable(Parcel.java:2213) at android.os.Parcel.readValue(Parcel.java:2064) at android.os.Parcel.readArrayMapInternal(Parcel.java:2314) at android.os.Bundle.unparcel(Bundle.java:249) at android.os.Bundle.containsKey(Bundle.java:299) at android.content.Intent.hasExtra(Intent.java:4964)
My guess is that some people that have an older version of the Facebook app are sending an intent to my App with an object of type FriendRequestMakeRef, and that class doesn't exist in my version of the SDK?
same issue i 3.17.
We believe that this is a bug in the Facebook app, and not the SDK. Newer version of the Facebook app should be fixed, but older versions can still exhibit this issue.