问题
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 ?
回答1:
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.
来源:https://stackoverflow.com/questions/28253323/install-apps-from-unknown-sources-inside-work-profile-in-android-lollipop-5-0-1