Hello,
This was a problem in 4.2.4. You have to use 4.2.5, and then this
problem will go away.
(For reference, the classes in the zip file aren't used; only jars are
used.)
Atsushi Eno
matthieugd wrote:
Hello,
In my app I referenced the Facebook SDK in a JAR bindings Project. When the
device has the Facebook app installed there's no problem. If not the WebView
dialog crash the app with this exception:
java.lang.NoClassDefFoundError: com.facebook.android.R$drawable
09-04 20:49:38.090 I/MonoDroid( 631): at
com.facebook.android.FbDialog.createCrossImage(FbDialog.java:106)
09-04 20:49:38.090 I/MonoDroid( 631): at
com.facebook.android.FbDialog.onCreate(FbDialog.java:81)
09-04 20:49:38.090 I/MonoDroid( 631): at
android.app.Dialog.dispatchOnCreate(Dialog.java:307)
09-04 20:49:38.090 I/MonoDroid( 631): at
android.app.Dialog.show(Dialog.java:225)
09-04 20:49:38.090 I/MonoDroid( 631): at
com.facebook.android.Facebook.dialog(Facebook.java:780)
09-04 20:49:38.090 I/MonoDroid( 631): at
com.facebook.android.Facebook.startDialogAuth(Facebook.java:309)
I have found this question on SO
http://stackoverflow.com/questions/11423304/java-lang-nosuchfielderror-when-using-mono-for-android-and-java-binding
I can't too modify the name of my package to have the correct R$ class
generated. I was wondering if there's a more elegant solution to reference
the Facebook SDK other than modify the code source?
Thanks for the help,
Matthieu
--
View this message in context:
http://mono-for-android.1047100.n5.nabble.com/Facebook-SDK-tp5711693.html
Sent from the Mono for Android mailing list archive at Nabble.com.
_______________________________________________
Monodroid mailing list
[email protected]
UNSUBSCRIBE INFORMATION:
http://lists.ximian.com/mailman/listinfo/monodroid
_______________________________________________
Monodroid mailing list
[email protected]
UNSUBSCRIBE INFORMATION:
http://lists.ximian.com/mailman/listinfo/monodroid