Failed to get the required ADT version number from the SDK - android

I got an error in eclipse after upgrading Android studio to 2.3 and SDK Tools for it.
when opening eclipse I got the following message:
I've tried many solutions like removing adt, but no fix also trying to copy traceview.bat but no fix.
what is the solution for this?
Thanks

Android SDK Tools Revision 25.3.0 removes obsolete/deprecated tools, see Release Notes
So probably you will need to use another SDK or try to return removed tools.
You can download older SDK (probably 25.2.5) like this
For windows http://dl-ssl.google.com/android/repository/tools_r[rev]-windows.zip
For Linux http://dl-ssl.google.com/android/repository/tools_r[rev]-linux.zip
For Mac http://dl-ssl.google.com/android/repository/tools_r[rev]-macosx.zip

Related

Installing Android SDK and ADT in eclipse

I am trying to start Android Development and trying to do so using the ADT plugin in my Eclipse Mars(Windows 10)
I have installed the ADT plugin in my eclipse version 23.0.7.2120684.
Also I have downloaded the SDK tools(tools_r25.2.3-windows) and extracted it to D:/eclipse\SDK.
But everytime I open Eclipse and click on Windows->Preferences ->and enter the SDK Location as D:/eclipse\SDK which is the SDK folder I am getting the below error:
The Android SDK requires the new Build Tools component to be installed.
Please open the SDK Manager and install "Android SDK Build-tools"
I click on Open SDK Manager and nothing happens, but I get an error message in the console:
[2017-04-10 22:56:35 - SDK Manager] [SDK Manager] Error: Expected verb after global parameters but found 'sdk' instead.
Can you please tell me what I am doing wrong here. Most of the installation guides/steps found on the net are a bit redundant since they are quite old.
As of Android SDK Tools Revision 25.3.0 removes obsolete/deprecated tools, see Release Notes, and as ADT plugin is no longer supported it cannot work with it.
However revision 25.2.3 should be working. If you still want to use Eclipse try to look at Eclipse Neon for Android Developers.
Eclipse no longer supports Android Application Development. Announcement here.
You might install Android Studio or Intellij Idea to create android apps using java.

Eclipse Adt Plugin Doesn't Work

I can't install the adt plugin for eclipse.It says "Plugin is already installed" but I can't use.
Here you can see:http://prntscr.com/3zbzi4
Ps:Also I can't delete the plugin it's giving error.
I had a similar problem once i updated versions via SDK manager. It required ADT version 23.0 and above, and couldn't install them via install new software. I managed to delete ADT but that couldn't launch eclipse after to download v23.0.
I solved my problem via downloading lastest version of bundle from site.
http://developer.android.com/sdk/index.html
P.S. Try de-selecting Android Hierarchy Viewer and install rest. If others also cause similar problem, re-installing will probably be simpler option
I had this problem, and the only way I could get it to work again was to reinstall eclipse.
So I installed the latest eclipse, bundled together with ADT, works great.
I couldn't find the bundle maybe it doesn't exist anymore, but still, it's a bad answer i know, but reinstall works :/
Found the link: http://developer.android.com/sdk/index.html
My experience is that if you have installed or updated the SDK then your ADT may not be compatible with your updated SDK.
For example -
When I installed 23.0.0, it wasn't installed because of dependencies,
ADT 23.0.0 (June 2014)
Dependencies:
Java 7 or higher is required if you are targeting the L Developer Preview.
Java 1.6 or higher is required if you are targeting other releases.
Eclipse Indigo (Version 3.7.2) or higher is required.
This version of ADT is designed for use with SDK Tools r23.0.0. If you haven't already installed SDK Tools r23.0.0 into your SDK, use
the Android SDK Manager to do so.
SOURCE: http://developer.android.com/tools/sdk/eclipse-adt.html
Also, many problems were solved by doing the following steps for the ADT 23.0.2 -
update-eclipse-with-android-development-tools-23.
I had this as well after upgrading the SDK manager and build tools etc.
I had to remove Eclipse from my PC and then re-download a fresh copy of the Eclipse and ADT Bundle from http://developer.android.com/sdk/index.html
I resolved this problem.
1)Uninstalled adt bundle then downloaded latest version.
2)Downloaded latest eclipse standart from eclipse site
3)Opened eclipse standart and changed workspace to C:\users....\workspace2
4)Installed latest ADT plugin from Help->Install New Software
And problem is resolved.

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

Having problems downloading Android Development Tools for Eclipse 4.1.0

I tried to download the Development tools for the Android SDK last night and have been getting this error every time I try to download it ever since:
Cannot complete the install because one or more required items could
not be found. Software being installed: Android Development Tools
16.0.1.v201112150204-238534 (com.android.ide.eclipse.adt.feature.group 16.0.1.v201112150204-238534)
I've tried running Eclipse as an administrator, downloading the Google Plugin for Eclipse Galileo, and many assortment of things, but nothing seems to work. Is there a Google plugin for 4.1.0, would I have to reinstall an earlier version of Eclipse, or am I missing something else entirely?
NB: I've been using Windows 7 64-bit Eclipse 4.1.0, as well as the 64-bit version of JDK 1.7.
android sdk dosen't support JDK 1.7, use 1.6.
you should use Eclipse 3.7. Eclipse 4.* is a work in progress and shouldn't be used in production environments yet.
You did not mention anything about the Android Development Tool (ADT) which is required to develop Android apps.
You can get it from here, http://developer.android.com/sdk/eclipse-adt.html
You will need Android SDK r16
Does my answer to this question help?
Also note that there have been some documented bugs with running Eclipse in JDK 1.7 - make sure you have the very latest updates to JDK or use 1.6 instead.

ADT Plugin 10.0.1 not working in Eclipse 3.6.2

I have installed the latest android sdk (android-sdk_r10-windows.zip), latest eclipse helios (eclipse-jee-helios-SR2-win32.zip) and latest adt plugin (ADT-10.0.1.zip). Below is the listing for the installed packages of my android sdk:
Android SDK Tools, revision 10
Android SDK Platform-tools, revision 3
Documentation for Android SDK, API 11, revision 1
SDK Platform Android 3.0, API 11, revision 1
Google USB Driver package, revision 4
I did also edit my Windows path environment variable to include the path to adb.exe and set my android sdk location in eclipse preferences accordingly.
Everything looks perfect until I try to import a sample project (by phonegap). There is a console message telling "Failed to parse the output of 'adb version'".
I have been googling around since yesterday. I just wonder if anyone did manage to get all these (eclipse 3.6.2, android sdk r10, adt 10.0.1) click together.
By the way, I find that there is also no way for us to fall back to earlier combination of eclipse, android sdk, and adt plugin. In my case, I managed to get an earlier android sdk (android-sdk_r09-windows.zip) and adt 9. But when I tried to install the basic packages online, I was hit by this error:
"Failed to fetch URL https://dl-ssl.google.com/android/repository/repository.xml, reason: Connection timed out: connect"
Earlier android sdk and adt plugin is not available; latest android sdk and adt plugin is not capable.
Many thanks for help on this.
Start Here: http://developer.android.com/sdk/eclipse-adt.html
Head over to the installing URL: http://developer.android.com/sdk/eclipse-adt.html#installing
Look at the path for the download: http://dl.google.com/android/ADT-10.0.1.zip
Substitute the version you want in that link:
ADT 10.0.1: http://dl.google.com/android/ADT-10.0.1.zip
ADT 10.0.0: http://dl.google.com/android/ADT-10.0.0.zip
ADT 9.0.0 (Dead Link): http://dl.google.com/android/ADT-9.0.0.zip
ADT 9.0.0: http://dl.google.com/android/ADT_9.0.0.zip
ADT 8.0.1: http://dl.google.com/android/ADT-8.0.1.zip
ADT 8.0.0: http://dl.google.com/android/ADT-8.0.0.zip
ADT 0.9.9: http://dl.google.com/android/ADT-0.9.9.zip
ADT 0.9.8: http://dl.google.com/android/ADT-0.9.8.zip
ADT 0.9.7: http://dl.google.com/android/ADT-0.9.7.zip
ADT 0.9.6: http://dl.google.com/android/ADT-0.9.6.zip
ADT 0.9.5: http://dl.google.com/android/ADT-0.9.5.zip
ADT 0.9.4: http://dl.google.com/android/ADT-0.9.4.zip
Given that the 9.0.0 link swapped a '-' for a '_' in the path, it looks like some poor soul is doing these builds by hand. Too bad directory browsing isn't available for these. Anyway, hope this helps someone in the future.
You can change the url from https://dl-ssl.google.com/android/repository/repository.xml to http://dl-ssl.google.com/android/repository/repository.xml and try again.
You can check the project you are trying to import for settings which are not campatible with your Eclipse or SDK version.
The eclipse version should be fine. You should focus on the SDK version. many have had trouble on Windows with rev 10. You can install and use all the previous versions of Android SDK easily as long as the url you're using is correct.
I finally got all these click together already. It is actually due to the antivirus/firewall program. It is indeed nothing wrong with eclipse, adt plugin or android sdk. Just make sure that android executables is not blocked from running. Anyway, big thanks to those contributed to this post.

Categories

Resources