Error after updating ADT in eclipse - android

Last version of ADT in my eclipse was API 16, so I updated ADT (eclipse->Help->Install new software->Work with: ADT ) and then multiple errors occurred!!!
I can not even open Android SDK Manager !
There are some Screenshots from error :
How can I roll it back?!
P.s : Before Updating ADT I tried to add "SQLiteManager" PLugin by copying a jar file into "eclipse/dropins/" folder, but eclipse did not run anymore. So I removed the jar file and eclipsed lunched successfully!

Recently i faced the same problem, it simply fails to update. It was mainly due to a packaging bug of Android. This is a problem many people might face. here is the workaround:
Go to Help (in Eclipse)> about Eclipse SDK> Installation details and remove Android Development Tools (ADT).
Go to Help (in Eclipse) > install new software > beside the 'work with' box click ''Add'' , type ADT as name and as location give this url: https://dl-ssl.google.com/android/eclipse/
Then you will see developer tools, select Android development tools from there and click Finish.
this should update your Android Development tools and solves many other consequential issues while updating SDK. So, basically you have to remove your old ADT and then only you can update from Google' repo given in the URL.

Update your ADT Plugin
open HELP > About Eclipse > Installation Details
And also update Android SDK with 23.0.0

Related

Location of android SDK has not been setup in preferences

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.

Still have error even though ADT has been updated for Eclipse [duplicate]

I updated Eclipse with the new SDK tools (rev. 23), but now when Eclipse starts I receive the error:
This Android SDK requires Android Developer Toolkit version 23.0.0 or above. Current version is 22.6.3.v201404151837-1123206. Please update ADT to the latest version.
No updates were found with "Check for updates". If I try "Install new software", I can see version 23, but I can't upgrade due to the following error:
Cannot complete the install because of a conflicting dependency.
Software being installed: Android Development Tools 23.0.0.1245622 (com.android.ide.eclipse.adt.feature.feature.group 23.0.0.1245622)
Software currently installed: Android Developer Tools 22.2.1.v201309180102-833290 (com.android.ide.eclipse.adt.package.product 22.2.1.v201309180102-833290)
Only one of the following can be installed at once:
ADT Package 22.6.3.v201404151837-1123206 (com.android.ide.eclipse.adt.package 22.6.3.v201404151837-1123206)
ADT Package 23.0.0.1245622 (com.android.ide.eclipse.adt.package 23.0.0.1245622)
Cannot satisfy dependency:
From: Android Development Tools 23.0.0.1245622 (com.android.ide.eclipse.adt.feature.feature.group 23.0.0.1245622)
To: com.android.ide.eclipse.adt.package [23.0.0.1245622]
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: com.android.ide.eclipse.adt.package [22.6.3.v201404151837-1123206]
Cannot satisfy dependency:
From: ADT Package 22.2.1.v201309180102-833290 (com.android.ide.eclipse.adt.package.feature.group 22.2.1.v201309180102-833290)
To: com.android.ide.eclipse.adt.feature.group 22.2.0
Cannot satisfy dependency:
From: Android Developer Tools 22.2.1.v201309180102-833290 (com.android.ide.eclipse.adt.package.product 22.2.1.v201309180102-833290)
To: com.android.ide.eclipse.adt.package.feature.group [22.2.1.v201309180102-833290]
After download of the last ADT from the web site, it seems there's another problem.
With SDK Tools rev. 23 proguard is not installed, the folder SDK dir/tools/proguard is missing, and other tools are missing. This version contains several bugs.
Google has released ADT v23.0.2. This solved many problems of previous ADT version 23.
Step-by-step:
Menu Help → Install New Software...
For "Work with", select the Android source https://dl-ssl.google.com/android/eclipse
Tick ADT v23.0 for installation, then click "Next"
Eclipse will show "Install Remediation Page" since there is conflict with previous version. (If it does not, see below.) Select "Update my installation to be compatible with items being installed" to uninstall the old version and install the new one. After that, proceed with the usual steps.
Note: When I installed the new version of ADT, I didn't include the new version of "Android Native Development Tools" package. Instead, I installed the rest of packages first, and then installed "Android Native Development Tools". For a reason, if I try to install all the new packages including "Android Native Development Tools", the installation fails.
If there is no "Remediation page", the only way to remove the ADT plugin from Eclipse is to go to menu Help → About Eclipse → Installation Details and uninstall from there. But there is a risk of uninstalling Eclipse itself.
Google response:
This is a packaging bug. The entire proguard file is missing. We'll have an update asap, but until then just copy it over from a previous version of the tools:
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
and copy over the following files:
tools/hprof-conv
tools/support/annotations.jar
tools/proguard
So at the end if you started from a new ADT copy by hand the files :)
Edit: with the latest ADT release, the bundle should now work with auto-update, so install these new versions:
linux 64 bit vm: http://dl.google.com/android/adt/adt-bundle-linux-x86_64-20140702.zip
linux 32 bit vm: http://dl.google.com/android/adt/adt-bundle-linux-x86-20140702.zip
mac: http://dl.google.com/android/adt/adt-bundle-mac-x86_64-20140702.zip
win32: http://dl.google.com/android/adt/adt-bundle-windows-x86-20140702.zip
win64: http://dl.google.com/android/adt/adt-bundle-windows-x86_64-20140702.zip
Don't try to upgrade from previous version because it doesn’t work at all.
If you have got problems with zipalign, it's now under build-tools and no more under tools/ so you can do a symbolic link or just copy it into the expected folder.
None of the other answers worked for me using the ADT bundle published on developer.android.com.
I ended up downloading the latest version of Eclipse (not the ADT bundle) and then installing the ADT plugin via menu Help → Install new software → entering https://dl-ssl.google.com/android/eclipse (mentioned by #RED_).
I also had to update my workspace to point to my previous workspace, and most things seemed to be restored.
On a side note: This seems like a good time to migrate to Android Studio...
NOTE: Use this approach with caution because this might break your Eclipse installation (see comments).
This might help you if you installed the ADT plugin manually. But if you are using the version of Eclipse from the Eclipse ADT Bundle the below steps could break your Eclipse installation, and you may not be able to use Eclipse again!
Go to
Menu Help → About Eclipse SDK → Installation Details.
Now you will see all 22.0 versions and then click Uninstall button at bottom.
After uninstallation goto:
Menu Help → Install New Software → enter http://dl-ssl.google.com/android/eclipse/
Then install all the things, and now it is ready.
I was updating my build server today and came across the same issue. It has been reported here:
https://code.google.com/p/android/issues/detail?id=72419
The fix is in progress and the work around according to the project manager is:
Please wait for an updated version within a day or two. Until then, your workaround is to do download one of
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
and copy over the following files:
tools/hprof-conv
tools/support/annotations.jar
tools/proguard
[edit]
zipalign was missing for me too, check to see if you need to copy this as well
It works for me :)
If for some reason you installed an ADT preview and need to revert back to the current stable, you can't use the dialog to install "new" software since what you want is actually an older one. Instead do this:
Open Help > About Eclipse... on Windows or Linux. On Mac, use the app's menu > About...
Click the "Installation Details" button.
Select the "Installation History" tab.
Select one of the previous configurations.
Click the "Revert" button at the bottom.
is what they are saying about this:
OK, guys, sorry about all this trouble, and we apologize for the messed up releases. Here's the summary:
There is no way to update an existing ADT bundle that you might have downloaded.
You can do one of two options:
Install Eclipse from eclipse.org and install ADT by pointing to the update site: https://dl-ssl.google.com/android/eclipse
Download bundles from here:
Linux 64-bit VM: http://dl.google.com/android/adt/adt-bundle-linux-x86_64-20140702.zip
Linux 32-bit VM: http://dl.google.com/android/adt/adt-bundle-linux-x86-20140702.zip
Mac: http://dl.google.com/android/adt/adt-bundle-mac-x86_64-20140702.zip
Windows 32-bit: http://dl.google.com/android/adt/adt-bundle-windows-x86-20140702.zip
Windows 64-bit: http://dl.google.com/android/adt/adt-bundle-windows-x86_64-20140702.zip
Starting with ADT bundle 23.0.2, you should be able to update to future versions of ADT.
Source: https://code.google.com/p/android/issues/detail?id=72912
I have done following to resolve an issue.
Go to http://developer.android.com/sdk/installing/installing-adt.html and download the latest ADT ZIP file (at the bottom of page).
Go to Eclipse → menu Help → About Eclipse → Installation details
Delete Android DDM, Android Development Tools, Hierarchy Viewer, Native Development Tools, TraceView, etc., 22.X version.
Menu Help* → Install New Software → Add → Archive → *Select the downloaded ZIP file in step 1.
Select all the latest version of all 23 which I have deleted in step 3 and accept the license agreement.
Restart Eclipse, and it fixes my issue.
Only helped:
Fresh Eclipse installation (http://www.eclipse.org/downloads/packages/eclipse-ide-java-developers/lunar)
Help --> Install New Software --> https://dl-ssl.google.com/android/eclipse/
If you install a new Eclipse version it will work.
Here's what I did:
Installed the new Eclipse version, Luna
Made a backup of the current workspace.
Ran the new Eclipse, Luna, and updated the workspace
Installed the ADT plugin (Help -> Install New Software)
Restarted Eclipse
Done
There is a lot of confusion going around in this thread. There are two solutions depending on how you installed ADT.
If you installed the ADT plugin manually then I believe you can use the "Delete ADT" -> "Install New Software" approach.
If you are using the ADT Bundle then do not follow that solution! You will break Eclipse. Here is an update from a Google member - read #18:
https://code.google.com/p/android/issues/detail?id=72912
You must download a new version of the ADT-Bundle (yep, it's frustrating!).
Just uninstall the previous ADT.
Go to menu Help → About Eclipse → Installation Details
Uninstall all plugins which Id start with com.android.ide
Install ADT again from the update site.
DO NOT DO THIS
Warning: Please see the comments below this answer. These steps have had a negative impact for many people.
Click Help / Install new software...
Click on What is "already installed" (as in picture below)
In the new window you can uninstall the old ADT (uninstall Android Development Tools, Android DDMS, Android Hierarchy Viewer, Android TraceView, Android Native Development Tools and Tracer for OpenGL ES)
Restart Eclipse
Then again click on Help / Install New Software
Choose ADT... Install
I hope it helps!
After trying the approaches in other answers without success, I just installed a new bundle from http://developer.android.com/sdk/installing/index.html?pkg=adt and that worked fine.
Do the following:
As you don't want to re-download all the platforms again, copy the existing one from /OLD_ANDROID_SDK_PATH/sdk/platforms to /NEW_ANDROID_SDK_PATH/sdk/platforms.
When opening the new Eclipse from the recent downloaded bundle, make sure you reuse the previous 'workspace' folder. That will ensure that all your previous settings will be remembered.
After opening the new Eclipse on the previous workspace, please check if the used Android SDK is pointing to the new one (Eclipse preferences -> Android). It might be pointing to the old one, as you've reused the previews workspace settings.
With these steps, you should't have to reconfigure everything, and you won't need to spend time troubleshooting this BUG on this upgrade from Google Developers.
Good luck! ;-)
You need to uninstall the old version and install 23
uninstall:
Help > about Eclipse SDK > Installation Details
select Android related packages to uninstall
And then install V23.
There is no way to update an existing ADT bundle that you might have downloaded.
You can do one of two options:
Install Eclipse from eclipse.org and install ADT by pointing to the update site: https://dl-ssl.google.com/android/eclipse
Download bundles from:
Linux 64 bit VM: http://dl.google.com/android/adt/adt-bundle-linux-x86_64-20140702.zip
Linux 32 bit VM: http://dl.google.com/android/adt/adt-bundle-linux-x86-20140702.zip
Mac: http://dl.google.com/android/adt/adt-bundle-mac-x86_64-20140702.zip
Windows 32 bit: http://dl.google.com/android/adt/adt-bundle-windows-x86-20140702.zip
Windows 64 bit: http://dl.google.com/android/adt/adt-bundle-windows-x86_64-20140702.zip
Starting with ADT bundle 23.0.2, you should be able to update to future versions of ADT.
I was getting the same "conflicting dependency" error on Mac OS X 10.9.3 and simply upgrading was not an option. What finally worked was downloading the latest Eclipse ADT bundle zip file from developer.android.com, extracting it and moving only "eclipse" folder to the place where my old eclipse folder was. (extracting the Eclipse ADT bundle zip file will give you "eclipse" and "sdk" folders).
If you decide to go the same route, first make sure you know what your Workspace path is. This can be found in Preferences. Then rename your old "eclipse" directory (not Eclipse.app) to something like eclipse-22.6.3, then move extracted "eclipse" folder into its place. Run new Eclipse.app inside, and when it asks you about Workspace, just enter the same path as you noted above. Or it can also be set later in Preferences.
Maybe worth adding is that to re-enable Android SDK Manager and Android Virtual Device Manager choose Window -> Customize Perspective -> Command Groups Availability and select Android SDK and AVD Manager. This will add these 2 items to the "Window" menu item for the current perspective (Java).
I didn't move the extracted "sdk" folder, because I already had sdk folder in the same directory as eclipse, which I have already updated to the latest Android tools. But if it makes you feel safer, you can also rename your old sdk folder (for backup purposes) and move the freshly extracted one into its place.
I faced the same problem and solved it. You need to uninstall the Android plugin entirely from within Eclipse (from the "about" section..), including trace view..
Then added the ADT Plugin again (https://dl-ssl.google.com/android/eclipse/) and install it.
The problem is solved!
I guess it's a bug with the SDK manager or ADT Plugin update mechanism...
How to update from 22.xx.x to 23.0.2 (my solution). This will beat the dependency issues.
I was suffering from this issue for days, and I have tried every single solution on this link, but no luck. I finally figured out a solution that actually works!
Please note that this solution works in Windows 7 (64 bit). It should probably work for other Windows operating systems.
Here we go:
download the latest ADT bundle from
http://developer.android.com/sdk/index.html#download
unzip it and open "eclipse" folder --> "plugins" folder
Now go to your old eclipse and open "eclipse" folder --> "plugins" folder, and copy everything inside.
Now paste them into the "plugins" folder of the (NEW ECLIPSE), but DO NOT overwrite anything.
While inside of the "plugins" folder of your new Eclipse, do the search. Type in 22. (notice 22 with a dot) and hit enter.
The search result will show up all the files or folders with .....22.6...... For example,
com.android.ide.eclipse.adt_**22.6.2**.v201403212031-1085508
Highlight all of these files/folders and hit delete key.
Make sure to update your old API/SDK to the latest version and load this sdk directory to work with your new eclipse.
or
You can watch this video, which shows you how to move all your SDK/API to your new SDK folder.
Link: https://www.youtube.com/watch?v=jPZpJdnbbN0
I have not tried to update from any other ADT versions, but I think it should work for any old ADT versions too.
Don't forget to backup stuff before attempting.
What I have just found is that you need to update your ADT plugin in your Eclipse (whether stand alone or ADT Bundle) before updating your build tool.
If your Eclipse installation points to the most recent Build Tool and your Eclipse is having ADT 22.x, it will show those errors.
What worked for me: (on Ubuntu 14.04 64-bit)
Installed an older version of Eclipse and ADT (from the Bundle)
This copy of Eclipse was pointing to an older SDK verion with old build tools (before 20)
Updated the ADT to v23 (via archive, in my case)
Pointed Eclipse to the latest version of build tools.
You may not have an older copy of Eclipse and Build tools, in that case you can uninstall latest build tool from SDK Manager and install the older copy.
Once everything starts working fine, do the above steps.
I am trying to upload older copies of such bundles somewhere on the Internet, will update the links here, once I am done uploading.
I found these instructions in a comment.
Download the newest version of ADT and use your existing workspace. This is actually the least pain-full upgrade you'll ever do. It didn't mess with the .android folder so I still had my original debug key. Only things missing were a couple of add ons I hardly ever use and they are easily installed into the new version.
Note don't install into your existing adt folder create a new folder so you can still fall back if the new install doesn't work.
On ADT-bundled Eclipse I had to first uninstall the ADT and then do a fresh install.
To remove the ADT plugin from Eclipse:
Go to menu Help → About Eclipse → Installation Details.
Select ADT plug-in, then click Uninstall.
After uninstallation install ADT from Help → Install new software.
For me it helped to delete Android 4.4W which is also API 20 and might be a cause for the conflict. So only install Android 4.4W or Android L until they fix it.
And (again this might only be for me) it only works in Android Studio not in Eclipse ...
I had to delete ADT and install it again.
However be warned, this caused me and one other person to have an annotations.jar missing errors in the Java Build path for certain projects, probably because it was trying to look for an old SDK, so upgrading projects is the next step I have to take.
The errors relate to libraries mostly, Google Play Services, Facebook SDK, ActionBarCompat.
For this step, you uninstall ADT, then put the URL back in to download them. The url is: https://dl-ssl.google.com/android/eclipse
I found a solution for the problem with "conflicting dependency". I don't have the same page of Daniel Díaz's response, but a page show "conflicting dependency", and I can't make anything.
The problem is that I'm not the owner of the file. Eclipse was installed in other session (on OS X). I have the right to read and write the Eclipse file, but I'm not the owner. Make a "chown" command on all Eclipse files to solve the problem. After, I have the same result as Daniel Diaz.
I hope this helps someone.
WARNING
There is now an update for ADT 23.0.1, but the Windows and Linux scripts are messed up, so wait with the upgrade!
You could check for example tools/proguard/bin/*.sh in http://dl.google.com/android/android-sdk_r23.0.1-windows.zip.
I did this to solve the same issue (in OS X):
Help > Install New Software > Add or select this repository "http://download.eclipse.org/eclipse/updates/4.3"
Under "Eclipse platform" select the newest version of Eclipse.
The installer will ask if you want to uninstall the ADT, click finish.
Restart Eclipse and install ONLY the ADT 23 using this repository: https://dl-ssl.google.com/android/eclipse.
Restart Eclipse and install DDMS, Hierarchy Viewer, Trace View etc.
Restart Eclipse again.
Hope it helps.
If Eclipse gives an error after uninstalling the ADT plugin from your Eclipse installation, try to edit file config.ini in the Eclipse folder → configuration. Find:
eclipse.application=
And change it to:
eclipse.application=org.eclipse.ui.ide.workbench
I hope it works for you too.
I simply went to my Android resources folder on my C:/ drive (C:/Android), deleted the 'eclipse' folder and all its contents. I downloaded Android Developer Tools once more and just moved over the 'eclipse' folder.
I started up and everything was fine; I had updated to version 23.
Hopefully this helps, possibly not suitable for everyone as some of you have Eclipse modifications but for someone who, like me, wanted a quick fix and get back to developing this seemed to be the easiest path.
I am using Eclipse v4.3 (Kepler), and this is how I solved my problem.
Goto menu Help → Install new software → click Add.
In the popup, give any name (I named it as Eclipse ADT Plugin), and in the link's place, use https://dl-ssl.google.com/android/eclipse/
Once you click OK, you will be displayed with new packages that will be installed and old packages that will be deleted. Don't worry about these packages. Click OK.
New packages will be installed, and this should solve your problem.

Error while updating ADT 23.0.0 in eclipse

I already have gone through this question but it didn't helped.
Update eclipse with Android Development tools 23
While starting eclipse it shows below error.
When I tried with Check for updates - it does nothing.
Then I tried
Help -> Install New Software -> "https://dl-ssl.google.com/android/eclipse/"
It shows below error
Cannot complete the install because of a conflicting dependency.
Software being installed: Android Native Development Tools 23.0.1.1256982 (com.android.ide.eclipse.ndk.feature.feature.group 23.0.1.1256982)
Software currently installed: Android Native Development Tools 22.6.3.v201404151837-1123206 (com.android.ide.eclipse.ndk.feature.group 22.6.3.v201404151837-1123206)
Only one of the following can be installed at once:
ADT CDT Integration 23.0.1.1256982 (com.android.ide.eclipse.ndk 23.0.1.1256982)
ADT CDT Integration 22.6.3.v201404151837-1123206 (com.android.ide.eclipse.ndk 22.6.3.v201404151837-1123206)
Cannot satisfy dependency:
From: Android Native Development Tools 23.0.1.1256982 (com.android.ide.eclipse.ndk.feature.feature.group 23.0.1.1256982)
To: com.android.ide.eclipse.ndk [23.0.1.1256982]
Cannot satisfy dependency:
From: Android Native Development Tools 22.6.3.v201404151837-1123206 (com.android.ide.eclipse.ndk.feature.group 22.6.3.v201404151837-1123206)
To: com.android.ide.eclipse.ndk [22.6.3.v201404151837-1123206]
Can anyone help me for this. Thank you.
Resolved!
Go to help--about eclipse
Uninstall DDMS,ADT etc
Go to install new software and using the link install them:- https://dl-ssl.google.com/android/eclipse/
Worked fine for me :)
Rollback to adt22.6.2, Just replace the tools folder in android sdk.
This is a packaging bug. The entire proguard file is missing. We'll have an update asap, but until then just copy it over from a previous version of the tools:
http://dl.google.com/android/android-sdk_r22.6.2-windows.zip
http://dl.google.com/android/android-sdk_r22.6.2-macosx.zip
So at the end if you started from a new ADT copy by hand the files :)
I was also facing same problem, as nothing was working for me, I simply replaced the entire adt base folder with earlier version (which i installed initially), so now started afresh
I was facing the same problem, was able to solve in this way -
Eclipse-->Help-->About Eclipse---->Installation Details
Select - Android DDMS, ADT, Android Hierarchy Viewer, Android Native Development Tools, Android TraceView and Tracer for OpenGL ES packages. All must be version 22.xx
Uninstall all the plugins selected above.
Restart Eclipse
Install ADT from update site - https://dl-ssl.google.com/android/eclipse/
Adding just an extra bit of information as none of the above solutions worked for me (except for the replacement one)
I just went to
sdk\tools\lib\monitor-x86 (32bit)
Copied configuration, Features and plugins folders and pasted it in ADT\eclipse folder choose skip where it asks to replace and rest will be fine, no need to replace the entire thing
done
once you start eclipse it will ask you for SDK location, provide the location and continue
I also faced similar problem yesterday, I tried the above solution but it was still not working properly. I was facing some errors and difficulty.
So I re-installed Eclipse Luna and then did the following :
Help -> Install New Software
Add -> Name : ADT Plugin
Url -> https://dl-ssl.google.com/android/eclipse/
Download and Install the Plugin and then Update the API's using SDK Manager.
Now I recommend to use Android Studio though.

This Android SDK requires Android Developer Toolkit version 23.0.0 or above

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

Android ADT version required 20.0.0 and above

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.

Categories

Resources