xamarin.android - Mono for android : using Facebook binding -


i'm trying use facebook sdk api binding (https://github.com/xamarin/monodroid-samples/tree/master/facebook)

the bindings works if set package name in manifest com.facebook.android.

if don't this, exception when launch login dialog (noclassdeffounderror: com.facebook.android.r$drawable). dialog tries load resource com.facebook.android package.

is there way workaround this? application cannot use com.facebook.android package name, because must unique.

i had same issue, resolved bit differently. after importing project, go project properties > android > , scroll down "library" package "com.facebook.android" should listed there, select , click on "apply" , "ok". build r.java facebook api, api generates dialog r.java required.

if dont see package said above, project added external jar. list under "referenced libraries" in explorer.

just import project , follow mentioned above.


Comments

Popular posts from this blog

java - Play! framework 2.0: How to display multiple image? -

gmail - Is there any documentation for read-only access to the Google Contacts API? -

php - Controller/JToolBar not working in Joomla 2.5 -