How to enable multiple users in Android virtual devices?

The Android multi-user feature is not yet integrated in Genymotion. If you need to test your application in a multi-user context or with a restricted profile, you can enable the feature by running the following adb commands:

adb remount
adb shell "echo fw.max_users=4 >> /system/build.prop"
adb shell sync
adb reboot

Audience

This article is for Genymotion users who want to enable Android multi-user support in virtual devices.

Related articles