Note that there are some explanatory texts on larger screens.

plurals
  1. PO"Unknown Application ABI:" while 'debug as native application'
    text
    copied!<p>I'v got such problem:</p> <pre><code>[2013-11-18 14:38:50 - HelloJni] Unknown Application ABI: [2013-11-18 14:38:50 - HelloJni] [2013-11-18 14:38:50 - HelloJni] Unable to detect application ABI's </code></pre> <p>This problem occures on every project, which I am trying to debug 'as native'. I have seen <a href="https://stackoverflow.com/questions/17010969/debugging-native-code-in-android-under-eclipse-fails">this</a>, <a href="https://stackoverflow.com/questions/12733125/unable-to-detect-application-abis-when-trying-to-debug-ndk">this</a> and <a href="https://stackoverflow.com/questions/18245867/getting-unknown-application-abi-when-trying-to-debug-some-c-code-in-my-android">this</a> topics, but this solutions have not brought any effect in my case.</p> <p>On other computer or on a VM the same project runs fine with the same settings.</p> <p>Manifest</p> <pre><code> ... &lt;uses-sdk android:minSdkVersion="14" android:targetSdkVersion="14" /&gt; &lt;application android:label="@string/app_name" android:debuggable="true"&gt; ... </code></pre> <p>Android.mk</p> <pre><code>LOCAL_PATH := $(call my-dir) include $(CLEAR_VARS) LOCAL_MODULE := hello-jni LOCAL_SRC_FILES := hello-jni.cpp include $(BUILD_SHARED_LIBRARY) </code></pre> <p>Verison in Project options also has been set to api-14.</p> <p>I'v also downloaded new version of eclipse, sdk, ndk. I cleaned all system-wide variables and PATH elements. My machine runs under win7x64.</p> <p>PS. Problem occures only if I am trying to debug, when i build and run it - it runs great.</p> <p><strong>Edit1</strong> this is my <code>ndk-build DUMP_APP_ABI</code> outline</p> <pre><code>c:\Users\Usr\workspace\HelloJni&gt;D:\ndk\ndk-build.cmd DUMP_APP_ABI armeabi c:\Users\Usr\workspace\HelloJni&gt; </code></pre> <p><strong>Edit2</strong> Important notice. I'v tried to run <code>debug as native</code> on different machines with next steps <code>git clone</code> -> import to ide -> Debug as native. All machines have nearly the same configuration (Win7 is common for all of them). This problem was only on my computer. I'v tried different IDEs(eclipse+cdt, adt), cleaned <code>path</code>, checked line endings. Finnaly I desided to develop native part of code under linux VM. It was my solution. Also I didn't need cygwin anymore to crosscompile some libraries.</p>
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload