Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Apps crash while using youtube api #167

Open
erezshmiel opened this issue Feb 9, 2018 · 2 comments
Open

Apps crash while using youtube api #167

erezshmiel opened this issue Feb 9, 2018 · 2 comments

Comments

@erezshmiel
Copy link

erezshmiel commented Feb 9, 2018

Hope that this repository belongs to Google because they cause a critical bug.
I have an android app that uses youtube api (examples were taken from this repo).

Unfortunately, there is bug (app is crashing) when you play a video within the app.
It happens in many other developers' apps that uses YouTubePlayer to show videos on their apps.
This bug was increased drastically in the last 3-4 days!
It happens although no version was uploaded to production.

I get this crash in Crash Reporting:

Exception java.lang.NoClassDefFoundError: pim
pil. (SourceFile:2)
pij.onAnimationEnd (SourceFile:10)

android.animation.AnimatorSet$AnimatorSetListener.onAnimationEnd (AnimatorSet.java:818)
android.animation.ValueAnimator.endAnimation (ValueAnimator.java:1056)
android.animation.ValueAnimator.access$400 (ValueAnimator.java:50)
android.animation.ValueAnimator$AnimationHandler.doAnimationFrame (ValueAnimator.java:644)
android.animation.ValueAnimator$AnimationHandler.run (ValueAnimator.java:660)
android.view.Choreographer$CallbackRecord.run (Choreographer.java:761)
android.view.Choreographer.doCallbacks (Choreographer.java:574)
android.view.Choreographer.doFrame (Choreographer.java:543)
android.view.Choreographer$FrameDisplayEventReceiver.run (Choreographer.java:747)
android.os.Handler.handleCallback (Handler.java:733)
android.os.Handler.dispatchMessage (Handler.java:95)
android.os.Looper.loop (Looper.java:136)
android.app.ActivityThread.main (ActivityThread.java:5154)
java.lang.reflect.Method.invokeNative (Method.java)
java.lang.reflect.Method.invoke (Method.java:515)
com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run (ZygoteInit.java:732)
com.android.internal.os.ZygoteInit.main (ZygoteInit.java:566)
dalvik.system.NativeStart.main (NativeStart.java)

And I hope this is the key for the solution:
Caused by java.lang.ClassNotFoundException: Didn't find class "pim" on path: DexPathList[[zip file "/data/app/com.google.android.youtube-1.apk"],nativeLibraryDirectories=[/data/app-lib/com.google.android.youtube-1, /vendor/lib, /system/lib]]

I tried to change the version of Multidex from com.android.support:multidex:1.0.2 to com.android.support:multidex:1.0.1 with no success.

I am not sure but it may be relevant:
https://developer.android.com/studio/build/multidex.html

How can I solve it please?

@aman-ar
Copy link

aman-ar commented Mar 29, 2018

Any solution for this issue?

@erezshmiel
Copy link
Author

erezshmiel commented Mar 29, 2018 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants