Rooting android emulator

2019-06-11 17:50发布

问题:

The problem is that, when I write "su" in terminal emualator, I have "su:uid 10032 not allowed to su". So why I need to root the emulator?

回答1:

You should be root when you log into emulator:

$ adb shell
# ps
...
root     271   37    740   312   c003b100 afe0d14c S /system/bin/sh
...
#

What do you get on the sh ps line?