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

Notch click crash #300

Open
klightshadow opened this issue Jan 11, 2024 · 0 comments
Open

Notch click crash #300

klightshadow opened this issue Jan 11, 2024 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@klightshadow
Copy link

Installed Pluto in application, and app started well.
However it crash when I click the floating notch button.

image

FATAL EXCEPTION: main Process: com.app, PID: 14332 java.lang.RuntimeException: Unable to start activity ComponentInfo{com.app/com.pluto.ui.selector.SelectorActivity}: java.lang.IllegalArgumentException: CreationExtras must have an application by APPLICATION_KEYat android.app.ActivityThread.performLaunchActivity(ActivityThread.java:3802) at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:3942) at android.app.servertransaction.LaunchActivityItem.execute(LaunchActivityItem.java:103) at android.app.servertransaction.TransactionExecutor.executeCallbacks(TransactionExecutor.java:139) at android.app.servertransaction.TransactionExecutor.execute(TransactionExecutor.java:96) at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2448) at android.os.Handler.dispatchMessage(Handler.java:106) at android.os.Looper.loopOnce(Looper.java:205) at android.os.Looper.loop(Looper.java:294) at android.app.ActivityThread.main(ActivityThread.java:8194) at java.lang.reflect.Method.invoke(Native Method) at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:552) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:971) Caused by: java.lang.IllegalArgumentException: CreationExtras must have an application byAPPLICATION_KEY at androidx.lifecycle.ViewModelProvider$AndroidViewModelFactory.create(ViewModelProvider.kt:281) at androidx.lifecycle.SavedStateViewModelFactory.create(SavedStateViewModelFactory.kt:124) at androidx.lifecycle.ViewModelProvider.get(ViewModelProvider.kt:182) at androidx.lifecycle.ViewModelProvider.get(ViewModelProvider.kt:151) at androidx.lifecycle.ViewModelLazy.getValue(ViewModelLazy.kt:53) at androidx.lifecycle.ViewModelLazy.getValue(ViewModelLazy.kt:35) at com.pluto.ui.selector.SelectorActivity.getPluginsViewModel(SelectorActivity.kt:46) at com.pluto.ui.selector.SelectorActivity.onCreate(SelectorActivity.kt:96) at android.app.Activity.performCreate(Activity.java:8621) at android.app.Activity.performCreate(Activity.java:8599) at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1456) at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:3784)

Smartphone (please complete the following information):

  • Device: Pixel 6 pro
  • OS: Android 14
  • Library Version 2.2.0
@klightshadow klightshadow added the bug Something isn't working label Jan 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants