NDK Debug for Nexus 9 arm64-v8a build not working for eclipse

960 views
Skip to first unread message

Amar Nikhanj

unread,
Jan 23, 2015, 10:44:37 PM1/23/15
to andro...@googlegroups.com
I keep getting the following error:

[2015-01-23 19:27:47 - NativeTestApp] Unable to find a compatible ABI   
[2015-01-23 19:27:47 - NativeTestApp] ABI's supported by the application: armeabi
[2015-01-23 19:27:47 - NativeTestApp] ABI's supported by the device: arm64-v8a, null

when my Application.mk is empty. When I have an Application.mk and I set APP_ABI to arm64-v8a, all it says is:

[2015-01-23 19:33:27 - NativeTestApp] Unknown Application ABI:    
[2015-01-23 19:33:27 - NativeTestApp] arm64-v8a
[2015-01-23 19:33:27 - NativeTestApp] Unable to detect application ABI's

Seems to me like the application wants to compile armeabi but the target is arm64. It works fine when not running as native debug.

Also, as long as I set APP_PLATFORM := android-19 (and my manifest), debug DOES work for the Nexus 10 tablet running that version. So I do not think it is Eclipse.

Any help would be appreciated.

Leander Bessa Beernaert

unread,
Jan 26, 2015, 5:03:35 PM1/26/15
to andro...@googlegroups.com
I think that APP_PLATFORM should be set to 21, since arm64 has only been introduced with android 5.0. 



--
You received this message because you are subscribed to the Google Groups "android-ndk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to android-ndk...@googlegroups.com.
To post to this group, send email to andro...@googlegroups.com.
Visit this group at http://groups.google.com/group/android-ndk.
For more options, visit https://groups.google.com/d/optout.

Amar Nikhanj

unread,
Mar 1, 2015, 7:14:02 PM3/1/15
to andro...@googlegroups.com
I did do APP_PLATFORM := android-21 and I still had the same issue.

senicy

unread,
Mar 23, 2015, 11:54:22 AM3/23/15
to andro...@googlegroups.com
ADT is not support arm64-v8a. 

plugins/com.android.ide.eclipse.ndk/src/com/android/ide/eclipse/ndk/internal/NativeAbi.java

package com.android.ide.eclipse.ndk.internal;

import com.android.SdkConstants;

public enum NativeAbi {
    armeabi(SdkConstants.ABI_ARMEABI),
    armeabi_v7a(SdkConstants.ABI_ARMEABI_V7A),
    mips(SdkConstants.ABI_MIPS),
    x86(SdkConstants.ABI_INTEL_ATOM);


2015년 3월 2일 월요일 오전 9시 14분 2초 UTC+9, Amar Nikhanj 님의 말:

He Zephyroal

unread,
Jul 7, 2015, 6:21:31 AM7/7/15
to andro...@googlegroups.com
So, is there any solution for this issue?
p.s. I'd upgraded to ndk-r10e

在 2015年3月23日星期一 UTC+8下午11:54:22,senicy写道:

kasy lamy

unread,
Jul 26, 2015, 11:51:49 PM7/26/15
to android-ndk, zeph...@gmail.com
HI, I meet the same question, have you solved the problem? 

在 2015年7月7日星期二 UTC+8下午6:21:31,He Zephyroal写道:
Reply all
Reply to author
Forward
0 new messages