Running installed application with root on Android Emulator

一世执手 提交于 2020-01-01 20:00:43

问题


I'm running Android Emulator with root access.

I install RootExplorer using adb install RootExplorer.apk

Install is OK

But when I launch RootExplorer it cannot display system folders. In eclipse log I can see permission denied...

I thought that all applications in Android Emulator run with root permissions..

How to launch apk with root permissions?


回答1:


I thought that all applications in Android Emulator run with root permissions..

It is not true. Just that emulator is rooted. It doesn't mean all application can happily run with root privileges.

You need su binary and superuser app to run app with root privilege.

Try this link:
http://abd-tech.blogspot.com/2011/05/test-root-apps-on-android-emulator.html

Note: It will not work for ICS emulator. Try for older versions like Gingerbread emulator.



来源:https://stackoverflow.com/questions/6390634/running-installed-application-with-root-on-android-emulator

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!