feelfreelinux / WykopMobilny

Unofficial wykop.pl client for Android
MIT License
161 stars 49 forks source link

Problematyczny wbudowany player Android YouTube API #204

Open Morritz opened 3 years ago

Morritz commented 3 years ago

Wbudowany odtwarzacz w znaleziskach z linkami z youtube.com, nie uruchamia się prawdopodobnie z powodu brakującego YouTubeAndroidPlayerAPI 07-09 13:57:18.449 28974 28974 W YouTubeAndroidPlayerAPI: Cannot load modern controls UI. Upgrade to the latest version of the Android YouTube API. 07-09 13:57:18.452 28974 28974 W ResourceType: Failure getting entry for 0x7f08008d (t=7 e=141) (error -75) 07-09 13:57:18.452 28974 28974 W System.err: android.content.res.Resources$NotFoundException: Resource ID #0x7f08008d 07-09 13:57:18.453 28974 28974 W System.err: at android.content.res.Resources.getValue(Resources.java:1432) 07-09 13:57:18.453 28974 28974 W System.err: at android.content.res.Resources.getDrawable(Resources.java:841) 07-09 13:57:18.453 28974 28974 W System.err: at android.content.res.XResources.getDrawable(XResources.java:816) 07-09 13:57:18.453 28974 28974 W System.err: at android.content.res.Resources.getDrawable(Resources.java:820) 07-09 13:57:18.453 28974 28974 W System.err: at android.content.res.XResources.getDrawable(XResources.java:790) 07-09 13:57:18.454 28974 28974 W System.err: at android.content.Context.getDrawable(Context.java:458) 07-09 13:57:18.454 28974 28974 W System.err: at ky.a(PG:16) 07-09 13:57:18.454 28974 28974 W System.err: at nnj.<init>(PG:14) 07-09 13:57:18.454 28974 28974 W System.err: at nng.<init>(PG:4) 07-09 13:57:18.454 28974 28974 W System.err: at nrx.<init>(PG:5) 07-09 13:57:18.454 28974 28974 W System.err: at neh.<init>(PG:36) 07-09 13:57:18.454 28974 28974 W System.err: at com.google.android.youtube.api.jar.client.RemoteEmbeddedPlayer.<init>(PG:5) 07-09 13:57:18.454 28974 28974 W System.err: at com.google.android.youtube.api.jar.client.RemoteEmbeddedPlayer.<init>(PG:36) 07-09 13:57:18.454 28974 28974 W System.err: at java.lang.reflect.Constructor.newInstance(Native Method) 07-09 13:57:18.454 28974 28974 W System.err: at com.google.android.youtube.player.internal.w.a(Unknown Source) 07-09 13:57:18.454 28974 28974 W System.err: at com.google.android.youtube.player.internal.w.a(Unknown Source) 07-09 13:57:18.454 28974 28974 W System.err: at com.google.android.youtube.player.internal.w.a(Unknown Source) 07-09 13:57:18.454 28974 28974 W System.err: at com.google.android.youtube.player.internal.ac.a(Unknown Source) 07-09 13:57:18.454 28974 28974 W System.err: at com.google.android.youtube.player.YouTubePlayerView.a(Unknown Source)07-09 13:57:18.454 28974 28974 W System.err: at com.google.android.youtube.player.YouTubePlayerView$1.a(Unknown Source) 07-09 13:57:18.454 28974 28974 W System.err: at com.google.android.youtube.player.internal.r.g(Unknown Source) 07-09 13:57:18.454 28974 28974 W System.err: at com.google.android.youtube.player.internal.r$c.a(Unknown Source) 07-09 13:57:18.454 28974 28974 W System.err: at com.google.android.youtube.player.internal.r$b.a(Unknown Source) 07-09 13:57:18.454 28974 28974 W System.err: at com.google.android.youtube.player.internal.r$a.handleMessage(Unknown Source) 07-09 13:57:18.454 28974 28974 W System.err: at android.os.Handler.dispatchMessage(Handler.java:102) 07-09 13:57:18.454 28974 28974 W System.err: at android.os.Looper.loop(Looper.java:148) 07-09 13:57:18.454 28974 28974 W System.err: at android.app.ActivityThread.main(ActivityThread.java:5461) 07-09 13:57:18.454 28974 28974 W System.err: at java.lang.reflect.Method.invoke(Native Method) 07-09 13:57:18.454 28974 28974 W System.err: at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:726) 07-09 13:57:18.454 28974 28974 W System.err: at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:616) 07-09 13:57:18.454 28974 28974 W System.err: at de.robv.android.xposed.XposedBridge.main(XposedBridge.java:107) 07-09 13:57:18.455 28974 28974 E YouTubeAndroidPlayerAPI: Error creating YouTubePlayerView 07-09 13:57:18.455 28974 28974 E YouTubeAndroidPlayerAPI: com.google.android.youtube.player.internal.w$a: Exception thrown by invoked constructor in com.google.android.youtube.api.jar.client.RemoteEmbeddedPlayer 07-09 13:57:18.455 28974 28974 E YouTubeAndroidPlayerAPI: at com.google.android.youtube.player.internal.w.a(Unknown Source) 07-09 13:57:18.455 28974 28974 E YouTubeAndroidPlayerAPI: at com.google.android.youtube.player.internal.w.a(Unknown Source) 07-09 13:57:18.455 28974 28974 E YouTubeAndroidPlayerAPI: at com.google.android.youtube.player.internal.w.a(Unknown Source) 07-09 13:57:18.455 28974 28974 E YouTubeAndroidPlayerAPI: at com.google.android.youtube.player.internal.ac.a(Unknown Source) 07-09 13:57:18.455 28974 28974 E YouTubeAndroidPlayerAPI: at com.google.android.youtube.player.YouTubePlayerView.a(Unknown Source) 07-09 13:57:18.455 28974 28974 E YouTubeAndroidPlayerAPI: at com.google.android.youtube.player.YouTubePlayerView$1.a(Unknown Source) 07-09 13:57:18.455 28974 28974 E YouTubeAndroidPlayerAPI: at com.google.android.youtube.player.internal.r.g(Unknown Source) 07-09 13:57:18.455 28974 28974 E YouTubeAndroidPlayerAPI: at com.google.android.youtube.player.internal.r$c.a(Unknown Source) 07-09 13:57:18.455 28974 28974 E YouTubeAndroidPlayerAPI: at com.google.android.youtube.player.internal.r$b.a(Unknown Source) 07-09 13:57:18.455 28974 28974 E YouTubeAndroidPlayerAPI: at com.google.android.youtube.player.internal.r$a.handleMessage(Unknown Source) 07-09 13:57:18.455 28974 28974 E YouTubeAndroidPlayerAPI: at android.os.Handler.dispatchMessage(Handler.java:102) 07-09 13:57:18.455 28974 28974 E YouTubeAndroidPlayerAPI: at android.os.Looper.loop(Looper.java:148) 07-09 13:57:18.455 28974 28974 E YouTubeAndroidPlayerAPI: at android.app.ActivityThread.main(ActivityThread.java:5461) 07-09 13:57:18.455 28974 28974 E YouTubeAndroidPlayerAPI: at java.lang.reflect.Method.invoke(Native Method) 07-09 13:57:18.455 28974 28974 E YouTubeAndroidPlayerAPI: at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:726) 07-09 13:57:18.455 28974 28974 E YouTubeAndroidPlayerAPI: at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:616) 07-09 13:57:18.455 28974 28974 E YouTubeAndroidPlayerAPI: at de.robv.android.xposed.XposedBridge.main(XposedBridge.java:107) 07-09 13:57:18.455 28974 28974 E YouTubeAndroidPlayerAPI: Caused by: java.lang.reflect.InvocationTargetException 07-09 13:57:18.455 28974 28974 E YouTubeAndroidPlayerAPI: at java.lang.reflect.Constructor.newInstance(Native Method) 07-09 13:57:18.455 28974 28974 E YouTubeAndroidPlayerAPI: ... 17 more 07-09 13:57:18.455 28974 28974 E YouTubeAndroidPlayerAPI: Caused by: android.content.res.Resources$NotFoundException: Resource ID #0x7f08008d 07-09 13:57:18.455 28974 28974 E YouTubeAndroidPlayerAPI: at android.content.res.Resources.getValue(Resources.java:1432) 07-09 13:57:18.455 28974 28974 E YouTubeAndroidPlayerAPI: at android.content.res.Resources.getDrawable(Resources.java:841) 07-09 13:57:18.455 28974 28974 E YouTubeAndroidPlayerAPI: at android.content.res.XResources.getDrawable(XResources.java:816) 07-09 13:57:18.455 28974 28974 E YouTubeAndroidPlayerAPI: at android.content.res.Resources.getDrawable(Resources.java:820) 07-09 13:57:18.455 28974 28974 E YouTubeAndroidPlayerAPI: at android.content.res.XResources.getDrawable(XResources.java:790) 07-09 13:57:18.455 28974 28974 E YouTubeAndroidPlayerAPI: at android.content.Context.getDrawable(Context.java:458)07-09 13:57:18.455 28974 28974 E YouTubeAndroidPlayerAPI: at ky.a(PG:16) 07-09 13:57:18.455 28974 28974 E YouTubeAndroidPlayerAPI: at nnj.<init>(PG:14) 07-09 13:57:18.455 28974 28974 E YouTubeAndroidPlayerAPI: at nng.<init>(PG:4) 07-09 13:57:18.455 28974 28974 E YouTubeAndroidPlayerAPI: at nrx.<init>(PG:5) 07-09 13:57:18.455 28974 28974 E YouTubeAndroidPlayerAPI: at neh.<init>(PG:36) 07-09 13:57:18.455 28974 28974 E YouTubeAndroidPlayerAPI: at com.google.android.youtube.api.jar.client.RemoteEmbeddedPlayer.<init>(PG:5) 07-09 13:57:18.455 28974 28974 E YouTubeAndroidPlayerAPI: at com.google.android.youtube.api.jar.client.RemoteEmbeddedPlayer.<init>(PG:36) 07-09 13:57:18.455 28974 28974 E YouTubeAndroidPlayerAPI: ... 18 more Uważam, że dobrym rozwiązaniem byłoby zastępienie tego inną biblioteką, która nie będzie polegała na usługach Google.