Hii All, I am trying to use the youtube android api jar & the samples from here :
https://developers.google.com/youtube/android/player/ But everytime, i run this app & press the back key continously, before the video is loaded in the activity, I see youtube crashing. It says : "Unfortuantely, Youtube has stopped" with a "Report" & a "Ok". The logs says an *unregisterReceiver() for youtubeservice is missing.* *Is this a known issue? Does anybody know anything about this?* 11-20 15:36:44.023: E/ActivityThread(5674): Service *com.google.android.youtube.api.service.YouTubeService has leaked IntentReceiver com.google.android.apps.youtube.core.utils.ConnectivityReceiver@40e52a38 that was originally registered here. Are you missing a call to unregisterReceiver()?* 11-20 15:36:44.023: E/ActivityThread(5674): android.app.IntentReceiverLeaked: Service com.google.android.youtube.api.service.YouTubeService has leaked IntentReceiver com.google.android.apps.youtube.core.utils.ConnectivityReceiver@40e52a38that was originally registered here. Are you missing a call to unregisterReceiver()? 11-20 15:36:44.023: E/ActivityThread(5674): at com.google.android.apps.youtube.core.utils.ConnectivityReceiver.<init>(SourceFile:53) 11-20 15:36:44.023: E/ActivityThread(5674): at com.google.android.apps.youtube.api.j.<init>(SourceFile:271) 11-20 15:36:44.023: E/ActivityThread(5674): at com.google.android.apps.youtube.api.j.a(SourceFile:110) 11-20 15:36:44.023: E/ActivityThread(5674): at com.google.android.apps.youtube.api.k.run(SourceFile:207) 11-20 15:36:44.064: I/dalvikvm(5674): Could not find method android.media.MediaPlayer.setVideoScalingMode, referenced from method com.google.android.apps.youtube.core.player.as.b 11-20 15:36:44.074: E/AndroidRuntime(5674): at com.google.android.apps.youtube.core.utils.ab.b(SourceFile:69) 11-20 15:36:44.074: E/AndroidRuntime(5674): at com.google.android.apps.youtube.api.ApiPlayer.a(SourceFile:176) 11-20 15:36:44.074: E/AndroidRuntime(5674): at com.google.android.apps.youtube.api.ApiPlayer.a(SourceFile:60) 11-20 15:36:44.074: E/AndroidRuntime(5674): at com.google.android.apps.youtube.api.q.c(SourceFile:680) 11-20 15:36:44.074: E/AndroidRuntime(5674): at com.google.android.apps.youtube.core.player.Director.G(SourceFile:943) 11-20 15:36:44.074: E/AndroidRuntime(5674): at com.google.android.apps.youtube.core.player.Director.E(SourceFile:823) 11-20 15:36:44.074: E/AndroidRuntime(5674): at com.google.android.apps.youtube.core.player.Director.h(SourceFile:761) 11-20 15:36:44.074: E/AndroidRuntime(5674): at com.google.android.apps.youtube.core.player.bi.a(SourceFile:56) 11-20 15:36:44.074: E/AndroidRuntime(5674): at com.google.android.apps.youtube.core.player.Director.a(SourceFile:746) 11-20 15:36:44.074: E/AndroidRuntime(5674): at com.google.android.apps.youtube.core.player.Director.a(SourceFile:90) 11-20 15:36:44.074: E/AndroidRuntime(5674): at com.google.android.apps.youtube.core.player.ae.a(SourceFile:1528) 11-20 15:36:44.074: E/AndroidRuntime(5674): at com.google.android.apps.youtube.core.async.a.d.a(SourceFile:39) 11-20 15:36:44.074: E/AndroidRuntime(5674): at com.google.android.apps.youtube.core.async.a.h.run(SourceFile:346) 11-20 15:36:44.084: E/EmbeddedLogger(263): App crashed! Process: com.google.android.youtube.player 11-20 15:36:44.084: E/EmbeddedLogger(263): App crashed! Package: com.google.android.youtube v5227 (5.2.27) 11-20 15:36:44.084: E/EmbeddedLogger(263): Application Label: YouTube 11-20 15:36:46.276: D/PackageEnabler(5522): action: android.intent.action.PACKAGE_CHANGED, pkg: com.google.android.youtube, disabled: false, replacing: false thanks, Latha. -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en --- You received this message because you are subscribed to the Google Groups "Android Developers" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/groups/opt_out.

