Root Access on Android SDK (Emulator) [duplicate]

你离开我真会死。 提交于 2019-12-23 03:47:14

问题


I have installed SQLite Editor app on the emulator but its showing that ;The application don’t have root permission. Tried apps like SuperUser to provide root access bur unable to do the same.

What is the best way to gain root access from Emulator itself? Please post the step by step process to gain the root access on Android SDK.


回答1:


Use the shell, that already gives you root access on the emulator:

(on your computer)
$ adb -e shell
$ cd /data/data/org.myapp/databases
$ sqlite3 mydb.db

AFAIK, you can't give give an app super user access on the emulator by installing the Superuser.apk.



来源:https://stackoverflow.com/questions/8425352/root-access-on-android-sdk-emulator

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