关于Android ADB Shell

编程入门 行业动态 更新时间:2024-10-26 22:21:21
本文介绍了关于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

本文发布于:2023-10-07 14:46:18,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1469676.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:Android   ADB   Shell

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!