All Android apps were tested but disappear in the drawer for unprivileged user after reboot and don't reappear even after reinstall

REPRODUCIBILITY: 100%
OS VERSION: 5.0.0.61
HARDWARE: Sony Xperia 10 II
UI LANGUAGE: French
REGRESSION: No idea

DESCRIPTION:

All Android apps have disappeared for the unprivileged user after reboot.

PRECONDITIONS:

An unprivileged user must be added to the system.

STEPS TO REPRODUCE:

  1. As an administrator, create a user without administrator privileges
  2. After the setup phase, add some Android apps (e.g. F-droid)
  3. Reboot

EXPECTED RESULT:

The Android apps are still there.

ACTUAL RESULT:

The Android apps doesn’t appear in the drawer, neither under the Apps tab in the settings.
If you try to re-install an Android app, installation is successful but it doesn’t appear.

MODIFICATIONS:

ADDITIONAL INFORMATION:

Switching back to the administrator user, Android apps appears as expected.

Hi,
I confirmed this bug in xperia 10III SailfishOS 5.0.0.62

This is how AAS under SFOS works - app launchers are installed on a per-user basis.
One should consider if it’s desired to do it this way, or if the guest user should be populated with all the Android apps.

Please try the following in a terminal:

cd /home/<name_of_unprivileged_user>/.local/share/applications
ln -s /home/defaultuser/.local/share/applications/apkd_*desktop .

Don’t forget the dot at the end.

Maybe switch users back and forth one more time.

What effect?


Another question:
Is AAS running all the time for you? As in “launch at boot”?
After you switch to an unprivileged user, can you check the settings if AAS is (already) running?

Hi @ohnonot,

You misunderstood my report.
I have no problem that the android apps installed for the default user aren’t installed for the subsequent users, I even find this logical.

The problem is that I installed Android apps for the unprivileged user just after setting up its account, they appeared as expected, I could launch them, everything was OK at this moment, but in an dramatic turn of event, after reboot, every Android apps disappeared for this user (from the drawer and the settings). Even after a new successful (if I can believe the notification) Android app installation, nothing appears any more, not even F-droid or Aurora store.

About your additional question, AAS is indeed launched at boot and actually running for the unprivileged user.

I tried to switch users back and forth without positive result.

I did too. After explanation I adjusted the title. I hope is more clear now.
It might also helped if you add info in the original post that apps work and are in the drawer before steep 3.

Sadly I can’t edit my original post since Discourse doesn’t trust me yet :cry:.

So let’s clarify here : before step 3 (a.k.a. the First Reboot after setting up a new unprivileged user), Android apps have been installed and are working perfectly, Android apps appear alongside the native ones, I used F-Droid and Aurora Store, installed Whatsapp and some others.

After the reboot, every Android apps have disappeared for this user (and this one only) from the drawer and the Apps settings tab, and trying to install new ones doesn’t work, even after an “installation successful” notification.

AAS is running.

Better have a backup, the multiuser feature is mostly for non-android exusers of this OS