Everything was working normally until I updated the app. After that I wanted to update Librera but it didn’t work instead it showed: Package installer keep not working. I tried to install another app and the same thing appears. The same thing happened to someone
View Summary:
java.lang.RuntimeException: Unable to start activity ComponentInfo{com.miui.packageinstaller/com.miui.packageInstaller.InstallStart}: java.lang.NullPointerException: Parameter specified as non-null is null: method j8.i.f, parameter uri
at android.app.ActivityThread.performLaunchActivity(Unknown Source:911)
at android.app.ActivityThread.handleLaunchActivity(Unknown Source:77)
at android.app.servertransaction.LaunchActivityItem.execute(Unknown Source:79)
at android.app.servertransaction.TransactionExecutor.executeCallbacks(Unknown Source:77)
at android.app.servertransaction.TransactionExecutor.execute(Unknown Source:76)
at android.app.ActivityThread$H.handleMessage(Unknown Source:172)
at android.os.Handler.dispatchMessage(Unknown Source:19)
at android.os.Looper.loopOnce(Unknown Source:182)
at android.os.Looper.loop(Unknown Source:82)
at android.app.ActivityThread.main(Unknown Source:123)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(Unknown Source:11)
at com.android.internal.os.ZygoteInit.main(Unknown Source:312)
Caused by: java.lang.NullPointerException: Parameter specified as non-null is null: method j8.i.f, parameter uri
at p5.i.d(Unknown Source:7)
at com.miui.packageInstaller.InstallStart.g(Unknown Source:17)
at com.miui.packageInstaller.InstallStart.onCreate(Unknown Source:467)
at android.app.Activity.performCreate(Unknown Source:127)
at android.app.Activity.performCreate(Unknown Source:1)
at android.app.Instrumentation.callActivityOnCreate(Unknown Source:3)
at android.app.ActivityThread.performLaunchActivity(Unknown Source:636)
… 12 more
I cleared the cache of Package Installer, reinstalled the system, but none of that worked. I install f-droid, update the repositories and then update f-droid. I try to install any app but it always comes out: Package installer keeps stopping
But looking at your error details, it looks like some issue with an update/upgrade upon not from F-Droid. Did you check on MI forums? Suggest you raise a query/issue there.
Can anyone use ADB and get a logcat of the moment you try to install a package so maybe we can see the actual error? Or confirm that it’s the same as the linked forum.