在月食调试本土code在Android的失败 [英] Debugging native code in android under eclipse fails

查看:194
本文介绍了在月食调试本土code在Android的失败的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我试图调试使用调试AS-&GT本土code。在csipsimpleAndroid应用程序,Android原生应用程序选项。我用教程做到这一点。我不断收到这些错误:

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

我试过

<一个href="http://stackoverflow.com/questions/12733125/unable-to-detect-application-abis-when-trying-to-debug-ndk">Unable检测应用程序ABI的尝试调试NDK 时(不相关的,我没有用Sequoya),

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

<一个href="http://www.cocos2d-x.org/boards/6/topics/24216">http://www.cocos2d-x.org/boards/6/topics/24216 (没有工作)

<一个href="https://groups.google.com/forum/?fromgroups#!topic/android-ndk/icsQtRy1FZQ">https://groups.google.com/forum/?fromgroups#!topic/android-ndk/icsQtRy1FZQ (曾神秘地仅一次)

https://groups.google.com/forum/?fromgroups#!topic/android-ndk/icsQtRy1FZQ (worked mysteriously one time only)

<一个href="http://www.mjbshaw.com/2012/11/android-ndk-eclipse-fixing-unknown.html">http://www.mjbshaw.com/2012/11/android-ndk-eclipse-fixing-unknown.html (没有问题)

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

我使用的ADT包V22(日食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和痛饮调用本机code。

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

加#在该行的开始。

add "#" at start of the line.

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

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

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

这篇关于在月食调试本土code在Android的失败的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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