I am trying to hook up the youtube api for an android app, i downloaded all the required jars and started to follow the examples at https://developers.google.com/youtube/2.0/developers_guide_java#Retrieving_and_searching_for_videos.
I tried putting in
"YouTubeService service = new YouTubeService(clientId,develober_key)" and "service.setUserCredentials("user@gmail.com", "mypassword");".
When i try to run the app i get a forceclose with the error message "06-24 21:27:24.286:
E/AndroidRuntime(10191): java.lang.NoClassDefFoundError: com.google.gdata.client.youtube.YouTubeService"
Which i see is included in my reference libraries folder. Could there be something wrong with the class, or am i missing something?
All I want to do is show a list of my videos inside of a listview on an android application. Am I missing any requirements? What further steps do I have to take to get the authentication running? Is there a simpler way to do this?