sqlite3的权限被拒绝的android被拒、权限、android

2023-09-06 00:13:07 作者:无惧精英

我试图访问我直接在我的Nexus开发应用程序的数据库,但我得到一个权限被拒绝当我试图执行sqlite3的命令。 我也试图启动根mod亚洲开发银行,但同样,权限被拒绝在设备上... 我想我将不得不这样做与模拟器,但我有很多的数据加载和它本来的手机更快的无线上网比仿真器的10倍... 除非有人有什么想法? 谢谢

I'm trying to access the database of the application I'm developping directly on my Nexus, but I get a "permission denied" when I tried to execute the "sqlite3" command. I also tried to start the adb in root mod, but again, permission denied on the device... I guess I will have to do that with the emulator but I have a lot of data to load and it would have been 10 times faster with the phone on Wifi than the emulator... Unless someone has any idea? thanks

推荐答案

典型。

我通过增加一个功能,我的应用程序的备份(副本)数据库到SD卡工作围绕这一烦恼。 亚行拉工作不受任何SD卡文件。

I worked around this annoyance by adding a feature to my app that backs up (copies) the DB to the SD card. adb pull works against any sdcard files.

编辑:固定的亚行拼写错误(是SDP

fixed "adb" misspelling (was "sdp".

 
精彩推荐
图片推荐