8

Is there any way how to enable multiuser support in the new (emulator) AVD with Android 4.2 (ADT version 21)? On real device there should be User menu item in Settings, but on my AVD is missing. I know that this feature is enabled only for certain tablet devices but I didn't find any kind of setting when creating AVD or editing device in the new Device Definitions section. Even creating device from Nexus 7 profile with Android 4.2 didn't help.
Any suggestions how to enable this feature? Thanks!

Warlock
  • 2,481
  • 4
  • 31
  • 45
  • I asked this question in ADOH here https://www.youtube.com/watch?v=PaH7EC6FYfk. Time 32:00. They were not sure about the answer and advice was to create "large" AVD or find some option when creating device. So I'm at the same place as I was. – Warlock Nov 22 '12 at 15:35

1 Answers1

6

For me this works on a 10.1 Jelly Bean avd:

  1. adb shell
  2. su
  3. setprop fw.max_users 5

From here: http://forum.xda-developers.com/showthread.php?p=34350909

flo
  • 76
  • 2
  • Thanks! This works. Just for the record - You don't need to have "big screen"/tablet device to enable this feature, but you don't see users on lock screen. – Warlock Nov 30 '12 at 11:11
  • @Warlock: i have tried it out but getting "setprop: command not found" this is beacause dnt know the path in which i have to go and run it. could you help me? – Bhavesh Patadiya Dec 20 '12 at 07:14
  • Does this hack still works in latest android emulator . Tried for 4.3 AVD, it didn't work. – Tushar Jul 28 '13 at 10:04
  • When I select Add user, the emulator getting **restart**. Anything more I need to do..?? – Swapnil Kale Nov 22 '13 at 07:17