No android platform shown in SDK Manager on Mac - android

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*

Related

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.

ADT - Android SDK manager shows update installed with a red mark

I am using ADT with Eclipse on MacOSX. Yesterday, after I installed some updates via the Android SDK manager, the IDE no longer recognizes the SDK. In the SDK, the update shows being installed with a red mark.
After I install the SDK build-tools 17. Still not work in ADT
The sdk path is correct, I can open sdk manager from menu of eclipse. BTW, when I open eclipse it display a message like this, but nothing when I press check for updates
This mostly occurs because the IDE is incapable of finding the path where the android SDK is installed. Check if the path set in your IDE is the correct path, try setting that manually by going to
Window - Preferences - Android - SDK Location and setup SDK path.
then go to:
Window > Preferences > General > Startup and shutdown: Check "Android development toolkit"
& restart eclipse from File menu.
It's new update of Android SDK manager to indicate installed platforms.. Nothing to worry about that. Update Android build tool 17 also.Surely it will work.
i your picture the build tools are not installed first install them and restart eclipse and enjoy and if any other problem comes type in commments

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

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:

Installing Android zip in Eclipse3.5 sdk

I'm having problem with installing Android with Eclipse 3.5 sdk.
Here are some specifications,
I have the Android 1.5 sdk zip file, and
And the Eclipse 3.5 sdk zip file.
I have tried installing android as a plug-in but was unable, please tell me the way so that I can install Android in Eclipse with the stated specifications alone.
Please note that I have the 'ANDROID ZIP FILE'.
android-sdk-windows-1.5_r3.zip is not an eclipse plugin.
Android Development Tools (ADT) is the Eclipse plugin for Android development.
Once installed (through the remote site "https://dl-ssl.google.com/android/eclipse/"), you will have to edit its preference in order for that plugin to reference the SDK (191Mo that you have unzipped somewhere on your disk)
Start Eclipse, then select Help > Software Updates....
In the dialog that appears, click the Available Software tab.
Click Add Site...
Enter the Location:
https://dl-ssl.google.com/android/eclipse/
If you have trouble aqcuiring the plugin, try using "http" in the Location URL, instead of "https" (https is preferred for security reasons).
Click OK.
Back in the Available Software view, you should see the plugin listed by the URL, with "Developer Tools" nested within it. Select the checkbox next to Developer Tools and click Install...
On the subsequent Install window, "Android DDMS" and "Android Development Tools" should both be checked. Click Next.
Read and accept the license agreement, then click Finish.
Restart Eclipse.
Now modify your Eclipse preferences to point to the Android SDK directory:
Select Window > Preferences... to open the Preferences panel (Mac: Eclipse > Preferences).
Select Android from the left panel.
For the SDK Location in the main panel, click Browse... and locate your downloaded SDK directory.
Click Apply, then OK.

Categories

Resources