TipsAndTricks/apk ставится в приватное пространство вместо обычного

14 lines
No EOL
588 B
Text
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

Если у вас 1+ пользователь на теле, включая ЧАстное/Личное пространство или полноценных юзеров, то простая установка через adb может ставить пакет "не туда".
Решение: прописывать ID юзера при установке:
```
adb install --user <user ID> <путь к apk>
```
А получить IDшники можно так:
```
~ adb shell pm list users
Users:
UserInfo{0:u_0180p:4c13} running
UserInfo{10:Private space:1010} running
```