How do we connect the ADT to Eclipse Juno - android

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.

Related

Where is Android SDK option to install on Android Studio?

I've just formatted and installed a fresh windows 10. Next, I downloaded Android Studio and didn't see the Android SDK option to install.
Android_Studio_Install_Option
I installed it nevertheless. Naturally, after I opened Android Studio, it opened a window saying that it needs Android SDK to work properly. I went to Android Studio homepage again, and downloaded
SDK Command Line
Extracted it to c:\program files\android . I opened Android Studio again and tried to pinpoint the tools folder inside c:\program files\android\tools as the location of SDK and received this warning:
not valid home for SDK
I typed CMD with administrator rights, entered the tools folder, and executed android update sdk and it downloaded some files and wrote after a while repositores.cfg could not be loaded.
I am out of options now. I need the SDK to compile ! I can't find an offline install on internet. How can Android Studio be installed without the SDK ? I do not understand... and before you ask, there's no android folder on c:\users\my_user\AppData\local ...is there a bug on the latest Android Studio install program? I can't have SDK already installed because this is a fresh install of windows 10. Help on this matter will be much aprecciated.
If you can open Android Studio then go to Tools --> Android --> SDK manager and you should be able to install or uninstall SDKs from there
I had similar problem. I had settings imported from my previous Android Studio installation and my Android SDK Location was set to a folder which was empty. I couldn't figure out how to download new Android SDK but after clicking "Edit" next to "Android SDK Location" (in Default Settings > Appearance & Behavior > System Setttins > Android SDK) Android Studio opened a dialog box where I could choose to install/update my SDK or just selected components of it.

sdk platform tools component is missing when i copied the android sdk path

Getting "SDK platform tools component is missing" when I copied Android sdk to different path. and "Failed to get required ADT components etc..."
Initially I installed Android SDK on C drive and it worked fine with Eclipse
As my C drive is full, I copied Android sdk to D drive, and then I tried to configure the ANDROID_HOME environment variable to the new D drive path.
After that when I launch Eclipse it is complaining saying "sdk platform tools component is missing"
Am i missing something?
OPTION 1
From this source:
Click the little Android Android SDK button:
And install all the components on the Tools folder:
OPTION 2
If Eclipse still complaining saying "sdk platform tools component is missing", you can try option 2.
Open eclipse > select Window menu > Preference > Android > browse your sdk location > ok.

Android Studio SDK Version 22?

Your Android SDK is out of date or is missing templates. Please ensure you are using SDK version 22 or later.
The machine I'm using I've not had Eclipse on before, but had to because of the SDK Issue,
I've installed
SDK 64bit here:
C:\Program Files\Java\jdk1.7.0_21
SDK 32bit here:
C:\Program Files (x86)\Java\jdk1.7.0_21
Android-Studio is install here:
C:\Program Files (x86)\Android\android-studio
Eclipse
C:\Program Files (x86)\Android\Eclipse
Now on another part of this forum a nice post said to change the settings in Configure -> Project Defaults -> Project Structures, but I'm not to sure what to change. I did go into project in (project settings), the list in there is:
None
1.7 (java version 1.7.0_21)
Android SDK (java version 1.7.0_21)
I selected Android SDK (java version 1.7.0_21). Then there are the NEW and Edit buttons. But when I try to give it a path C:\Program Files\Java\jdk1.7.0_21 etc it says it's incompatible.
My environment variables are:
ANDROID_HOME = C:\Program Files (x86)\Java\jdk1.7.0_21
JAVA_HOME = C:\Program Files\Java\jdk1.7.0_21
Does anybody know how to fix this???
Also make sure that inside Configure > Projects Defaults > Projects Structure > Click on the "Android SDK" section at the bottom left panel and insert the path of your Android SDK like this: /Applications/Android Studio.app/sdk (Use the browser to point to the sdk folder).
Android SDK is different from Android API level.
I had this issue when i tried to migrate from Eclipse to Android Studio IDE.
The problem is the version of Android SDK Tools as the error message supposes.
Presuming you have installed Android SDK from Eclipse before:
1. Open Eclipse
2. Go to Help->Check For Updates and update to latest version (just to be sure)
3. Go to Window->Android SDK Manager
4. on the SDK Manager make sure you have selected Tools.Android SDK Tools,Platform-tools and SDK Build-tools![first 3 on the picture][1]
5. Press 'Install packages'
6. Restart Eclipse and Package Manager
7. Repeat steps 4, 5 and 6 until there is nothing left to update.
8. Close Eclipse, start Android Studio and try to 'create new project' again. This time it should work!
If you are able to start Android Studio, you can open SDK Manager from there (in the toolbox by defaut), and go on from p.4
if using Eclipse also be sure to have set the SDK path the same as in Eclipse
Android Studio - configure - Project Defaults - Project structure - Press plus- Android SDK - put path to the same sdk that you use in eclipse (run SDK and in top panel you can see this path) from here
In your eclipse
Go to Help → Install New Software.
On Work with: type https://dl-ssl.google.com/android/eclipse/ and press ENTER.
Wait for Eclipse to fetch the repository. An item named Developer tools will appear in the list.
Mark it for install, press Next and follow the steps to install the ADT tools.
When finished, it will ask to restart Eclipse. Make sure you do this.
When Eclipse restarts, all your Android SDK packages should show up again.

Eclipse - How to config android sdk to helios

In my system(Windows Xp) first i integrate the android sdk to Eclipse indigo. But now i want to integrate the android sdk to Eclipse helios.How to do that? I tried but i am not getting. For this i removed the eclipse indigo and corresponding android sdk. after that i downloaded the eclipse helios and android sdk. open the eclipse it shows the android adk and avd manger icon. it shows error about android sdk path.How to install (like fresh) android sdk in eclipse helios? How to do that please can any body help me.
Just for changing the eclipse, you need not have removed the Android SDK. You can use the same SDK in different versions of Eclipse.
When you say you can see the SDK Manager and AVD Manager icons, I assume that you have successfully installed ADT.
To correct the Android SDK path error, go to Window -> Preferences -> Android. On the preferences pane, click the Browse button next to SDK Locations and browse to the path where you have installed the Android SDK (For example C:\Android\android-sdk-windows) and click Apply
Have you provided path for the android SDK in the preferences? If not then Go to Window > Preferences > Android and provide path your android SDK.
Simple steps to add android sdk in eclipse helios
Help->Eclipse Market place->Popular Tab->u can find Android Development Tools for Eclipse ..
and there is install button right to that..click install! ..that's all...

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