Errors in updating the Android's ADT Plugin for Eclipse - android

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

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.

Eclipse:Unable to set up sdk path in preference

I am facing some problem Eclipse.
When i open the eclipse it shows a message
This Android SDK requires Android Developer Toolkit version 22.0.0 or
above Current version is 16.0.xxxxxxxxxxxx Please update to latest ADT
version
I tried to open the sdk manager in eclipse it is showing that
Location of Android SDK has not been set up in Preference
Previously i setup everything and i was running apps in eclipse.Don't know suddenly what happened.
I checked preference ,there sdk path is given but there its showing that
This Android SDK requires Android Developer Toolkit version 22.0.0 or
above. Current version is 16.0.1.v201112150204-238534. Please update
ADT to the latest version.
I have checked the sdk path from windows explorer and updated it to latest 22.o.after that I restarted the Eclipse but then also same messages are showing in eclipse.Now i am unable to use it .Can anyone help?
Also I have seen somewhere that tools folder may be missing.But my case it is there.
I am using Eclipse Indigo,windows 7.
When you update your android sdk with the sdk manager, try each time to update the ADT eclipse plugin.
So, in eclipse, go to "Help"-> "Check for updtade" and update the ADT plugin.
u can update ADT plung v22 from android dev guide and install use below steps:
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.0.0.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.
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.
Plase download latest ADT from belwo link...
"http://developer.android.com/sdk/installing/installing-adt.html "
Thanks,
in the eclipse IDE click File > Switch Workspace > Other . Then go to following folder : .metadata/.plugins/org.eclipse.core.runtime/.settings/com.android.ide.eclipse.adt.prefs
open file com.android.ide.eclipse.adt.prefs using notepad.
here is my file:
com.android.ide.eclipse.adt.fixLegacyEditors=1
com.android.ide.eclipse.adt.sdk=C\:\\Users\\PICARY\\AppData\\Local\\Android\\sdk
com.android.ide.eclipse.adt.xmlEditor=true
eclipse.preferences.version=1
in line com.android.ide.eclipse.adt.sdk=........
change that line to your path sdk installation like com.android.ide.eclipse.adt.sdk=C:\Users\computer account name\AppData\Local\Android\sdk
and then restart the eclipse

Update Android ADT Tool to 21.1.0 from 21.0.1

i have updated SDK to 21.1 and how to update ADT 21.1 in old version. and when i opened my SDK it displays
This Android SDK requires Android Developer Toolkit version 21.1.0 or above. Current version is 21.0.1.2012-12-6-2-58. Please update ADT to the latest version.
any solution, Thanks in advance
Faced the same problem and success with following steps
Download the ADT Plugin zip file ADT-21.1.0.zip from
http://dl.google.com/android/ADT-21.1.0.zip
(do not unpack it):
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-21.1.0.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.
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.
Resource:
http://developer.android.com/sdk/installing/installing-adt.html
Section: Troubleshooting Installation
Open Eclipse -> Help -> Check for updates
Eclipse will do the rest. Please make sure to restart Eclipse once the update is done for the changes to take effect.
Go to eclipse > help > Check for updates.
It should list the latest update of adt. If it doesn't work, try this :
go to eclipse > help > Install new software
Click on add
add this url : https://dl-ssl.google.com/android/eclipse/
It will list the updates available- which should ideally be adt 21.1.0 (latest)
install the latest adt and everything should be fine.
source: Update ADT from 21.0 to 21.1
from inankupeli
In Eclipse, do the following:
On the menubar, go to: Help -> Check for Updates.
Select ADT when the list comes up.
Accept licenses when prompted.
Click on Restart when prompted.
Others answers are good.Adding to that
Eclipse -> help -> Install new software
click What is already Installed, then a list will come then select Android Development tools(i.e ADT) and click update.It will be updated to newer version.HTH :)

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.

Updated to Android sdk r15, but now I can't use anything

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:

Categories

Resources