jni代码调试-Eclipse中的NDKr8,调试jni代码

问题描述

Eclipse中的NDKr8,调试jni代码

按照http://tools.android.com/recent/usingthendkplugin配置好NDK的调试环境后,也可以对CPP代码进行提示编写了,但在进行调试的时候,点击Debug as android Native application后,报如下错误?请问各位大神,什么情况啊?怎么解决?

(no debugging symbols found)
Error while mapping shared library sections:/system/bin/linker: No such file or directory.
Error while mapping shared library sections:libstdc++.so: No such file or directory.
Error while mapping shared library sections:libm.so: No such file or directory.
Error while mapping shared library sections:
liblog.so: No such file or directory.
Error while mapping shared library sections:
libcutils.so: No such file or directory.
Error while mapping shared library sections:
libz.so: No such file or directory.
Error while mapping shared library sections:
libutils.so: No such file or directory.
Error while mapping shared library sections:
libbinder.so: No such file or directory.
Error while mapping shared library sections:
libexpat.so: No such file or directory.
Error while mapping shared library sections:
libcrypto.so: No such file or directory.
Error while mapping shared library sections:
libgabi++.so: No such file or directory.
Error while mapping shared library sections:
libicuuc.so: No such file or directory.
Error while mapping shared library sections:
libicui18n.so: No such file or directory.
Error while mapping shared library sections:
libssl.so: No such file or directory.
Error while mapping shared library sections:
libstlport.so: No such file or directory.
Error while mapping shared library sections:
libnativehelper.so: No such file or directory.
Error while mapping shared library sections:
libnetutils.so: No such file or directory.
Error while mapping shared library sections:
libGLESv2_dbg.so: No such file or directory.
Error while mapping shared library sections:
libEGL.so: No such file or directory.
Error while mapping shared library sections:
libwpa_client.so: No such file or directory.
Error while mapping shared library sections:
libhardware_legacy.so: No such file or directory.
Error while mapping shared library sections:
libpixelflinger.so: No such file or directory.
Error while mapping shared library sections:
libhardware.so: No such file or directory.
Error while mapping shared library sections:
libemoji.so: No such file or directory.
Error while mapping shared library sections:
libjpeg.so: No such file or directory.
Error while mapping shared library sections:
libsecnativefeature.so: No such file or directory.
Error while mapping shared library sections:
libharfbuzz.so: No such file or directory.
Error while mapping shared library sections:
libquramimagecodec.so: No such file or directory.
Error while mapping shared library sections:
libskia.so: No such file or directory.
Error while mapping shared library sections:
libui.so: No such file or directory.
Error while mapping shared library sections:
libGLESv2.so: No such file or directory.
Error while mapping shared library sections:
libremotedesktop_client.so: No such file or directory.
Error while mapping shared library sections:
libgui.so: No such file or directory.
Error while mapping shared library sections:
libcamera_client.so: No such file or directory.
Error while mapping shared library sections:
libsqlite.so: No such file or directory.
Error while mapping shared library sections:
libdvm.so: No such file or directory.
Error while mapping shared library sections:
libGLESv1_CM.so: No such file or directory.
Error while mapping shared library sections:
libETC1.so: No such file or directory.
Error while mapping shared library sections:
libsisodrm.so: No such file or directory.
Error while mapping shared library sections:
libsonivox.so: No such file or directory.
Error while mapping shared library sections:
libstagefright_foundation.so: No such file or directory.
Error while mapping shared library sections:
libmedia.so: No such file or directory.
Error while mapping shared library sections:
libsensor_yamaha_test.so: No such file or directory.
Error while mapping shared library sections:
libnfc_ndef.so: No such file or directory.
Error while mapping shared library sections:
libusbhost.so: No such file or directory.
Error while mapping shared library sections:
libQmageDecoder.so: No such file or directory.
Error while mapping shared library sections:
libhwui.so: No such file or directory.
Error while mapping shared library sections:
libbluedroid.so: No such file or directory.
Error while mapping shared library sections:
libdbus.so: No such file or directory.
Error while mapping shared library sections:
libandroid_runtime.so: No such file or directory.
Error while mapping shared library sections:
libvorbisidec.so: No such file or directory.
Error while mapping shared library sections:
libstagefright_yuv.so: No such file or directory.
Error while mapping shared library sections:
libdrmframework.so: No such file or directory.
Error while mapping shared library sections:
libchromium_net.so: No such file or directory.
Error while mapping shared library sections:
libstagefright_amrnb_common.so: No such file or directory.
Error while mapping shared library sections:
libstagefright_enc_common.so: No such file or directory.
Error while mapping shared library sections:
libstagefright_avc_common.so: No such file or directory.
Error while mapping shared library sections:
libsavscmn.so: No such file or directory.
Error while mapping shared library sections:
libsavsff.so: No such file or directory.
Error while mapping shared library sections:
libstagefright.so: No such file or directory.
Error while mapping shared library sections:
libmtp.so: No such file or directory.
Error while mapping shared library sections:
libexif.so: No such file or directory.
Error while mapping shared library sections:
libmedia_jni.so: No such file or directory.
Error while mapping shared library sections:
libbcc.so: No such file or directory.
Error while mapping shared library sections:
libbcinfo.so: No such file or directory.
Error while mapping shared library sections:
libRS.so: No such file or directory.
Error while mapping shared library sections:
librs_jni.so: No such file or directory.
Error while mapping shared library sections:
libandroid.so: No such file or directory.
Error while mapping shared library sections:
libwebcore.so: No such file or directory.
Error while mapping shared library sections:
libsrv_um.so: No such file or directory.
Error while mapping shared library sections:
libpvr2d.so: No such file or directory.
Error while mapping shared library sections:
gralloc.omap4.so: No such file or directory.
(no debugging symbols found)
warning: Unable to find dynamic linker breakpoint function.
GDB will be unable to debug shared library initializers
and track explicitly loaded dynamic code.
warning: shared library handler failed to enable breakpoint
No symbol table is loaded. Use the "file" command.
[Switching to Thread 26481]
Cannot find bounds of current function
Quit (expect signal SIGINT when the program is resumed)

时间: 2024-10-23 12:47:39

jni代码调试-Eclipse中的NDKr8,调试jni代码的相关文章

F5调试代码的过程中,如何知道目前代码运行的位置

问题描述 F5调试代码的过程中,如何知道目前代码运行的位置,就是代码运行到哪行,请各位指教 解决方案 解决方案二:你知道F10和F11吗?在IDE里面试试她们是干什么的...解决方案三:引用1楼u012804018的回复: 你知道F10和F11吗?在IDE里面试试她们是干什么的... f10f11我会用,就是窗体已经按f5启动了,在ide调试f10,看不到窗体的变化,我想要通过操控窗体看到代码运行到哪行,正在学习别人的程序,有的功能找不到代码位置.解决方案四:引用2楼fyfy918的回复: Qu

蓝桥杯练习系统编程-我的代码在eclipse中能够运行但是无法通过蓝桥杯练习系统

问题描述 我的代码在eclipse中能够运行但是无法通过蓝桥杯练习系统 问题描述 给定圆的半径r,求圆的面积. 输入格式 输入包含一个整数r,表示圆的半径. 输出格式 输出一行,包含一个实数,四舍五入保留小数点后7位,表示圆的面积. 说明:在本题中,输入是一个整数,但是输出是一个实数. 对于实数输出的问题,请一定看清楚实数输出的要求,比如本题中要求保留小数点后7位,则你的程序必须严格的输出7位小数,输出过多或者过少的小数位数都是不行的,都会被认为错误. 实数输出的问题如果没有特别说明,舍入都是按

如何在Eclipse中查看第三方库的代码

(当然你要有他的代码!)相信用过android-support-v4.jar的朋友一定知道,添加了lib库之后,我们也无法看到他的源代码和文档,本文来解决这个问题: 以android-support-v4为例来讲解: 1.我们只需要在同一个目录下建一个properties文件,名字跟你所用的support jar包相同,即android-support-v4.jar会有一个对应的android-support-v4.jar.properties的文件. 2.在文件中输入源码的路径即可(注意转义字

在 Visual Studio 调试器中指定符号 (.pdb) 和源文件

查找并指定符号文件和源文件:指定符号加载行为.使用符号和源服务器上:加载符号自动或在要求.   内容 查找符号 (.pdb) 文件 查找源文件   查找符号 (.pdb) 文件 说明 在之前的 Visual Studio 版本与 2012 中,调试在远程计算机上的管理的代码需要符号文件还查找了远程计算机. 现在,这已经不成问题了. 所有符号文件必须本地计算机或位于 Visual Studio 选项 对话框的 调试 / 符号 页上指定的位置. 如果调试器搜索 .pdb 文件 | 符号文件的原因需要

eclipse中js提示-Eclipse如何自动提示js代码

问题描述 Eclipse如何自动提示js代码 之前用的是myeclipse,现在公司要用eclipse,之前在写js时,全部时靠自己的记忆来写js代码, 毕竟js代码过多,一些标签不可能都记住,每次要写还要百度,很不方便,我就百度找了下 有没有方法让eclipse自动提示js代码,在网上找了一大堆,看到许多一模一样的帖子,不用 安装插件就可以提示java.js.html代码,我照着他们的方法配置了,然而并没有什么卵用! 大家能不能支支招,是什么原因,有没有什么其他比较好的办法解决这个问题 解决方

Eclipse中如何终止循环cin的输出

Eclipse中, 使用CDT编写C++代码时, 循环(while)cin输入程序, 需要终止, 如: while (cin>>i) S.insert(i); Eclipse的终止方法是:   首先在输入数据框内, 使用回车(Enter) -> 再终止(terminate)程序, 即输出结果. 更多精彩内容:http://www.bianceng.cnhttp://www.bianceng.cn/Programming/cplus/ 以上是小编为您精心准备的的内容,在的博客.问答.公众号

eclipse-在Eclipse中怎么编写一段代码可以自动找到想要的文件和打印出所在的路径?

问题描述 在Eclipse中怎么编写一段代码可以自动找到想要的文件和打印出所在的路径? 在Eclipse中怎么编写一段代码可以自动找到想要的文件和打印出所在的路径? 解决方案 http://blog.csdn.net/aotian16/article/details/5775778

创建标准化代码在VS中实现敏捷开发

标准化程序开发是敏捷开发中的核心内容之一.标准化代码不仅有利于团队之间的合作,也有利于模块之间的集成,节省时间与成本.在VS中也为创建标准化代码做出了很多努力.笔者在这篇文章中就跟大家分享一下,在VS平台中创建标准化代码的注意事项.具体的说,就是五大禁令和四大推荐. 禁令一:不要随意检查代码. 这可能跟用户正常的认识有所差异.有些开发人员可能认为在开发过程中,检查代码是必须的.不过在敏捷开发的模型中,这恰恰是禁止的.因为如果在代码的编写中,不时的检查代码,会浪费开发人员大量的时间与精力.当然,这

g++ c++-g++中一段代码在VC++中编译出现问题

问题描述 g++中一段代码在VC++中编译出现问题 出错代码如下: #ifdef OLD_LIBC friend istream & operator>>(istream &s, Matrix &A); #else // template friend istream & operator>><>(istream &s, Matrix &A); #endif *源程序是g++中的开源程序,在Mingw中编译可以通过,而在V