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

[BUG] Crash #122

Closed
KingMahmud opened this issue Feb 1, 2024 · 3 comments · Fixed by #108
Closed

[BUG] Crash #122

KingMahmud opened this issue Feb 1, 2024 · 3 comments · Fixed by #108
Labels
android This label targets specifically MMRL on Android devices bug Something isn't working

Comments

@KingMahmud
Copy link

Crash on open.

Device info

  • Device: Samsung M20
  • OS: Android 10
  • App Version 1.13.9 (1139)
  • User Agent ...

Logs :
FATAL EXCEPTION: main
Process: com.dergoogler.mmrl, PID: 6831
java.lang.RuntimeException: Unable to start activity ComponentInfo{com.dergoogler.mmrl/com.dergoogler.mmrl.MainActivity}: android.view.InflateException: Binary XML file line #28 in com.dergoogler.mmrl:layout/splash_screen_view: Failed to resolve attribute at index 0: TypedValue{t=0x2/d=0x7f0300df a=-1}
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:3448)
at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:3595)
at android.app.servertransaction.LaunchActivityItem.execute(LaunchActivityItem.java:83)
at android.app.servertransaction.TransactionExecutor.executeCallbacks(TransactionExecutor.java:135)
at android.app.servertransaction.TransactionExecutor.execute(TransactionExecutor.java:95)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2147)
at android.os.Handler.dispatchMessage(Handler.java:107)
at android.os.Looper.loop(Looper.java:237)
at android.app.ActivityThread.main(ActivityThread.java:7807)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:493)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1047)
Caused by: android.view.InflateException: Binary XML file line #28 in com.dergoogler.mmrl:layout/splash_screen_view: Failed to resolve attribute at index 0: TypedValue{t=0x2/d=0x7f0300df a=-1}
Caused by: java.lang.UnsupportedOperationException: Failed to resolve attribute at index 0: TypedValue{t=0x2/d=0x7f0300df a=-1}
at android.content.res.TypedArray.getLayoutDimension(TypedArray.java:825)
at android.view.ViewGroup$LayoutParams.setBaseAttributes(ViewGroup.java:8949)
at android.view.ViewGroup$MarginLayoutParams.(ViewGroup.java:9147)
at android.widget.FrameLayout$LayoutParams.(FrameLayout.java:452)
at android.widget.FrameLayout.generateLayoutParams(FrameLayout.java:380)
at android.widget.FrameLayout.generateLayoutParams(FrameLayout.java:58)
at android.view.LayoutInflater.rInflate(LayoutInflater.java:1125)
at android.view.LayoutInflater.rInflateChildren(LayoutInflater.java:1084)
at android.view.LayoutInflater.inflate(LayoutInflater.java:682)
at android.view.LayoutInflater.inflate(LayoutInflater.java:534)
at android.view.LayoutInflater.inflate(LayoutInflater.java:481)
at android.view.View.inflate(View.java:27683)
at n.r$a$a.d(Unknown Source:9)
at n.r$a$a.a(Unknown Source:0)
at j0.k.getValue(Unknown Source:20)
at n.r$a.d(Unknown Source:2)
at n.r$a.a(Unknown Source:25)
at n.r.(Unknown Source:25)
at n.g$b.l(Unknown Source:11)
at n.g.e(Unknown Source:7)
at org.apache.cordova.SplashScreenPlugin.setupSplashScreen(Unknown Source:52)
at org.apache.cordova.SplashScreenPlugin.onMessage(Unknown Source:22)
at org.apache.cordova.PluginManager.lambda$postMessage$0(Unknown Source:2)
at org.apache.cordova.PluginManager.a(Unknown Source:0)
at org.apache.cordova.a.accept(Unknown Source:8)
at java.util.LinkedHashMap.forEach(LinkedHashMap.java:721)
at java.util.Collections$SynchronizedMap.forEach(Collections.java:2698)
at org.apache.cordova.PluginManager.postMessage(Unknown Source:32)
at org.apache.cordova.CordovaActivity.init(Unknown Source:47)
at com.dergoogler.mmrl.MainActivity.onCreate(Unknown Source:14)
at android.app.Activity.performCreate(Activity.java:7955)
at android.app.Activity.performCreate(Activity.java:7944)
at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1307)
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:3423)
at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:3595)
at android.app.servertransaction.LaunchActivityItem.execute(LaunchActivityItem.java:83)
at android.app.servertransaction.TransactionExecutor.executeCallbacks(TransactionExecutor.java:135)
at android.app.servertransaction.TransactionExecutor.execute(TransactionExecutor.java:95)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2147)
at android.os.Handler.dispatchMessage(Handler.java:107)
at android.os.Looper.loop(Looper.java:237)
at android.app.ActivityThread.main(ActivityThread.java:7807)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:493)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1047)

@KingMahmud KingMahmud added bug Something isn't working waiting for triage Waiting for issue confirmation labels Feb 1, 2024
@DerGoogler
Copy link
Owner

Cordova related #1559

@DerGoogler DerGoogler linked a pull request Feb 3, 2024 that will close this issue
@Bluscream
Copy link

so this is fixed in 2.13.9? When will that be available through github-actions or smth?

@DerGoogler
Copy link
Owner

@DerGoogler DerGoogler added android This label targets specifically MMRL on Android devices and removed waiting for triage Waiting for issue confirmation labels Feb 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
android This label targets specifically MMRL on Android devices bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants