Discussion Forums  >  Plugins, Customizing, Source Code

Replies: 15    Views: 54

Alex@TM
Apple Fan
Profile
Posts: 956
Reg: Dec 20, 2011
London, UK
10,560
07/11/13 02:55 PM (12 years ago)

Youtube for Android Plugin Emulator Issue

Hi all, I have installed the youtube player plugin for android. When I hit play video, i get a warning, that the app 'has stopped unexpectedly. Please try again.' Whilst this warning sits there, the background image slides away to a black screen. Is this working but not showing in the emulator does anyone know please? Many thanks.
 
Alex@TM
Apple Fan
Profile
Posts: 956
Reg: Dec 20, 2011
London, UK
10,560
like
07/11/13 03:08 PM (12 years ago)
Here is the log: 07-11 23:05:57.206: D/AndroidRuntime(335): Shutting down VM 07-11 23:05:57.206: W/dalvikvm(335): threadid=1: thread exiting with uncaught exception (group=0x4001d800) 07-11 23:05:57.213: E/AndroidRuntime(335): FATAL EXCEPTION: main 07-11 23:05:57.213: E/AndroidRuntime(335): java.lang.NoClassDefFoundError: com.keyes.youtube.OpenYouTubePlayerActivity 07-11 23:05:57.213: E/AndroidRuntime(335): at com.scootfest.Sp_youtube_android$1.onClick(Sp_youtube_android.java:143)
 
mysps
Code is Art
Profile
Posts: 2082
Reg: May 14, 2011
Palma
33,320
like
07/11/13 04:33 PM (12 years ago)
Did you add the jar file that is necessary?
 
Alex@TM
Apple Fan
Profile
Posts: 956
Reg: Dec 20, 2011
London, UK
10,560
like
07/11/13 04:39 PM (12 years ago)
Yup :)
 
mysps
Code is Art
Profile
Posts: 2082
Reg: May 14, 2011
Palma
33,320
like
07/11/13 05:09 PM (12 years ago)
Did you add it to the java build path. Not only import the jar into the project but reference it as well. Properties > java build path > import and reference it?
 
Alex@TM
Apple Fan
Profile
Posts: 956
Reg: Dec 20, 2011
London, UK
10,560
like
07/12/13 12:33 AM (12 years ago)
I added it to the hold path, yes
 
Suvinay pawa
buzztouch Evangelist
Profile
Posts: 599
Reg: Aug 01, 2012
location unknow...
9,890
like
07/12/13 10:44 AM (12 years ago)
Did you try it on an actual device?Sometimes there is a problem with emulator..and please check the manifest..usually the reason for this is that you might not have added the permission to the manifest..
 
Alex@TM
Apple Fan
Profile
Posts: 956
Reg: Dec 20, 2011
London, UK
10,560
like
07/12/13 10:55 AM (12 years ago)
I'll check the permissions, I think it's added correctly. I don't have an android device, is it possible for people to test in a device for me? All the best
 
Suvinay pawa
buzztouch Evangelist
Profile
Posts: 599
Reg: Aug 01, 2012
location unknow...
9,890
like
07/12/13 10:56 AM (12 years ago)
Yup gimme the apk and i will do it..
 
Alex@TM
Apple Fan
Profile
Posts: 956
Reg: Dec 20, 2011
London, UK
10,560
like
07/12/13 11:02 AM (12 years ago)
How do I do that?! Apologies, i'm very, very new to android. And it is very incomplete too. Very much appreciated.
 
Suvinay pawa
buzztouch Evangelist
Profile
Posts: 599
Reg: Aug 01, 2012
location unknow...
9,890
like
07/12/13 11:13 AM (12 years ago)
Hi..since your project has no errors ..just right click on bt_activity_root and click on export..enter necessar details and create key and apks ready..just follow the doc which comes in your download
 
Alex@TM
Apple Fan
Profile
Posts: 956
Reg: Dec 20, 2011
London, UK
10,560
like
07/12/13 11:16 AM (12 years ago)
OK, thanks will do.
 
Suvinay pawa
buzztouch Evangelist
Profile
Posts: 599
Reg: Aug 01, 2012
location unknow...
9,890
like
07/12/13 11:18 AM (12 years ago)
Hye,If you cant do it just tell me i will do a quick team viewer session to help you out..
 
Alex@TM
Apple Fan
Profile
Posts: 956
Reg: Dec 20, 2011
London, UK
10,560
like
07/12/13 11:22 AM (12 years ago)
That would be great if you could please?
 
Suvinay pawa
buzztouch Evangelist
Profile
Posts: 599
Reg: Aug 01, 2012
location unknow...
9,890
like
07/12/13 11:27 AM (12 years ago)
Ok..Ya sure..Just open up the eclipse and import project again
 
Alex@TM
Apple Fan
Profile
Posts: 956
Reg: Dec 20, 2011
London, UK
10,560
like
07/12/13 11:31 AM (12 years ago)
Its all there :)
 

Login + Screen Name Required to Post

pointerLogin to participate so you can start earning points. Once you're logged in (and have a screen name entered in your profile), you can subscribe to topics, follow users, and start learning how to make apps like the pros.