Youtube player API

4 views
Skip to first unread message

Reza Jelveh

unread,
Jul 7, 2012, 6:14:23 PM7/7/12
to 2012-lonh...@googlegroups.com
I've been spending a while playing around with the player sample apps, now I'm stuck at the following issue:

 java.lang.NoClassDefFoundError: com.google.android.youtube.R$string

what's the problem?

Kirill Kounik

unread,
Jul 7, 2012, 6:19:55 PM7/7/12
to 2012-lonh...@googlegroups.com, Ross McIlroy, Anton Hansson
+ross, anton

Jarek Wilkiewicz

unread,
Jul 7, 2012, 6:27:19 PM7/7/12
to 2012-lonh...@googlegroups.com, Ross McIlroy, Anton Hansson
Hi Reza,
looks like your project configuration is incorrect. The library must be marked as a library project in order for the resources to be generated. If you look in yt-london-hackathon-sample-code/youtube-player-api-codelab/YouTube Player API Codelab directory in the tarball we shared, you will find the 1416.pdf codelab instructions presentation. Page 11 has the instructions you need. 
thanks,
Jarek
Screen shot 2012-07-07 at 11.26.14 PM.png

Reza Jelveh

unread,
Jul 7, 2012, 6:43:06 PM7/7/12
to 2012-lonh...@googlegroups.com, Ross McIlroy, Anton Hansson


On Saturday, July 7, 2012 11:27:19 PM UTC+1, Jarek Wilkiewicz wrote:
Hi Reza,
looks like your project configuration is incorrect. The library must be marked as a library project in order for the resources to be generated.

yeah that works thanks
 
Reply all
Reply to author
Forward
0 new messages