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)

Billboard image

The Next Generation Developer Platform

Coherence is the first Platform-as-a-Service you can control. Unlike "black-box" platforms that are opinionated about the infra you can deploy, Coherence is powered by CNC, the open-source IaC framework, which offers limitless customization.

Learn more

👋 Kindness is contagious

Please leave a ❤️ or a friendly comment on this post if you found it helpful!

Okay