Install Apps from unknown sources inside work profile in Android Lollipop 5.0.1

Sagar picture Sagar · Jan 31, 2015 · Viewed 7.6k times · Source

Question is related to Work Profile in "Android for work" . I have written a sample app that creates a managed work profile and sets itself as the profile owner.

I will need to push some enterprise applications through the profile owner . So when i try to install , it says "Install blocked" , Cannot install from unknown sources .

If i toggle the button (Setting->security->Unknown Source) on and off , settings are not getting reflected in the work profile. Is there a way to install the apps in work profile from unknown sources ?

Answer

Jun Hyuk Han picture Jun Hyuk Han · Jan 31, 2015

Perhaps it could be resolved with future updates, but as of now, Android 5.0 only allows primary users to install apps from unknown sources.

Alternatively, you could install your app using adb install to push your app for both users.