I used to download the Android NDK as new version were pubished to the devloper website.
It appears Google has recently updated the developer website and removed direct NDK download links, and replaced them with a a bunch of circular references that eventually lead to the SDK download. The SDK download page does not include the NDK. The closest I have found to a download and NDK is Download Android Studio and SDK Tools.
Running $ sudo /opt/android-sdk-macosx/tools/android does not offer a way to update the NDK.
How do I update the NDK in place using the existing NDK or one of the SDK tools?
Or where is the download of the actual NDK located?
To be clear, I use ant and ndk-build from the command line. I don't use Eclipse or Android Studio. Eclipse and the Android plugin is broken; and Android Studio does not really support NDK and JNI.
Plus, I don't really want to learn another editor since I kind of know Eclipse, and I know already how to do it from the command line (so there's no need for an editor).
In Android Studio, go to Tools (top-menu item) > Android > SDK Manager
Click SDK Tools tab
Scroll down and you will see NDK as an option, with detail if an update is available
Related
I downloaded the latest version (3.2.1) of Android Studio from the Android Developers site.
After installing the application, it won't start. I get an error message when clicking on "Start a new Android Studio project":
Your Android SDK is missing, out of date or corrupted.
I read an outdated post dealing with the same issue but an older version of the application. I followed the solution described there and got stuck after navigating to Configure > Project Defaults > Project Structure. This is the window I see right now:
I can't find the SDK. Where is it located? Does it not get installed together with the app? If so, where can I download it from?
I can't find the SDK. Where is it located? Does it not get installed
together with the app? If so, where can I download it from?
That depends on how you installed the Android Studio. With the SDK packages (called bundle) or you have installed it separately which doesn't have SDK packages.
Where is it located
It's mostly uses:
C:\Users\<username>\AppData\Local\Android\Sdk
Directory on windows if you install SDK Manager, it will be easy to figured out.
where can I download it from
After installing Android SDK Manager, you'll need to download some packages like;
Platform-tools
Build-tools
Support library
And etc
To be able to compile-use Android Studio which is a general question and use Google for that.
Just compiled android 8.0 source code. I'm fairly new to AOSP.
It is quite confusing, the ./out contains a lot of files.
Currently, i couldn't create android project on Intellij yet, because i haven't specify the android SDK.
I want to add my customized ROM as android SDK to Intellij, instead of downloading SDKs.
Does anyone had similar experience loading their own ROM to android app IDE?
You just need to trigger a SDK built, e.g.
$ . build/envsetup.sh
$ lunch sdk_x86_64-eng
$ m -j sdk
Afterwards, you have your SDK at out/host/darwin-x86/sdk/sdk_x86_64. Point your Android Studio SDK location (in Project Settings) to that folder and you should be good to go. You might need to install the required build tools, but the IDE prompts for it in case.
I have Win7-64 laptop, installed JDK, Eclise is working. I am failing to install the Android SDK. I downloaded 'adt-bundle-windows-x86_64-20131030' from developer.android. When I used SDK Manager, i could select required installation components and it shows as complete. However, I dont see anything in the 'All Programs'. I also dont see any plugin (that I was supposed to see) in the Eclipse as well. So I gather I am missing some step. Can anyone help. Pl see![][1]
Your downloaded sdk files may not shown in All Programs as they are not executable nor meaningless to be clickable.
Sometimes many folks got a problem to point out exact SDK path, so more than one SDK binaries are downloaded. I think your eclipse cannot find sdk path properly.
To find out where the SDK path is, it displays in SDK Manager.
Then, you can set the path in Eclipse Eclipse->Window->Preferences-> select Android from left hand menu. Check SDK Location has same path; see screenshot.
FYI, as downloaded files are just a bunch of binaries used only for Android development, you can copy the whole android-sdk folder to other place.
I personally recommend to change the directory to C:\Android or C:\User\<me>\Documents\Android-sdk as default directory is in C:\Users\<me>\AppData\Local hidden folder.
The ADT bundle includes an Eclipse executable fully configured with the Android SDK tools. It does not add a plugin to an existing Eclipse install. To launch ADT/Eclipse goto . Search for eclipse.exe within that directory. This is the executable you need to launch.
On my Mac, the Eclipse executable is in /Applications/adt-bundle-mac-x86_64/eclipse/Eclipse.app/Contents/MacOS/eclipse. Just a guess, but on Windows, the path will probably look something like adt-bundle-windows-x86/eclipse/Eclipse.app/Contents/windows/eclipse.exe
I would personally suggest to use Android Studio 2.1 for easy install of plugins as whenever there is an update to any platform tools or build tools they are readily available and the dependency injection is far better with the build tools such as Gradle which are bundled with the Android Studio .
Android Studio
Android adt is plugin to use Android SDK in Eclipse IDE. You have SDK you have Eclipse now you need to install adt plugin in eclipse to use your SDK.
You can refer Android developers for plugin installation
https://stuff.mit.edu/afs/sipb/project/android/docs/sdk/installing/installing-adt.html#Download
For "I dont see anything in the 'All Programs' I also dont see any plugin" part you will not see any extra program installed in your system as adt is extension of eclipse. When you will have adt in place you should be able to see Android option in eclipse preferences. You should also be see Android APplication option while creating new project.
I am googling like a mad but I am unable to find out from where I should download basic Android SDK zip (tar.gz).
I was used to download that zip, extract it and that's it. Now all what is offered to me is some weird Android ADT "bundle" which goes with some Eclipse x.y.z I am not totally interested into. I just need pure android-sdk with all these binaries for creating emulators and stuff from the command line. I do not want any bundled IDE. Right now, what I get in one zip is:
Eclipse + ADT plugin <-- I do not want this at all
Android SDK Tools
Android Platform-tools
The latest Android platform
The latest Android system image for the emulator
Go to this site and click on Using an existing IDE. There is the Android SDK.
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.