本文介绍了关于Android ADB Shell的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
关于Android adb shell 当我插入将成功插入的数据时,它们也会显示在
About Android adb shell When i am inserting the data that will insert successfully also they are displyed in
file explorer>data>data>package>database中 但是当我使用adb shell时,该时间显示没有可用的此类表: 我不知道会发生什么 请帮助我...
But when i use adb shell that time display no such table available: i don''t know what happen please help me...
推荐答案听起来您想从adb shell访问应用程序数据目录.由于您的文件通常不可读,因此通常无法访问它,但是,如果您的应用程序设置为可调试的,则可以以pgram用户身份运行adb shell. 在ADB Shell上,只需键入: It sounds like you want to access your apps data directory from adb shell. It''s nt normally accessible since your files are generally not world readable, however you can run the adb shell as your pgram''s user if your app is set as debuggable At the ADB shell, just type: run-as com.your.package.name
现在,您键入的所有命令都将作为您的应用程序执行,您应该能够进入该目录并查看/编辑文件. 来源: denniskubes/2012/09/25/read -android-data-folder-without-rooting/ [ ^ ]
Now any commands you type after this will be executed as your app and you should be able to get into that directory and view/edit files. Source: denniskubes/2012/09/25/read-android-data-folder-without-rooting/[^]
更多推荐
关于Android ADB Shell
发布评论