Target SDK not showing above 18 in eclipse - android

When creating a new android project, the target SDK does not show above 18. I have gone into the Android SDK Manager and updated everything up to version 21. Now when I start eclipse it comes up with the error "The Android SDK requires Android Developer Toolkit version 23.0.o0 or above. Current version is 22.3.0. Please update ADT to the latest version.".
So I check for updates and then it tells me there are no updates found. Has anyone else had this problem and know why possibly it finds no updates when it is specifying one needs to be made?
Also, I tried this link, This Android SDK requires ADT version 23.0.0 or above. Current version is 22.6. Please update ADT to the latest version?. The below gets me to install 23.0.0 but I keep getting dependency errors. There is a comment to uninstall the 22.3.0 versions but if I take that route it completely uninstalls eclipse as well. Text from that article below:
"You can also update the ADT plugin
Select Help > Install New Software
Work with: p2repo - https://dl-ssl.google.com/android/eclipse/
Select Developer Tools and Next
Next, Accept the license agreement* and Finish"
UPDATE: The quickest resolution I found to this, to at least be able to start a new project and target the newer SDKs, was to just download the newest Android SDK bundle. This downloaded all of the latest that I needed.

There can be many issue.Did you restart you eclipse.If not,try it.Your eclipse may be outdated.Eclipse should be kepler or mars or Your ADT didn't properly updated.So you have to update again from where it was.

Related

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 Eclipse Juno will not allow me to update software. ADT 22 from 20

When I open Eclipse Juno, I get a dialog box that says "The Android SDK requires Android Developer Toolkit version 22.0.0 or above. Current version is 20.0.3v201208082019-427395. Please update ADT to the latest version."
When I go to Help>Install New Software>Add, and then put in the correct information and go through the following steps, at the end it gives me the error that I am not allowed to update software.
I have also attempted to install new software using the Archive button and adding an ADT 22.0.1 zip folder.
You should be able to update the Android Toolkit from the Android SDK Manager. It will appear near the bottom of that list. Just update from there and Eclipse should work.

Android SDK: Update platform tools

I currently have Android SDK Platform-tools 14 installed. (Edit: Seems to be the current version)
Since this has a bug that makes Logcat unusable and it seems to be fixed in newer versions, Id like to update it.
How can this be done?
SDK Mangager.exe does not find a newer version than 14. I restarted it multiple times and installed all available updates.
The android page says the current version is 20 but they don't provide a download.
Installing the latest SDK starter package doesn't solve it.
Screenshot:
The Google page is talking about the tools not for platform tools.Actually there are two different folders in SDK one is tools and one is platform-tools so as per the latest release there latest version is
for platform-tools :platform Tools
for tools :Tools
so if you are having problem just download the zip and replace the old one with new one installed.
if you are getting problem with the new catlog use the old one (LogCat-Deprecated).
Launch standalone SDK manager and not from Eclipse. It then should fetch list of available packages and offer you to update all old packages, as your ADT v14 is quite ancient.
Alternatively, if everything else fail, you always can fetch ADT by hand from http://tools.android.com, unpack tools to your , replacing old stuff and then installing Eclipse plugin. Please note you need to download both and install as latest version will not work with outdated packages.

This Android SDK requires Android Developer Toolkit version 14.0.0 or above. .... Please update ADT to the latest version

Please help me with fixing the following error:
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.
I am facing this error problem when I am using Eclipse.
This error happens due to an incompatibility between ADT and SDK.
To fix it:
Eclipse > Help
Install New Software
Add this to Work With section and press enter
After developer tools appears on the list, check it and click Next
Restart eclipse once download is finished
Similar problem was already discussed here: Eclipse: won't let me use Android SDK, wrongly claims my ADT is out of date
The reason is that you have updated android sdk but your android adt plugin is not up to date. So updating your Eclipse plugin would resolve the problem.
In Eclipse go to Help.
Select the "Install New Software" menu item.
From this dialog, click the "Add..." button. This will bring up a new, smaller dialog.
Enter the Name "ADT" and Location: "https://dl-ssl.google.com/android/eclipse/"
after loading you will get Developer Tools and NDK Plugins
check both if you want or check Developer Tools.
click Next
Accept licenses, and Finish
if you don't want to update your ADT version, you can do this for fix your problem.
modify ${android-sdk}/tools/lib/plugin.prop plugin.version to your current version, restart eclipse.
# begin plugin.prop
plugin.version=22.3.0
# end plugin.prop
enjoy it.
For those of you who are experiencing this problem:
Eclipse says the ADT needs an update
-You click to check for updates
-It tells you there are no updates
You need to run Eclipse as administrator. This will immediately fix the problem.
Eclipse -> Help -> Check for updates
Check 'Android Development Tools' and install the update
As a general rule, the version of the ADT plugins in Eclipse are paired to a specific SDK version. It's not very well documented, but if you update one at any point, you need to update the other. The version number of the tools and the plugins are usually in sync, but in some cases, they aren't. In fact, right now (June 27) the SDK is version 19 and the plugins are 18. Of course, that will change later today when Google IO starts. The intent is to keep the version numbers in sync, but it doesn't always work out that way.
You can get the older versions of ADT and/or the SDK from the Android tools site. In some cases, you have to figure out the secret for the URL to directly download the older packages, but they are there.
It shouldn't be necessary though. The plugins and the SDK work with all prior versions of the platform, so you should always be safe installing the latest SDK and plugins directly from the Android Developers site.

Catch 22, SDK and AVD Manager requires SDK Location, SDK Location requires ADT Update?

So I just attempted some sort of update using the SDK and AVD Manager in eclipse. I think I just clicked update all, and installed an update. After I installed this, I restarted eclipse, but when it started up again, I got an error message saying that I need to update my ADT to the latest version (14.00) and that mine is version 12.00.
But when I try to go to the SDK and AVD manager to update the ADT it says Location of the android SDK has not been set in the preferences
So then when I go to preferences and look at the SDK location it says 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.
Do I need to somehow manually update the SDK? I am not really sure what happened here. Thanks in advance for any help.
I recently had this issue and what I did was completely remove the ADT, SDK's, tools, everything and then re-install and update. I did not have to delete Eclipse though.
EDIT:
Here is a link to the AVD revision information site. If you look at the different versions, it will tell you the required SDK tools version. When this happened to me, I remember it saying something like "if you have less than version 14 then you must update manually" ... but I was unable to find it.
Here is a link to the SDK tools revision information site.

Categories

Resources