简体   繁体   中英

Android Eclipse and configuring NDK Toolchains for project

I am using Android Eclipse ADT on Windows 8.1 I have installed both Cygwin and MinGW. I have installed the SDK, NDK and Cocos2d-x library.

My question is that my Cocos2d-x project is expecting this toolchain library in the NDK:

ndk\toolchains\arm-linux-androideabi-4.4.3\prebuilt\darwin-x86\lib\gcc\arm-linux-androideabi\4.4.3\include

I browse to the ndk\\toolchains folder and I see several other versions:

arm-linux-androideabi-4.6
arm-linux-androideabi-4.8
arm-linux-androideabi-clang3.3

And a few other versions, but not the 4.4.3 version.

My question is then, should I

1) With Cygwin or MinGW compile "arm-linux-androideabi-4.4.3" and how to do this.

  • or -

2) With some setting in ADT should I change the version to the newest one "arm-linux-androideabi-4.8". Please direct me to this setting if this is the correct choice.

Thanks in advance for your help!


EDIT More importantly than trying to put the right NDK in there, it clearly states, "Invalid project path: Include path not found (C:\\development\\lib\\android\\ndk\\toolchains\\arm-linux-androideabi-4.4.3\\prebuilt\\darwin-x86\\lib\\gcc\\arm-linux-androideabi\\4.4.3\\include)" If that was a Visual Studio error I would look for where the Project Path is being defined. Why can't I do that with Eclipse ADT?

It seems to me that you need a compiled arm-linux-arndroideabi-4.4.3 toolchain.

You can download the ndk-r8e toolchain with a compiled arm-linux-arndroideabi-4.4.3 from the following link:

32-OS: https://dl.google.com/android/ndk/android-ndk-r8e-windows-x86.zip

64-OS: https://dl.google.com/android/ndk/android-ndk-r8e-windows-x86_64.zip

Extra the zip file, you'll find android-ndk-r8e\\toolchains\\arm-linux-androideabi-4.4.3\\prebuilt

Hope that helps.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM