Packagemanager crash


I have setup my own repo and when I say install the app I am seeing this stacktrace

PackageManagerCompat: Could not set installer package name for com.duckeggdigital.roadtohealthhealthworker
java.lang.SecurityException: Caller does not have same cert as old installer package
at android.os.Parcel.readException(
at android.os.Parcel.readException(
at org.fdroid.fdroid.compat.PackageManagerCompat.setInstaller(
at org.fdroid.fdroid.installer.InstallManagerService$3.onReceive(
at android.os.Handler.dispatchMessage(
at android.os.Looper.loop(
at java.lang.reflect.Method.invoke(Native Method)

This means that although its installed the app fdroid never changes to OPEN and sits on install

Any ideas?

You want to install or update?

Im trying to install. Even more weird sometimes I am also getting AppDetails2: install aborted with errorMessage: Failed to install due to an unknown error as
DefaultInstallerActivit: over here null android.intent.action.INSTALL_PACKAGE Intent {
result code is 1(Activity.RESULT_FIRST_USER)

i.e. falling into this

case Activity.RESULT_FIRST_USER:
// AOSP returns Activity.RESULT_FIRST_USER on error

Apps for other repos can be installed just fine?

All other repose are installing but they all throw the same java.lang.SecurityException: Caller does not have same cert as old installer package I dont get this unknown error on any other

What device? Android version?

Nokia 1 : Android 8.1.0 Security patch level 1 April 2019

Oh, one of those…update to 1.7-alpha0, retest…

Do add your voice here too:

Using 1.7-alpha0 it installs and uninstalls correctly but my apps dont show up under Latest tab at all only under categories which is really odd

Regarding Latest read this:

Regarding the Categories, try to disable all the other repos, except yours, retest…

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.