NDK-gdb的错误ERROR: Could not extract package's data directory...的解决方法
来源:互联网 发布:文思海辉3年java工资 编辑:程序博客网 时间:2024/05/16 11:50
诊断方法:
adb shell run-as com.spb.shell3d /system/bin/sh -c pwd
run-as: Package 'com.spb.shell3d' is not debuggable
这说明在manifest中间没有显式说明这个程序可以debug,我们需要在application中间加入这个属性
然后再测试adb shell run-as com.spb.shell3d /system/bin/sh -c pwd
/data/data/com.spb.shell3d
这就说明ok了,可以继续使用run-as的debug了。
adb shell run-as com.spb.shell3d /system/bin/sh -c pwd
run-as: Package 'com.spb.shell3d' is not debuggable
这说明在manifest中间没有显式说明这个程序可以debug,我们需要在application中间加入这个属性
然后再测试adb shell run-as com.spb.shell3d /system/bin/sh -c pwd
/data/data/com.spb.shell3d
这就说明ok了,可以继续使用run-as的debug了。
- NDK-gdb的错误ERROR: Could not extract package's data directory...的解决方法
- NDK-gdb的错误ERROR(不同于上一篇): Could not extract package's data directory...的解决方法
- ndk-gdb 4.3 error(Could not extract package's data directory)
- ERROR: Could not extract package's data directory. Are you sure that your installed application is d
- Could not extract package's data directory. Are you sure that your installed application is debuggab
- NDK的错误ERROR: The device does not support the application's targetted CPU ABIs!解决方法
- 启动weblogic的错误:Could not obtain an exclusive lock to the embedded LDAP data files directory
- [ndk]Type 'size_t' could not be resolved 我的解决方法
- depmod: ERROR: could not open directory /lib/modules/ 解决方法
- Error 1606 Could Not Access Network Location %SystemDrive%/inetpub/wwwroot/ 的错误解决方法
- eclipse报the quick fix could not resolve the error错误的解决方法
- Can not write to cache files, please check directory ./data/ and ./data/cache/ . 的解决方法
- apache2: Could not reliably determine the server's fully qualified domain name, using 127.0.1.1 for ServerName错误的解决方法
- PANIC: Could not open: AVD错误的解决方法
- Could not build module 'XCTest'错误的解决方法
- “Service 'Driver' could not bind on port”错误的解决方法
- qt的坑:Could not create directory "E:\oysl\QT\Error in " Util.asciify("build-untitle
- virgo服务器中关于"An Import-Package could not be resolved"类的异常解决方法
- pureftp 无法修改最大连接数
- BZOJ 2833(数列对计数-分段Dp)
- linux添加用户、组/删除用户、组
- jd2chm 使用方法
- iis
- NDK-gdb的错误ERROR: Could not extract package's data directory...的解决方法
- Path does not point to a directory.
- 插补搜寻法
- C语言中的#,##
- 好想回到童年
- 8天学通MongoDB——第一天 基础入门
- 系统API函数获取系统时间
- android中的textview显示汉字不能自动换行的一个解决办法
- 启用缓存,禁用缓存