I am getting this error:
I have installed ADT and SDK using install new software in Eclipse. I am using Eclipse Java EE IDE for Web Developers. Version: Kepler Service Release 2.
I used this link https://dl-ssl.google.com/android/eclipse/
I do not know where the SDK is getting installed as it being done through Eclipse. Which path should I provide to remove this error. Actually I cannot even set a path as the OK button in preferences window remains disabled.
What can be the issue.
I know this has be address earlier but could not get what I am looking for hence added a new thread.
I do not know where the SDK is getting installed as it being done through Eclipse.
Not if you installed the ADT plugin separately. You need to download and install the Android SDK (see "SDK Tools Only"), then teach the ADT plugin where you installed it.
Also note that support for the ADT Plugin has been officially discontinued by Google.
Choose Window>preferences>Android
In the SDK location Text Box you need to browse the location of Android SDK, to let eclipse know where the android SDK is, and same for the ADT by chhosing HELP>Install new Software...
I had faced same problem and get solution....
In Eclipse go to Help
Install New Software ---> Add
Inside Add Repository write the Name: ADT (or, as you want)
and Location: https://dl-ssl.google.com/android/eclipse/
after loading some time you will get Developer Tools.
check Developer Tool
click Next
Finish
Your problem will solved.
I have deleted folder .android in my user folder (c:/users/xyz/.android) and relaunched Eclipse - dialog box "Android SDK installation" (not exact name) has came up - then install of SDK.
Related
I get the following error when I start my Eclipse.
And when I try to update from Help > Install New Software...
using the eclipse update link https://dl-ssl.google.com/eclipse/plugin/4.2
It gives me following error:
Cannot complete the install because of a conflicting dependency.
Software being installed: Android Development Tools 23.0.1.1256982 (com.android.ide.eclipse.adt.feature.feature.group 23.0.1.1256982)
Software currently installed: Android Development Tools 22.6.3.v201404151837-1123206 (com.android.ide.eclipse.adt.feature.group 22.6.3.v201404151837-1123206)
Only one of the following can be installed at once:
ADT XML Overlay 23.0.1.1256982 (overlay.com.android.ide.eclipse.adt.overlay 23.0.1.1256982)
ADT XML Overlay 22.6.3.v201404151837-1123206 (overlay.com.android.ide.eclipse.adt.overlay 22.6.3.v201404151837-1123206)
Cannot satisfy dependency:
From: Android Development Tools 23.0.1.1256982 (com.android.ide.eclipse.adt.feature.feature.group 23.0.1.1256982)
To: overlay.com.android.ide.eclipse.adt.overlay [23.0.1.1256982]
Cannot satisfy dependency:
From: Android Development Tools 22.6.3.v201404151837-1123206 (com.android.ide.eclipse.adt.feature.group 22.6.3.v201404151837-1123206)
To: overlay.com.android.ide.eclipse.adt.overlay [22.6.3.v201404151837-1123206]
What should I do now?
If you have a conflict with the previous version:
Select Help > Install New Software
Click on already installed
Select all Android software on version 22.*
Click on Uninstall
Work with: https://dl-ssl.google.com/android/eclipse/
Select Developer Tools and Next
Next, Accept the license agreement and Finish.
EDIT :
This trick is probably no more necessary!
Try to upgrade your SDK tools to 23.0.2+ and build&platform tools to rev 20 before.
The best solution to this is to download a new ADT from http://developer.android.com/sdk/index.html
Go to Help - About Eclipse and click Installation Details
On tab Installed Software, select all row that has version 22.6.3 then click Uninstall
Go to Help - Install new software, select work with ADT Plugin - http://dl-ssl.google.com/android/eclipse/
Check the Developer Tools and now install without conflict
AS you have done the upgrade to SDK 23.0 without upgrading the ADT it will show this kind error as you have mentioned in the screen shot.
Simply upgrading the SDK to 23.0 is of no use until and unless you also update the related development tool in ADT.
Follow the steps
First delete the SDK 23.0 and update the ADT to 23.0
For doing the update you need to click on Install new software from
help and choose the ADT/https://dl-ssl.google.com/android/eclipse/
under the link upon which you get the new Development tools to
update click all >next to continue .
Upon successful completion you can now update the SDK to 23.0.
Note:- Many of those who tried to update the SDK have face a problem Cannot complete the installation because of conflict dependancy
So its better to just stick to the 22.6v of the ADT.
The update to 23.0 is filled with bugs and it will take some time to fix the bugs
I also got the error of OP this morning. I clicked on "Check for Updates" but it was always saying "No updates available".
I found this thread and thought "Oh man, I'm gonna sit on this all day".
But lucky for me (and for you who will find this thread perhaps in a few weeks), the solution is getting easier. I just did this:
Help > Install New Software
choose the update site https://dl-ssl.google.com/android/eclipse/
it offered me the new ADT-Packages with version 23.0.3 and I chose all of them
it showed me the known conflicting-dependency-error BUT offered me directly a solution: It will deinstall the 22* ADT-packages for me. I just clicked "ok" and it automatically deinstalled the old packages and installed the new ones :)
no need to do any thing,
just download new eclipse, install ADT 23.0.0 from below link
https://dl-ssl.google.com/android/eclipse/
your problem solve...
its happened because you have SDK 23.0.1 and ADT 23.0.1 update not available....
yesterday i have same issue, i have solved that..
You are not alone.
This thing happened also to me. I tried many many solutions suggested on the internet but I had to use the "PLAN B"
I downloaded and installed new adt bundle and reimported all my projects and libraries. It takes some time but it is not that long :)
I hope that google will come up with fix, because the update to 23.0.0.2 also didnt work for me (same error).
So keep smiling and install new ADT :)
On Linux (Ubuntu), I managed to solve the problem in a bit of a 'hackish' way. It may be useful if you're reluctant to download stuff all over again (like me) :)
Warning: I suspect this won't work if the ADT and SDK versions are too far apart. (For me, it worked for ADT 22.6.2 and Android SDK update 24.)
Modify the file $SDK_HOME/tools/lib/plugin.prop ($SDK_HOME = base directory of your Android SDK installation), to contain the current ADT version, instead of the actual (updated) SDK version. In my case the original content of the file was
plugin.version=23.0.0
which I changed as
plugin.version=22.6.2
This suppresses the "Please update ADT..." issue, but ADT won't work properly as it won't be able to identify some of the components relocated by newer SDK updates.
Create shortcuts (symlinks) or copies of missing SDK components, at the locations where ADT expects to see them. You can find the expected locations using ADT's error consoles.
For example, in my case, the DDMS console showed an error
[2016-02-27 19:33:33 - DDMS] DDMS files not found: /usr/lib/sdk/tools/hprof-conv
as soon as I tried to switch to the DDMS perspective. So I just created a symlink $SDK_HOME/tools/hprof-conv pointing to $SDK_HOME/platform-tools/hprof-conv (which has been relocated):
me#computer:$SDK_HOME/tools$ ln -s ../platform-tools/hprof-conv hprof-conv
For me, after these 2 steps, ADT started working without any problems/errors.
#Kalpesh DON'T delete SDK 23.0 it will remove your "tools" folder and you won't be able to run SDK Manager after that. I know because I have just done that. Bad suggestion!
The solution from Kikiwa worked for me.
I have also come across this issue and figure out few steps that will help in a way or other.
One thing to note that the error "This Android SDK requires Android Developer Toolkit version 23.0.0 or above" will only come if you have updated your Android SDK Tool and Android SDK Platform Tool before updating your ADT.
Here are the steps that will help you to get rid of this: -
You can try the steps provided by Kikiwa but that might create some issues like removing your android SDK. So the solution is to re-configure your eclipse with re-installing the Android SDK.
Steps given by user285oo6 will also create some issues like when you delete the Updated SDK 23.0 then it will also remove the files from Platform-tools and tools folder from SDK directory. Now your eclipse wont start as it wont find the necessary files that are required to identify Android SDK or it may throw and error says "cannot find tools for the SDK" or "cannot find the version of ADT" or "emulator.exe not found".
In this case the solution is to restore your SDK Manager files along with Platform-tools and tools folder. Now the question arises how you will get it? Below are links for the same
http://dl.google.com/android/android-sdk_r22.6.2-linux.tgz
http://dl.google.com/android/android-sdk_r22.6.2-windows.zip
http://dl.google.com/android/android-sdk_r22.6.2-macosx.zip
This will download the SDK platform ZIP files and it contains the SDK manager along with tools folder. My Suggestion is to extract them and replace the
-tools folder
-SDK Manager.exe
-AVD Manager.exe
in your android SDK directory.
Now you have latest ADT installed (if you have follow the user285oo6 steps. If not then install it using your eclipse with URL https://dl-ssl.google.com/android/eclipse/) i.e. version 23.x.x and SDK on the older version.
Now you have to restart your eclipse and update the Android SDK tool and SDK Platform tool. This will work. I have done it for windows OS and was able to get it up and running
I know I am bit late but its always good to be late then never.
Please let me know if anyone has any question or confusion with the steps
I have been trying everything since 2 days now, my ADT plugin is not updating:
1)I have tried going to SDK manager in my Android SDK Windows folder, Ran it as Administrator and installed Android SDK Build-tools but going to Windows>Preferences>Android I am still getting the error on selecting this sdk as SDK Path (This Android SDK requires Android Developer Toolkit version 22.6.2 or above. Current version is 10.0.1.v201103111512-110841. Please update ADT to the latest version.):
2) And also went to Help->Check for Updates but got the error: Missing requirement: Android Development Tools 22.6.2.v201403212031-1085508 (com.android.ide.eclipse.adt.feature.group 22.6.2.v201403212031-1085508) requires 'org.eclipse.core.runtime 3.7.0' but it could not be found
3) Also going to Help-> Install new software and give the path as https://dl-ssl.google.com/android/eclipse/ gives me Duplicate Location . Also tried using an http instead of https but to no avail.
4)Also this is a snapshot of my installation details:
5) Also manually installed the missing plugins - org.eclipse.core.runtime.3.7.0 and placed it in plugun folder inside eclipse folder. But the software is not reading it.
I dont know what the fault is. Please guide me.
check this link: https://developer.android.com/sdk/installing/installing-adt.html#Troubleshooting
download adt from https://dl.google.com/android/ADT-22.6.2.zip
Start Eclipse, then select Help > Install New Software.
Click Add, in the top-right corner.
In the Add Repository dialog, click Archive.
Select the downloaded ADT-22.6.2.zip file and click OK.
Enter "ADT Plugin" for the name and click OK.
In the Available Software dialog, select the checkbox next to Developer Tools and click Next.
In the next window, you'll see a list of the tools to be downloaded. Click Next.
Read and accept the license agreements, then click Finish.
When the installation completes, restart Eclipse.
Although this question is marked as answered, however I think when you faced too many difficulties in updating process, it is better to download a new copy of "SDK ADT Bandle" from this link.
http://developer.android.com/sdk/index.html
SDK Manager is not opening from eclipse. An initialization screen comes but the SDK Manager doesn't open. I have tried renaming android.bat file but that doesnt work. Re-installing has also been tried.
The possible reason for this to happen is you might have installed the plugin in a wrong way or the destination of the file might have changed by some means.
Make sure these 2 are correct on the 1st place.
If you are confident about these 2 are proper. Make sure the actual SDK_Manager.exe runs directly from its folder destination if double clicked.
which will be present in your android SDK path--->\Android\android-sdk\SDK Manager.exe
Open android.bat in sdk/tools folder by right click on it and click edit
find the line-
set java_exe=
edit it to your path to java.exe like
set java_exe=C:\Program Files\Java\jre7\bin\java.exe
then delete the next line which is
call lib\find_java.bat
This one worked for me......
Check out this link......
After 2 days of frustration not getting solution to launch SDK Manager manually and in Eclipse. Finally, I figured out the solution and whatever solution available elsewhere is not correct on recent development. Thought of adding this info of Android SDK for new to mobile testing enthusiast:
Android encourages users to use Android IDE, so you don't find Android ADT bundle zip file in the site. You may need to download from untrusted source if you want to configure SDK to Eclipse manually.
Solution:
Download JDK, install it, set environment variables for JDK and JRE in your system. (if not sure, please see videos of how to install JDK)
Download Eclipse, unzip it and launch Eclipse
In Eclipse, Go to Windows and click Install new software
Enter this url in work-with: https://dl-ssl.google.com/android/eclipse/ and press Enter
Select Developer Tools checkbox and click Next and finish
Click Ok for permission in popup
Click OK to restart Eclipse
Click Cancel in setting SDK in preferences
Parallely, Android Installation Tool windows opens up, click next
Select automatically downloading Android SDK tools and api versions
It downloads all required tool, it restarts the eclipse, sets preferences,
Now you can launch SDK Manager from Eclipse or go to SDK tools folder and launch Android in tools folder.
The reason of this is using newer version of android sdk tools.
Eclipse supports sdk tools version 25.2.5 and build-tools version 25.0.3. The reason is google has removed some optional/deprecated tools from sdk tools in release 25.3.0. But eclipse needs them to work with android projects. So the thing you can do is delete tools folder from your sdk and download eclipse supported version
Android SDK Tools:
https://dl-ssl.google.com/android/repository/tools_r25.2.5-windows.zip
https://dl-ssl.google.com/android/repository/tools_r25.2.5-linux.zip
https://dl.google.com/android/repository/tools_r25.2.5-macosx.zip
Extract them in your sdk installation directory.
You can now access to SDK manager by using the android command, which is located in tools directory of your sdk. You can also do this from eclipse.
Note that Eclipse supports build-tools version 25.0.3 and older, so you will have to download them. For other tools you can select latest version. They are supported by eclipse.
Yesterday I tried to install titanium appcelerator and in the process I edited some of the android sdk installations Now I have updated my android sdk to rev 20. But when i start eclipse i get an error that sdk requires version 20.0.0 or above. I tried to install by using eclipse->help->check for updates-> but again the installation doesn't work claiming that required items could not be found. Please help
Goto Help → Install New Software.
In there you click the work with: dropdown and select your android adt link.
Then it will show the list of things to install choose it click next.
I also got the same error and I solved it from updating adt.
Go to : Eclipse → Help → Install New Software and click the work with drop down and select android adt link that you have used previously. It looks like this :
android ADT - https://dl-ssl.google.com/android/eclipse/.
Tick the developers tools check box and click next. If you have already installed some of them, then eclipse will notify you.
Better to Download Latest Eclipse Setup Juno http://www.eclipse.org/downloads/ open this link and download this version
Eclipse IDE for Java EE Developers
What I did was to uninstall the latest ADT and go back to a previous ADT. It worked.
Go to Help → Install New Software - look for the already installed hyperlink. Uninstall all ADT's. Restart Eclipse and it will tell you the ADT you need for the revision tools you have. Download this ADT and install it manually. It should at least work.
I got the same error, I solved this by updating the Android SDK tools and Android SDK platform tools.From Eclipse → Window → Android SDK Manager, then Update Tools → Android SDK Tools and Android SDK platform tools packages. After this restart the eclipse and then update the ADT again. (Help → Check for new Updates).
This is the best and quick solution:
Open SDK manager -> Packages menu -> Reload
if You have to update ADT 20.0 otherwise it's not work and also not list the Number of SDK install.
i have that problem and fix by updating ADT 20.0 , also Good User Interface.
I suspected that something was wrong with my configuration, as I shouldn't have to suddenly update the ADT when everything had been previously working.
BTW, I got this with "Android ADT version required 21.0.0 and above".
To fix it, I:
Reinstalled eclipse (which is quite easy, as the zip was still in my Downloads, so I just deleted my eclipse directory and unzip the original again - eclipse doesn't use the registry)
Created a "hello_world" java app, in eclipse, to test that (fixing any problems with the standard searches");
Created a "hello_world" Android app to test that (fixing any problems with the standard searches).
Reverted my project files to the last known working version,
Imported my project, and fixed an problems, etc...
About an hour's work. No downloads (assuming you've still got your eclipse zip), no update to the ADT, and no obscure problems which I haven't faced before.
This person (http://kcwebprogrammers.blogspot.com.au/2012/07/android-sdk-eclipse-hell.html) recommends a complete re-install, but it seems that a partial restoration may work.
I too had the same problem. I resolved it by doing the following in Eclipse:
Go to Help -> Check for Updates -> Install all the Updates available.
only check on Android Development Tools then press next and accept install it :)
Mohamed Safwat
Helwan Uni
eng.mohamedsafwat#yahoo.com
In Eclipse (ADT)
Help --> Install New Software ---> Work with --> Android Developer
Tools Update Site - http://dl-ssl.google.com/android/eclipse/
Select all of the updates you want to install and UNCHECK option "Contact all update sites during install to find required software". After that everything should install as it is mentioned to be.
I'm not sure what I did wrong, but I'll try and give as much information as I can.
Yesterday, I updated a few things in the manager, with one of them being sdk r15. Now, I'm not sure what was updated because I believe there is the sdk 15 and the adt plugin r15. In any case, one of them was updated. I didn't restart and continued to work without any problems. However, today my emulator stopped loading the app I was testing. I restarted eclipse and was thrown this prompt:
"This Android SDK requires Android Developer Toolkit version 14.0.0
or above. Current version is 12.0.0.v201106281929-138431. Please
update ADT to the latest version."
Currently, all of my projects have error symbols next to them. I then proceed to click the AVD manager, which I'm given a prompt that says:
"The location of the Android SDK has not been setup in Preferences."
I go to Preferences and see that the sdk path is pointing to the correct folder. I haven't changed anything so I dont see how the path could be a problem.
What happened? How can I get things working again? Perhaps, the update did not install everything properly?
EDIT:
By the way, I "apply" and "ok" are greyed out in Preferences no matter which folder I choose.
Use the Update Manager feature of your Eclipse installation to install the latest revision of ADT on your development computer.<>
Assuming that you have a compatible version of the Eclipse IDE installed, as described in Preparing for Installation, above, follow these steps to download the ADT plugin and install it in your Eclipse environment.
Start Eclipse, then select Help > Install New Software....
Click Add, in the top-right corner.
In the Add Repository dialog that appears, enter "ADT Plugin" for the Name and the following URL for the Location:
https://dl-ssl.google.com/android/eclipse/
Click OK
Note: If you have trouble acquiring the plugin, try using "http" in the Location URL, instead of "https" (https is preferred for security reasons).
5. In the Available Software dialog, select the checkbox next to Developer Tools and click Next.
7. Read and accept the license agreements, then click Finish.
Note: If you get a security warning saying that the authenticity or validity of the software can't be established, click OK.
When the installation completes, restart Eclipse.
OR
You can launch the Android SDK and AVD Manager in one of the following ways:
From within Eclipse, select Window > Android SDK and AVD Manager.
On Windows, double-click the SDK Manager.exe file at the root of the Android SDK directory.
On Mac or Linux, open a terminal and navigate to the tools/ directory in the Android SDK, then execute: