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.
Related
This is in Mac OS X Mavericks.
I downloaded the "Eclipse IDE for Java Developers" from http://www.eclipse.org/downloads/.
I downloaded the ADT (Android Developer Tools) plugin from http://developer.android.com/sdk/index.html#download. Clicked on the "Get the SDK for an existing IDE" link, not the ADT + Eclipse button.
I have the PATH set up in .bash_profile:
export PATH=${PATH}:~/Developer/android-sdk-mac_x86/platforms
export PATH=${PATH}:~/Developer/android-sdk-mac_x86/platform-tools
export PATH=${PATH}:~/Developer/android-sdk-mac_x86/tools
Now how do I get these two products to talk to each other? There is no Window > SDK Manager, or Window > Android.
This setup is to generate Cordova PhoneGap apps.
If you want to install Eclipse and Android SDK separately, you will download:
Eclipse IDE
Android SDK for MACOS
ADT plugin for Eclipse
Then unzip Android SDK (Android SDK require JDK).
And open Eclipse to install ADT:
Click Help -> Install New Software -> Add -> Click Archive to ADT plugin zip file.
After that, you must restart Eclipse, Eclipse will ask you the location of Android SDK (You had unzip).
Done.
Download the "Eclipse IDE for Java Developers" from http://www.eclipse.org/downloads/ You'll want to choose 32-bit or 64-bit. Don't know which? Go to http://64or32.com/
Download the ADT (Android Developer Tools) plugin from http://developer.android.com/sdk/index.html#download. Click on the "Get the SDK for an existing IDE" link, not the ADT + Eclipse button.
Let's set up the Android SDK Manager so it runs from Eclipse. Run > External Tools... > External Tools Configurations, click on the "Program" type at left, click on the left page icon for new program, click on Main tab, in Location section, click Browse File System..., choose the android-sdk-mac_x86/tools/android file. At top for Name, type Android SDK Manager. Click Apply, then Run. The SDK Manager should open.
To use it in Eclipse later on, click on Run > External Tools... > Android SDK Manager.
how can I install SDK properly ive tried this but failed
Enter "Android Development Tools Plug-in" for the "Name." Enter "https://dl-ssl.google.com/android/eclipse/" for the "Location." This tells Eclipse what plug-in you are trying to install and where to download it from.
Click "OK." Although "https" is more secure, if you have trouble acquiring the plug-in, you can replace "https" with "http" in the "Location" URL.
Tick the check box you see next to "Developer Tools" in the "Available Software" window that appears. Click "Next" to see the list of tools that will be downloaded.
Accept the license agreement and click "Finish" to complete the installation. If a security warning telling you that "You are installing software that contains unsigned content" appears, you can safely click "OK."
Restart Eclipse and configure the ADT plug-in to find the Android SDK tools. Click on "Window," select "Preferences," select "Android" in the left panel and click "Browse" for the "SDK Location." Navigate to the Android SDK folder, click "Apply" and then "OK."
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
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*
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: