Fox2Code / FoxMagiskModuleManager

A module manager for Magisk because the official app dropped support for it
GNU Lesser General Public License v3.0
2.19k stars 131 forks source link

[BUG] Crash on installing any module #309

Closed Prototik closed 1 year ago

Prototik commented 1 year ago
Stacktrace:
java.lang.RuntimeException: Unable to start activity ComponentInfo{com.fox2code.mmm/com.fox2code.mmm.installer.InstallerActivity}: java.lang.ClassCastException: com.google.android.material.floatingactionbutton.ExtendedFloatingActionButton cannot be cast to vh
    at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:3645)
    at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:3782)
    at android.app.servertransaction.LaunchActivityItem.execute(LaunchActivityItem.java:101)
    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:2307)
    at android.os.Handler.dispatchMessage(Handler.java:106)
    at android.os.Looper.loopOnce(Looper.java:201)
    at android.os.Looper.loop(Looper.java:288)
    at android.app.ActivityThread.main(ActivityThread.java:7872)
    at java.lang.reflect.Method.invoke(Native Method)
    at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:550)
    at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:936)
Caused by: java.lang.ClassCastException: com.google.android.material.floatingactionbutton.ExtendedFloatingActionButton cannot be cast to vh
    at com.fox2code.mmm.installer.InstallerActivity.onCreate(SourceFile:377)
    at android.app.Activity.performCreate(Activity.java:8311)
    at android.app.Activity.performCreate(Activity.java:8290)
    at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1420)
    at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:3626)
    ... 12 more

Android 13, MMM latest from actions for master branch

zgfg commented 1 year ago

I have the same problem on both my phones (A11 and A12) , just sent you crash reports from inside Fox MMM

Previous versions of Fox MMM app were able to correctly install the modules

Now it crashes. Root was properly granted IMG_20230428_205109 IMG_20230428_210342 Screenshot_2023-04-28-20-53-18-004_com fox2code mmm

androidacy-user commented 1 year ago

We're aware and are already working on a fix. If you try the latest Actions build on a clean install it should already be fixed.

mrkylegp commented 1 year ago

Same issue here. Glad a fix is on the way!

zgfg commented 1 year ago

Ok, I tried this Action build and it works now, thanks https://github.com/Fox2Code/FoxMagiskModuleManager/actions/runs/4826124597

androidacy-user commented 1 year ago

Closing as fixed, will be released with next patch release