在eclipse下调试android中的本机代码失败 [英] Debugging native code in android under eclipse fails

查看:201
本文介绍了在eclipse下调试android中的本机代码失败的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用 Debug As-> Android Native Application 选项在csipsimpleandroid应用程序中调试本机代码。我使用这个教程来做到这一点。我不断得到这些错误:

I'm trying to debug the native code in the "csipsimple" android app using the Debug As->Android Native Application option. I used this tutorial to do it. I keep getting these errors:

[2013-06-09 17:24:24 - SipHome] Unknown Application ABI: 
[2013-06-09 17:24:24 - SipHome] Android
[2013-06-09 17:24:24 - SipHome] Unknown Application ABI: 
[2013-06-09 17:24:24 - SipHome] NDK:
[2013-06-09 17:24:24 - SipHome] Unknown Application ABI: 
[2013-06-09 17:24:24 - SipHome] Uses
[2013-06-09 17:24:24 - SipHome] Unknown Application ABI: 
[2013-06-09 17:24:24 - SipHome] local
[2013-06-09 17:24:24 - SipHome] Unknown Application ABI: 
[2013-06-09 17:24:24 - SipHome] settings
[2013-06-09 17:24:24 - SipHome] Unknown Application ABI: 
[2013-06-09 17:24:24 - SipHome] 
[2013-06-09 17:24:24 - SipHome] Unknown Application ABI: 
[2013-06-09 17:24:24 - SipHome] 
[2013-06-09 17:24:24 - SipHome] Unknown Application ABI: 
[2013-06-09 17:24:24 - SipHome] 
[2013-06-09 17:24:24 - SipHome] Unknown Application ABI: 
[2013-06-09 17:24:24 - SipHome] 
armeabi
[2013-06-09 17:24:24 - SipHome] Unable to detect application ABI's

我试过

尝试调试NDK时无法检测应用程序ABI (不相关,我没有使用Sequoya),

Unable to detect application ABI's when trying to debug NDK (not relevant, I didn't use Sequoya),

http://www.cocos2d-x.org/boards/6/topics/24216 (没有工作)

https://groups.google.com/forum/?fromgroups#!topic/android-ndk/icsQtRy1FZQ (神秘地一次工作)

http:/ /www.mjbshaw.com/2012/11/android-ndk-eclipse-fixing-unknown.html (不是问题)

http://en.it-usenet.org/thread/12874/17301 / (没有工作)

我正在使用ADT软件包v22(eclipse 4.2.1),使用Android NDK r8e,在Ubuntu 12.10

I'm using the ADT bundle v22 (eclipse 4.2.1), with the Android NDK r8e, under Ubuntu 12.10.

csipsimple使用jni和swig来调用本地代码。

csipsimple uses jni and swig to call the native code.

我很绝望,帮助我!

推荐答案

对于NDK R9(在其他人中工作,但行#可能不同):

For NDK R9 (works in others too but line# may differ):

${NDK}/build/core/add-application.mk
line 138

在行开始添加#。

# $(call __ndk_info,WARNING: APP_PLATFORM $(APP_PLATFORM) is larger than \
    android:minSdkVersion $(APP_MIN_PLATFORM_LEVEL) in $(APP_MANIFEST))

一个字符,30秒修复...去调​​试本机代码。

One character, 30 second fix ... go debug native code.

这篇关于在eclipse下调试android中的本机代码失败的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆