Cannot install F-Droid - Invalid package - using profiles

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

Seen similar posts in Dec 21:

Tried multiple version old and current, none working. Any ideas?

Phone - Oppo Reno Z 5g

Do you use Android profiles eg. Work profile and such?

No, no profiles at all.

I have the same problem, when trying to install in a different user profile. It works in my owner profile.

@Sohika9539
You’re likely installing an older version (from the homepage).
The latest is here: https://f-droid.org/repo/org.fdroid.fdroid_1015052.apk

F-Droid.apk

org.fdroid.fdroid_1015053.apk


So you’ve downloaded the APK.

You don’t already have F-Droid installed, yes? You don’t use “work profiles” or “app cloning” and whatnot, yes?

Thank you for the feedback.

I use a secondary profile. I share the smartphone with my girlfriend.
It worked before. I deleted the secondary profile and created a new one. Only now it is no longer possible to install fdroid via the apk file.

When using secondary profiles it’s better to “clone from main profile” eg. Shelter or Insular have this function, else you need to install the EXACT SAME version.

Which F-Droid version do you have installed already?

eg. for 1.15.3: https://f-droid.org/repo/org.fdroid.fdroid_1015053.apk (but you already tried I see) so you have 1.15.2: https://f-droid.org/repo/org.fdroid.fdroid_1015052.apk (I guess?)

1 Like

Thank you very much for your help.
The first account has fdroid 1.15.3 installed.
I was able to install that when I accepted the message with security.
Why does not let you install another version on the second profile? I thought the two profiles were separate.

Android limitation (for security?), ask Google :slight_smile:

1 Like

I think to solve that Android 13 error, we need to bump the targetSdkVersion. We welcome help there, here is what needs to be done:

Ja, das kenne ich leider nur zu gut. Obwohl ich die App auf ein jetzt schon ‘älteres’ Gerät, ein Samsung Note 10 geladen hatte und ihr die rechte Drittanbieter Apps und Updates für die App selber gewährt habe, blockiert Google das herunterladen, oder das installieren der App. Was du noch versuchen kannst, ist die App in den Ordner downloads zu kopieren und sie dann aus diesem Ordner als APK zu installieren. Wenn das nicht klappt, kannst du sie höchstens mit einem VPN installieren, wo du zum Beispiel Kosove oder Rumänien als Standort eingibst. Falls du in den Einstellungen eingestellt hast, dass gelöschte Dateien noch 30 Tage im Papierkorb verbleiben, geh in den Einstellungen auf Speicher, dann kannst du sie aus dem Papierkorb wiederherstellen. Wenn nicht, würde ich das einstellen, da du dann in Zukunft die Chance hast, solche Aktionen ungeschehen zu machen.

I can’t find F droid in the play store(android 13) but downloading it from the website works fine on the original account

but I can’t get it to work with other accounts (using multiple users feature), I get an error stating(App not installed as package appears to be invalid), that’s the case with F droid and the profile creating apps (Shelter/insular/island)

@dom21 the version on F-Droid.org homepage is outdated, use this version on the others: https://f-droid.org/repo/org.fdroid.fdroid_1016053.apk

1 Like

Thanks for the help

I was a little bit skeptical so i searched more and found that the latest version (same as the one you provided)by going to the F droid website and typing F droid the search bar; “F-Droid | F-Droid - Free and Open Source Android App Repository

For those not familiar with the workaround to resolve this challenge. Find this workaround steps down below.

For your information, the likely cause of this challenge is that, when you use Profiles, Android has a limitation for security reasons, it only allows you to install the very same version of an app for the other Profiles/users.

Workaround two steps:

  1. Using the Android profile the app/APK is already installed into. Find its exact version. Write it down.
  2. Go back to the other profile you need to install the APK into. Download the EXACT version of the APK. For example, for F-Droid.apk:
    1. Go to https://f-droid.org/en/packages/org.fdroid.fdroid/
    2. Download the VERY SAME version of the APK you wrote down above. For example, on this same page above, click on the appropriate “Download APK” link.
  3. Install this VERY SAME APK version. The error is gone.
  4. You have successfully resolved this challenge.

Attribution to Licaon_Kter for this workaround

In the unlikely event that this workaround above fails, using the other profile the APK is already installed into, try to update this app to its latest version. Then, go back to the other profile. Next, try to install the EXACT same latest version.

1 Like

A post was merged into an existing topic: Lack of TLS 1.2 breaking apps in older Androids