Do I need to install the Android SDK before installing Eclipse?
Or must I install Eclipse before installing the Android SDK?
I'm worried that one has knowledge of the other, the order of installs is important, and installing the two out of order could lead to problems.
Does the Android SDK installer know about Eclipse, and registers itself with Eclipse?
The order you install them in is not important. Once you install Eclipse you will have to install ADT (Android Development Tools) and specify the path to the SDK in the ADT configuration (inside Eclipse).
Install the Eclipse IDE first and then the Android SDK
As said, it is not important, you can even play around with the emulator without ever installing eclipse, and you can use other editors as well (however this is more difficult) - read more about the installation here http://developer.android.com/sdk/installing.html
The order you install is not an important here.
Related
I'm trying to setup IntelliJ IDEA to develop android applications and I faced an issue with android sdk. As far as I know, I need to download the sdk separately. But I all I managed to find was Android command line tools which is obviously not something I need. So my question how can I get android sdk for IntelliJ IDEA?
You can install whichever android SDK or API from Intellij. I have the 2018.1 version but I hope this works in earlier versions too. You can find the options to install the SDKs here:
Same problem I have with IDEA 2017.1.1. I installed tools_r25.2.3-windows.zip and managed to install them.
I've done:
unzipped it to C:\Android\android_sdk\
renamed "tools" folder to "tools-sdk"
executed
C:\Android\android_sdk\tools_inst\bin>sdkmanager --update
prepared file my_file with lines:
build-tools;24.0.0
platforms;android-24
tools
emulator
Executed:
C:\Android\android_sdk\tools_inst\bin>sdkmanager --package_file=my_file
Then gave IntelliJ IDEA folder C:\Android\android_sdk as Android SDK Home Folder.
Then IDEA asks to install something additional. The test android project compiles and runs on emulation (AVD Manager works). I had to install 22 Platform and Build Tools though because android-24 virtual device asked for a password.
The only problem is I still have no SDK Manager with GUI interface.
First of all make sure you'be setup JDK properly. If not, you can download it from here.
Now go to Android Developer official site and download Android Studio.
If you are already done with above mentioned points the few point you might be missing.
When asked to choose the JDK (not SDK) you need to choose the Java JDK which you've installed earlier. Should be under C:\Program Files\Java\jdk{version}
Choose a New platform ( if there's not one selected ) , the SDK platform is the android platform at C:\Program Files\Android\android-sdk-windows.
Please let me know if it didn't help.
Reference:
https://www.jetbrains.com/help/idea/2017.1/getting-started-with-android-development.html
I had the same issue. I tried downloading sdk via android eclipse setup process. Eclipse automatically downloads the sdk. This sdk has a gui sdkmanager and can be used in idea as well. Here is the link to download eclipse.
(Android Studio installed on my computer.)
As i see users missed a point while installing android SDK.
You should show the Android SDK at AppData folder to IntellijIdea.
C:\Users\Your_Username\AppData\Local\Android\SDK_Folder.
References: https://www.jetbrains.com/help/idea/prerequisites-for-android-development.html
https://www.jetbrains.com/help/img/idea/2017.2/AndroidSDKManager.png
You can download the android SDK from this link here. I hope it should be helpful that link.
I have updated my android sdk to sdkr20, before i used r16 and my eclipse version is
Version: Indigo Service Release 1
Build id: 20110916-0149
but when I try to install ADTr20 it doesnt get installed and says
Cannot complete the install because one or more required items could not be found.
Software being installed: Android Native Development Tools 20.0.0.v201206242043-391819 (com.android.ide.eclipse.ndk.feature.group 20.0.0.v201206242043-391819)
What should I do now?
I'd suggest trying a fresh install of eclipse. But don't get Juno (the latest version) as there is a bug that makes the XML editors not work with ADT (see http://code.google.com/p/android/issues/detail?id=34630).
Can you try updating eclipse first?
Then let it do its thing like so:
Then select the option only for tools (do not select anything else)
Once that installs successfully, try installing the other updates one by one, say select DDMS only first and so on
Note: At times, removing development tools and then installing it again helps to resolve such issues as well
They say you should use Eclipse Indigo
I'm trying to install the Android SDK tools on my Windows XP SP3. I have jdk1.5.0_06 installed, but the Android SDK setup refuses to with the error in the following image. This happes in the next screen after detecting the JDK instalation.
Is this a known issue? And is there a solution?
Not sure about what the error is. But strongly recommend that you go with JDK 1.6.x version or 1.7x for Android development.
download the installer again & see if it solves the issue. Before installing Android SDK, make sure you have jdk installed on your system. Alternatively you can install eclipse adt plugin & it will automatically install the Android SDK for you. Installing the Eclipse Plugin
Windows XP x32
After uninstalling the Eclipse ADT plugin, the Android SDK and AVD managers will not run. A command prompt window pops up, but closes and nothing happens. How do I fix this?
Why do you want to uninstall the ADT plugin? That's the basis from which the SDK and AVD managers run from. Reinstall it if you want to fix it.
The Eclipse ADT plugin is used to run the Android SDK and AVD managers in Eclipse. So why do you want to uninstall it?
If u dont want to use Eclipse for your programming, then the plugin is not required, just install using th steps given here-
http://developer.android.com/sdk/installing.html
Sounds like you let Eclipse delete something you shouldn't have. Re-install the SDK and I bet they'll work again.
I have installed Eclipse on my laptop - it seems to be the Indigo version. The I tried to Install new software. I entered the https://dl-ssl.google.com/android/eclipse url into the Work With box. After pending resolved itself I then pressed next and now have a view of the items and an error saying that a shared profile (maven) is missing. I am stumped as to what to do next!!
The Android SDK works fine with Indigo, and providing you started from a clean Indigo installation, the update site you mentioned should work just fine.
I would suggest downloading a fresh copy of Indigo, hold off installing any other plugins and trying again with that update site. Works fine on my windows 7 machine.
(it's also a good practice not to re-use existing eclipse installations for Android development. IMHO its better to setup a dedicated eclipse installation for it to ensure that other plugins / dependencies mess up the install).
I had the same problem.
Instead of just picking some other versions od ADK and hoping the best, I recommend to take the whole Eclipse + Android set from Google. With this you will get co-working peaces of your IDE. It's not very techy way solve this problem- but it WORKS! Just remember to uninstall your old Eclipse first.
So from here you will get the whole package:
http://developer.android.com/sdk/index.html
""With a single download, the Eclipse ADT bundle includes everything you need to begin developing apps:
-Eclipse + ADT plugin
-Android SDK Tools
-Android Platform-tools
-A version of the Android platform
-A version of the Android system image for the emulator""