Closed weisuofayubc closed 1 month ago
App Manager is yet to release 4.0.0. Do you mean a specific release like alpha01, alpha02, debug, etc.?
yes. I download master code and build it myself. By the way, I try with 3.1.5 and it works
I see. But you haven't shared the actual crashlog. Everything you shared here are only information. They do not correspond to the actual crash.
Oh yes, my bad. Now I run with debug version and it has more clear log..
2024-03-27 21:31:09.195 15881-15881 AndroidRuntime ioo...untashirakon.AppManager.debug D Shutting down VM
2024-03-27 21:31:09.196 15881-15881 AndroidRuntime ioo...untashirakon.AppManager.debug E FATAL EXCEPTION: main
Process: ioo.github.muntashirakon.AppManager.debug, PID: 15881
java.lang.ArithmeticException: divide by zero
at io.github.muntashirakon.AppManager.runningapps.RunningAppsAdapter.lambda$onBindViewHolder$1(RunningAppsAdapter.java:153)
at io.github.muntashirakon.AppManager.runningapps.RunningAppsAdapter$$ExternalSyntheticLambda3.run(Unknown Source:6)
at android.os.Handler.handleCallback(Handler.java:958)
at android.os.Handler.dispatchMessage(Handler.java:99)
at android.os.Looper.loopOnce(Looper.java:257)
at android.os.Looper.loop(Looper.java:368)
at android.app.ActivityThread.main(ActivityThread.java:8826)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:572)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1049)
2024-03-27 21:31:09.198 15881-15881 Compatibil...geReporter ioo...untashirakon.AppManager.debug D Compat change id reported: 160794467; UID 10321; state: ENABLED
2024-03-27 21:31:09.198 15881-15881 Compatibil...geReporter ioo...untashirakon.AppManager.debug D Compat change id reported: 236704164; UID 10321; state: ENABLED
2024-03-27 21:31:09.200 15881-15881 AndroidRuntime ioo...untashirakon.AppManager.debug E Error reporting crash
java.lang.IllegalArgumentException: ioo.github.muntashirakon.AppManager.debug: Targeting U+ (version 34 and above) disallows creating or retrieving a PendingIntent with FLAG_MUTABLE, an implicit Intent within and without FLAG_NO_CREATE and FLAG_ALLOW_UNSAFE_IMPLICIT_INTENT for security reasons. To retrieve an already existing PendingIntent, use FLAG_NO_CREATE, however, to create a new PendingIntent with an implicit Intent use FLAG_IMMUTABLE.
at android.os.Parcel.createExceptionOrNull(Parcel.java:3091)
at android.os.Parcel.createException(Parcel.java:3071)
at android.os.Parcel.readException(Parcel.java:3054)
at android.os.Parcel.readException(Parcel.java:2996)
at android.app.IActivityManager$Stub$Proxy.getIntentSenderWithFeature(IActivityManager.java:6568)
at android.app.PendingIntent.getActivityAsUser(PendingIntent.java:549)
at android.app.PendingIntent.getActivity(PendingIntent.java:530)
at android.app.PendingIntent.getActivity(PendingIntent.java:494)
at androidx.core.app.PendingIntentCompat.getActivity(PendingIntentCompat.java:114)
at io.github.muntashirakon.AppManager.misc.AMExceptionHandler.uncaughtException(AMExceptionHandler.java:56)
at java.lang.ThreadGroup.uncaughtException(ThreadGroup.java:1071)
at java.lang.ThreadGroup.uncaughtException(ThreadGroup.java:1066)
at com.android.internal.os.RuntimeInitExtImpl.uncaughtExceptionExt(RuntimeInitExtImpl.java:68)
at com.android.internal.os.RuntimeInit$LoggingHandler.uncaughtException(RuntimeInit.java:128)
at java.lang.Thread.dispatchUncaughtException(Thread.java:2300)
Caused by: android.os.RemoteException: Remote stack trace:
at com.android.server.am.ActivityManagerService.getIntentSenderWithFeatureAsApp(ActivityManagerService.java:5908)
at com.android.server.am.ActivityManagerService.getIntentSenderWithFeature(ActivityManagerService.java:5851)
at android.app.IActivityManager$Stub.onTransact(IActivityManager.java:3251)
at com.android.server.am.ActivityManagerService.onTransact(ActivityManagerService.java:3005)
at android.os.Binder.execTransactInternal(Binder.java:1392)
2024-03-27 21:31:09.211 1857-2329 UAH_JNI system_server E uah_event_acquire ! cmdId: 0 ,strPkg: ioo.github.muntashirakon.AppManager.debug, strIdent: com.android.server.wm, timeout: 600
2024-03-27 21:31:09.213 15881-17172 JavaBinder ioo...untashirakon.AppManager.debug W ibinderForJavaObject: 0x74031e0b30 is not a Binder object
2024-03-27 21:31:09.213 15881-17172 Parcel ioo...untashirakon.AppManager.debug E Native binder in markForBinder is null for non-null jobject
I disable swap on my phone since I have 16GB memory..
Fixed in de7b3bfd183af0f3d42f19cf630442e35f08d2c6
Please check before submitting an issue
Describe the bug
To Reproduce
No response
Expected behavior
No response
Screenshots
No response
Logs
No response
Device info
Additional context
No response