NDK调试 No symbol table is loaded. Use the "file" command.
来源:互联网 发布:共享单车资源配置数据 编辑:程序博客网 时间:2024/06/08 19:41
No symbol table is loaded. Use the "file" command.
使用ndk-gdb --start 启动程序第一个activity,但是此时so文件并没有被加载。
解决方法:首先打开程序并使用,在保证so文件已经被使用的情况下,调用ndk-gdb命令调试程序进程。
正确流程:
1.创建一个模拟器或者使用真机运行想要调试的程序,确保so文件已经被加载。
使用ndk-gdb --start 启动程序第一个activity,但是此时so文件并没有被加载。
解决方法:首先打开程序并使用,在保证so文件已经被使用的情况下,调用ndk-gdb命令调试程序进程。
正确流程:
1.创建一个模拟器或者使用真机运行想要调试的程序,确保so文件已经被加载。
一个比较简单的方法,在load so库的java文件中添加一个无关紧要的方法,比如:
2.然后在主activity起来的时候,调用一下这个方法.
注:按照步骤来,一定可以的,如不行,可在留言中留下问题,这几天一直在搞NDK调试,总结了不少方法,或许可以帮助到你。
public static void test(){ Log.i(tag, "test"); }
2.然后在主activity起来的时候,调用一下这个方法.
注:按照步骤来,一定可以的,如不行,可在留言中留下问题,这几天一直在搞NDK调试,总结了不少方法,或许可以帮助到你。
0 0
- NDK调试提示No symbol table is loaded. Use the "file" command.
- NDK调试 No symbol table is loaded. Use the "file" command.
- No symbol table is loaded. Use the "file" command
- No symbol table is loaded. Use the "file" command.解决方法
- No symbol table is loaded. Use the "file" command 解决方案
- No symbol table is loaded. Use the "file" command.
- No symbol table is loaded. Use the "file" command.解决方法
- No symbol table is loaded. Use the "file" command.
- No symbol table is loaded. Use the "file" command 解决方案
- No symbol table is loaded. Use the "file" command. 解决方案
- 交叉调试时arm-linux-gdb提示:No symbol table is loaded. Use the "file" command.
- 解决gdb调试报错“No symbol table is loaded. Use the "file" command.”
- gdb调试错误:No symbol table is loaded. Use the "file" command.
- 解决gdb调试报错“No symbol table is loaded. Use the "file" command.”
- 初次使用gdb调试器,出现的No symbol table is loaded. Use the "file" command.问题
- gdb调试错误:No symbol table is loaded. Use the "file&qu
- nginx中gdb调试出错(No sysbol table is loaded.Use the "file" command)
- 使用QEmu调试Linux内核 “No symbol table is loaded.”
- U盘怎么装win7
- 超时时间已到。超时时间已到,但是尚未从池中获取连接。出现这种情况可能是因为所有池连接均在使用,并且达到了最大池大小。
- 正则表达式 Regular Expression 学习笔记(二):Grouping 集合
- Android用surface直接显示yuv数据(三)
- linux
- NDK调试 No symbol table is loaded. Use the "file" command.
- HDU 1232 畅通工程
- python之dict学习笔记之二
- C/C++中,空数组、空类、类中空数组的解析及其作用。
- vi编辑器的使用
- 字符串转成:字符+字符出现次数 。如1233422222->1121324125
- Go_os
- tpcc-mysql 中tpcc-load初始化数据执行结果
- 9615 wifi热点调试记录----热点连接