Alternatively you can add /tools to your root path which will prevent the need to specify the full path to the tools directory along with enabling you to run Android Debug Bridge (adb) along withother command line tools.
To add /tools:
- Right click on the My Computer icon and select the properties tab.
- Select the Advanced tab and click the Environment Variables button.
- In the new dialog box double-click on Path (located under System Variables) and type in the full path location to the tools directory(in the android sdk folder).
STEP 3: Android Eclipse Plugin (ADT)
If you choose to use the Eclipse IDE as your Android development environment you will have the opportunity to install and run a plug-in called Android Development Tools.
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/Note: If you have trouble acquiring the plugin, try using "http" in the Location URL, instead of "https" (https is preferred for security reasons).
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.
Configuring the ADT Plugin
Once you've successfully downloaded 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.
- For the SDK Location in the main panel, click Browse... and locate your downloaded SDK directory.
- Click Apply, then OK.
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.exefile at the root of the Android SDK directory. - Or go to Start
.Type android.
1) In Eclipse, click the Window menu, then click Android SDK and AVD Manager.
2) On the Android SDK and AVD Manager dialog that pops up, you'll see a list of any Android AVDs you have already created:
Just click the "New..." button here to start creating a new AVD.
3) On the "Create new Android Virtual Device" dialog, just choose the options you want for your Android virtual device emulator, as shown here:
After filling out all the parameters, just click the "Create AVD" button, and your new AVD will be created, and it will appear in the list of Android Virtual Devices in the previous dialog, like this:
You can now use this AVD in your Eclipse/Android development projects.
thats it you are done with installation of android...phew!! quite a lengthy process..
if u still have issues regarding installation of android please refer these sites:
http://developer.android.com/sdk/installing.html#InstallingADT
http://www.talkandroid.com/android-sdk-install-guide/
http://www.devdaily.com/android/android-eclipse-create-android-virtual-device-avd
No comments:
Post a Comment