zoriya / Opus

Android app for playing music from local file or from youtube.
https://www.raccoon-sdg.fr/en
GNU General Public License v3.0
9 stars 2 forks source link

bug found in opus application the application is crash when i try to open the application #14

Closed saraji-ali closed 5 years ago

saraji-ali commented 5 years ago

Project Information

Expected behavior

the opus application should not be crash when I try to open the application

Actual behavior

the application is crash when I try to open the application

How to reproduce

(1) download application (2) open the application (3) note bug

Application Version proof

Screenshot_2019-04-30-13-40-53

Recording Of The Bug

20190430_004358

My Github Account

https://github.com/facebook-786

Logcat

E/AndroidRuntime(21001): FATAL EXCEPTION: main

E/AndroidRuntime(21001): Process: com.sdg.opus, PID: 21001

E/AndroidRuntime(21001): java.lang.RuntimeException: Unable to start activity ComponentInfo{com.sdg.opus/md57baadda0681dec7360c3496b252e69fd.MainActivity}: java.lang.RuntimeException: com.google.android.gms.dynamite.DynamiteModule$LoadingException: No acceptable module found. Local version is 0 and remote version is 0.

E/AndroidRuntime(21001):    at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2695)

E/AndroidRuntime(21001):    at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2769)

E/AndroidRuntime(21001):    at android.app.ActivityThread.access$900(ActivityThread.java:177)

E/AndroidRuntime(21001):    at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1430)

E/AndroidRuntime(21001):    at android.os.Handler.dispatchMessage(Handler.java:102)

E/AndroidRuntime(21001):    at android.os.Looper.loop(Looper.java:135)

E/AndroidRuntime(21001):    at android.app.ActivityThread.main(ActivityThread.java:5910)

E/AndroidRuntime(21001):    at java.lang.reflect.Method.invoke(Native Method)

E/AndroidRuntime(21001):    at java.lang.reflect.Method.invoke(Method.java:372)

E/AndroidRuntime(21001):    at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1405)

E/AndroidRuntime(21001):    at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1200)

E/AndroidRuntime(21001): Caused by: java.lang.RuntimeException: com.google.android.gms.dynamite.DynamiteModule$LoadingException: No acceptable module found. Local version is 0 and remote version is 0.

E/AndroidRuntime(21001):    at com.google.android.gms.internal.cast.zze.zzf(Unknown Source)

E/AndroidRuntime(21001):    at com.google.android.gms.internal.cast.zze.zza(Unknown Source)

E/AndroidRuntime(21001):    at com.google.android.gms.cast.framework.CastContext.(Unknown Source)

E/AndroidRuntime(21001):    at com.google.android.gms.cast.framework.CastContext.getSharedInstance(Unknown Source)

E/AndroidRuntime(21001):    at md57baadda0681dec7360c3496b252e69fd.MainActivity.n_onStart(Native Method)

E/AndroidRuntime(21001):    at md57baadda0681dec7360c3496b252e69fd.MainActivity.onStart(MainActivity.java:66)

E/AndroidRuntime(21001):    at android.app.Instrumentation.callActivityOnStart(Instrumentation.java:1248)

E/AndroidRuntime(21001):    at android.app.Activity.performStart(Activity.java:6213)

E/AndroidRuntime(21001):    at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2658)

E/AndroidRuntime(21001):    ... 10 more

E/AndroidRuntime(21001): Caused by: com.google.android.gms.dynamite.DynamiteModule$LoadingException: No acceptable module found. Local version is 0 and remote version is 0.

E/AndroidRuntime(21001):    at com.google.android.gms.dynamite.DynamiteModule.load(Unknown Source)

E/AndroidRuntime(21001):    ... 19 more
zoriya commented 5 years ago

Could you try again with the version 3.3.4 that i just released please. I think I know why the bug is occuring and if it is that, I fixed it. If it still crash with this version, please signal it here and send me a logcat a bit longer.

saraji-ali commented 5 years ago

the latest version 3.3.4 also crashing

proof version 3.3.4

Screenshot_2019-04-30-14-47-35

bug video

20190430_144759

Logcat 3.3.4

E/AndroidRuntime(21001): FATAL EXCEPTION: main

E/AndroidRuntime(21001): Process: com.sdg.opus, PID: 21001

E/AndroidRuntime(21001): java.lang.RuntimeException: Unable to start activity ComponentInfo{com.sdg.opus/md57baadda0681dec7360c3496b252e69fd.MainActivity}: java.lang.RuntimeException: com.google.android.gms.dynamite.DynamiteModule$LoadingException: No acceptable module found. Local version is 0 and remote version is 0.

E/AndroidRuntime(21001):    at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2695)

E/AndroidRuntime(21001):    at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2769)

E/AndroidRuntime(21001):    at android.app.ActivityThread.access$900(ActivityThread.java:177)

E/AndroidRuntime(21001):    at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1430)

E/AndroidRuntime(21001):    at android.os.Handler.dispatchMessage(Handler.java:102)

E/AndroidRuntime(21001):    at android.os.Looper.loop(Looper.java:135)

E/AndroidRuntime(21001):    at android.app.ActivityThread.main(ActivityThread.java:5910)

E/AndroidRuntime(21001):    at java.lang.reflect.Method.invoke(Native Method)

E/AndroidRuntime(21001):    at java.lang.reflect.Method.invoke(Method.java:372)

E/AndroidRuntime(21001):    at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1405)

E/AndroidRuntime(21001):    at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1200)

E/AndroidRuntime(21001): Caused by: java.lang.RuntimeException: com.google.android.gms.dynamite.DynamiteModule$LoadingException: No acceptable module found. Local version is 0 and remote version is 0.

E/AndroidRuntime(21001):    at com.google.android.gms.internal.cast.zze.zzf(Unknown Source)

E/AndroidRuntime(21001):    at com.google.android.gms.internal.cast.zze.zza(Unknown Source)

E/AndroidRuntime(21001):    at com.google.android.gms.cast.framework.CastContext.(Unknown Source)

E/AndroidRuntime(21001):    at com.google.android.gms.cast.framework.CastContext.getSharedInstance(Unknown Source)

E/AndroidRuntime(21001):    at md57baadda0681dec7360c3496b252e69fd.MainActivity.n_onStart(Native Method)

E/AndroidRuntime(21001):    at md57baadda0681dec7360c3496b252e69fd.MainActivity.onStart(MainActivity.java:66)

E/AndroidRuntime(21001):    at android.app.Instrumentation.callActivityOnStart(Instrumentation.java:1248)

E/AndroidRuntime(21001):    at android.app.Activity.performStart(Activity.java:6213)

E/AndroidRuntime(21001):    at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2658)

E/AndroidRuntime(21001):    ... 10 more

E/AndroidRuntime(21001): Caused by: com.google.android.gms.dynamite.DynamiteModule$LoadingException: No acceptable module found. Local version is 0 and remote version is 0.

E/AndroidRuntime(21001):    at com.google.android.gms.dynamite.DynamiteModule.load(Unknown Source)

E/AndroidRuntime(21001):    ... 19 more
zoriya commented 5 years ago

I was going to ask you a bunch of question but I think that I found the bug. Are you using an emulator or a device witch doesn't have the google play services installed? If yes, that's why the app crash. I'll add a check to allow users without play services to use the app.

saraji-ali commented 5 years ago

you are right sir

I am using Samsung galaxy j7 device and in this device available google play services old version. now I have updated the latest version of google play services

and now application running is fine

Thank you

zoriya commented 5 years ago

Nice, it will work even without the google play service in the version. Thank you for this report, really helpful.