Packagemanager crash

Hi

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 com.google.android.packageinstaller
at android.os.Parcel.readException(Parcel.java:2013)
at android.os.Parcel.readException(Parcel.java:1959)
at android.content.pm.IPackageManager$Stub$Proxy.setInstallerPackageName(IPackageManager.java:4142)
at android.app.ApplicationPackageManager.setInstallerPackageName(ApplicationPackageManager.java:1906)
at org.fdroid.fdroid.compat.PackageManagerCompat.setInstaller(PackageManagerCompat.java:39)
at org.fdroid.fdroid.installer.InstallManagerService$3.onReceive(InstallManagerService.java:403)
at android.support.v4.content.LocalBroadcastManager.executePendingBroadcasts(LocalBroadcastManager.java:313)
at android.support.v4.content.LocalBroadcastManager$1.handleMessage(LocalBroadcastManager.java:121)
at android.os.Handler.dispatchMessage(Handler.java:106)
at android.os.Looper.loop(Looper.java:164)
at android.app.ActivityThread.main(ActivityThread.java:6523)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:438)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:857)

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:
default:
// AOSP returns Activity.RESULT_FIRST_USER on error
installer.sendBroadcastInstall(downloadUri,
Installer.ACTION_INSTALL_INTERRUPTED,
getString(R.string.install_error_unknown));
break;

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 com.google.android.packageinstaller. 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: https://gitlab.com/fdroid/fdroidclient/issues/1721

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: https://f-droid.org/en/2019/03/26/the-latest-tab-now-highlights-good-descriptions.html

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.

Mastodon