DEV Community

Daniel Gomez
Daniel Gomez

Posted on

How to install an app on Android Work Profile for Debug

  1. List all of your users (to find the number of the work profile (in the example the 11 is the work profile):
$ adb shell pm list users
Users:
    UserInfo{0:Propietario:13} running
    UserInfo{11:Perfil de trabajo:30} running
Enter fullscreen mode Exit fullscreen mode
  1. Copy the APK and then install it for that user with:
adb push app-debug.apk /data/local/tmp 
adb shell pm install -t --user 11 /data/local/tmp/app-debug.apk
Enter fullscreen mode Exit fullscreen mode

Top comments (0)