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.
Related
I am trying to build an old project and something has changed where the project tries to target mips64el-linux-android. I don't reference this build targets within in build variants and it's not the sdk build version I specify in the project properties panel. Even so, I do have the native sdk installed so it should build in this case.
Any ideas?
1.Donwload NDK package
2.Open the "toolchains" folder after unzipping
3.Compare with android-sdk->ndk-bundle->toolchains folder
4.Find the missing folder and copy it in the past
5.Recompile
Which NDK version are you using? Google has dropped mips support in NDK r17.
You need to download older NDK for older projects. I use NDK r10e and sometimes r14 for my older projects. If project is too old you can try with r10.
In your project build script you need to specify downloaded NDK's path. You need to download and manually extract NDK (I believe Android Studio will not download older version).
i am using windows 7-64bit OS
Want to integrate NDK, Get help from NDK installation steps
Cannot find out Cmake which required for Ndk
Can any one help me to get Cmake, without cmack its giving error
Find screen of sdk tools
My recent Android Studio 2.2 preview 3 installation can't seem to find CMake.
I tried installing it from the SDK Tools but there's no such package...
We won't be able to support CMake (or ndk-build) on 32 bit OS because it is not supported in CLion which is the tech we use for the C++ editor. The root cause is memory\address-space limits.
Here's a helper page where I describe Android Studio C++ support including the 64 bit requirement: https://sites.google.com/a/android.com/tools/tech-docs/external-c-builds
I hope this helps!
- Jomo
I want to develop Android apps with Qt. I have Extracted the Android SDK and NDK to C:\. This is the NDK I downloaded:
https://squeak-android-vm.googlecode.com/files/android-ndk-1.6_r1-windows.zip
But Qt 5.2.1 does not detect the NDK and this error is shown:
"C:\android-ndk-1.6_r1" does not seem to be an Android NDK top folder.
Do I downloaded a wrong NDK? Did I miss something?
Thanks
First of all I strongly recommend to install the latest version of Qt for Android (5.4.1 at present). Also you should download and install Android SDK (ver. 22+) and NDK (ver. r9+) from here.
After downloading extract them. For Android SDK you should have a connection to Internet and download the desired tools. you have to install at least Android API-13! You should also install Android SDK Platform-tools and Android SDK Build-tools.
I had the same problem. The problem was I first created a Android NDK folder to extract the Android NDK files into it. The extraction procession then created a sub folder of the same name. To solve the problem, I moved the sub folder one directory level up and deleted the initial Android NDK folder I first created.
I have downloaded android-ndk-r8b.zip(180MB),but I want to know if I need to download anything else?
I am using the NDK because I want to use C/C++ native code (used in tesseract3.0 project) in my android library.
I am using Eclipse IDE(Indigo).
I also installed the following
installed CDT from Eclipse update site http://download.eclipse.org/tools/cdt/releases/indigo.
installed Android SDK + NDK Plugins from Eclipse update site https://dl-ssl.google.com/android/eclipse/
If you want to code under Indigo you do not need anything else, however i found Eclipse to be an horrible IDE for C and C++ and i suggest to code with just a text editor and a terminal because it's just more flexible and reliable.
To develop in android using eclipse you need: Android-SDK, Android-NDK and eclipse plugin.
If you use windows you also need to install cygwin version 1.7 or greater.
You need gnu Make 3.81 or later and a recent gawk (include them during cygwin installation).
See http://developer.android.com/tools/help/adt.html for the detailed explanations. In addition to eclipse and SDK, you should install ADT Plugin. Form version 20, the plugin supports native development, in addition to java.