I followed android.com's instructions for installing eclipse with android developer tools (ADT) bundle. I then in eclipse do Help > Install New Software... to attempt to install Android Source Plugin which I have happily used for at least a year on my old eclipse installation.
Attempting to install it using Java Rel7, I get an error which I found some bug reporting was due to running eclipse on Java Rel7. So I tried to run Java Rel5 but this version of eclipse needs Java Rel6. So I installed Java Rel6 and tried running eclipse on that and installing the Android Source Plugin, but that failed too.
Anybody else run in to anything like this? Know any workarounds?
You could try installing eclipse and the SDK seperately. I've had to install android a few times recently on different machines and this is the approach Ive taken. You can download eclipse from the eclipse website at http://www.eclipse.org/downloads/. (I have the first option Eclipse IDE for Java EE developers).
After that is installed you can install the android sdk using this guide http://mobile.tutsplus.com/tutorials/android/android-sdk-installation/
Also make sure if you want to test on a phone that you go into the android sdk manager (should appear somewhere in eclipse when SDK installed) and download the updates there.
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 am basically at the very last step where i have installed the eclipse and went to install the new software the ADT to get the android project on the screen and i get this message
say operation cannot be completed. see details
Cannot complete the install because one or more required items could not be found.
Software being installed: Android DDMS 18.0.0.v201203301601-306762 (com.android.ide.eclipse.ddms.feature.group 18.0.0.v201203301601-306762)
Missing requirement: Android DDMS 18.0.0.v201203301601-306762 (com.android.ide.eclipse.ddms.feature.group 18.0.0.v201203301601-306762) requires 'org.eclipse.ui 3.6.2' but it could not be found
it has been almost a full week of me trying to install this program someone please ease this frustration
In eclipse if you cannot access the Android SDK manager I suggest you unistall eclipse and restart.
On the other hand if you can access the SDK manager then you will be wanting to install most if not all of the software development kit environments for eclipse.
Upon install you have to start a new AVD choose your preferred SDK for that AVD and you should be ready to go.
Why dont you try the latest Eclipse 3.7.2 (Download Link)?
What is the version of Eclipse are you using?
It is recommended on the SDK page to use the classic version, seems like you are using a different one.
Sudhaker
Goto --> Eclipse Help --> Check for Updates --> Update Eclipse IDE Package which will show up in the list of available updates. Restart Eclipse and now try to install ADT plugin which includes the DDMS. It should work.
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""
Ubuntu Linux 10.04//Eclipse 3.5.2
I'm new to Eclipse and Android. Eclipse is up and running simple Jave apps OK. I moved on to downloading the Android SDK starter package, which seemed to go OK. Ran the SDK manager and downladed Platforms 7,8 & 9. Installed the ADT package in Eclipse.
I've tried to load the SDK path into the Eclipse Preferences, but it won't retain the path. After restart, Elipse says it can't find SDK package. Also,one message said that the (revision?) number of the ADT couldn't be found.
I've reinstalled Eclipse a couple of times, and then gone through the SDK & ADT download procedures a couple of times and am stuck. Any suggestions will be appreciated.
Hertfordkc
Stupid question caused by not thoroughly reading the Android Developers Guide and the tutorials before trying to start a project. Don't know why I didn't get a message about a missing XML file.