1. Download our Official Android App: Forums for Android!

Apps Android Facebook SDK - java.lang.NoClassDefDefFoundError

Discussion in 'Android Development' started by Tibanu, Jul 12, 2010.

  1. Tibanu

    Tibanu Lurker
    Thread Starter
    Rank:
    None
    Points:
    5
    Posts:
    1
    Joined:
    Jul 12, 2010

    Jul 12, 2010
    1
    0
    5
    Hello,

    I am using official android facebook SDK (downloaded from here: http://github.com/facebook/facebook-android-sdk).

    When the program reaches the line Facebook facebook = new Facebook(); i get "java.lang.NoClassDefFoundError: com.facebook.android.Facebook".

    I created a facebook project from sources downloaded and in my project I added the facebook project in buildpath (in Eclipse right click on my project -> Properties -> Java build path -> Projects -> add projects -> I choosed the facebook project). The project builds ok, I have no errors.

    Any suggestions? Thank you all.
     

    Advertisement

Share This Page

Loading...