Install APK in Work Profile via ADB in Android
问题 Let's say we have a Work Profile (Android For Work) enabled in Android device. Does anyone know how to install an APK via ADB in Work Profile rather than personal profile. I have seen the ADB documentation and there's a way to get the User ID but using the same ID I am unable to install an APK. To get ID : adb shell pm list users Install command : adb install -r --user 12 app_name.apk Error message : Performing Streamed Install adb: failed to install app-prodDebug.apk: Security exception: