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

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:

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.

Errors in updating the Android's ADT Plugin for Eclipse

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 not opening from eclipse

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.

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

No android platform shown in SDK Manager on Mac

I have installed Android SDK from http://developer.android.com/sdk/index.html.
I have created the .bash_profile and updated it with the path where i have the "android-sdk-macosx" folder.
But when I open the SDK manager to install a platform, it does not locate it. I connect using a proxy, which I have entered in the Preferences.
Kindly help.
Should I install some other SDK version. Are there any compatibility issues ? Why does it not connect to the internet in spite of mentioning the proxy settings.
You should make sure the sdk is configured in the eclipse preferences
Configuring the ADT Plugin
After you've successfully downloaded the ADT as described above,
the next step is to modify your ADT preferences in Eclipse to point to the
Android SDK directory:
Select Window > Preferences... to open the Preferences panel (Mac OS X:
Eclipse > Preferences).
Select Android from the left panel.
You may see a dialog asking whether you want to send usage statistics to Google.
If so, make your choice and click Proceed. You cannot continue with this
procedure
until you click Proceed.
For the SDK Location in the main panel, click Browse... and locate your
downloaded SDK directory. Click Apply, then OK.
Done! If you haven't encountered any problems, then the installation is complete.
If you're installing the Android SDK for the first time, return to Installing
the SDK to
complete your setup.*emphasized text*

Categories

Resources