Android

Please download to get full document.

View again

of 5
7 views
PDF
All materials on our website are shared by users. If you have any questions about copyright issues, please report us to resolve them. We are always happy to assist you.
Document Description
Installing Android SDK and setting development environment with Eclipse: (Offline Installation); Required Softwares: 1. JDK – Java Development Kit http://www.oracle.com/technetwork/java/javase/downloads/index.html click on JDK to download. 2. Eclipse Download the Eclipse from the following link. “Eclipse Classic” version in recommended. Othervise a JAVA or RCP version is recommended. http://www.eclipse.org/downloads/ 3. Android SDK Download the Android SDK from the following link. http://develop
Document Share
Documents Related
Document Tags
Document Transcript
  Installing Android SDK and setting developmentenvironment with Eclipse: (Offline Installation); Required Softwares: 1.JDK – Java Development Kithttp://www.oracle.com/technetwork/java/javase/downloads/index.htmlclick on JDK to download.2.EclipseDownload the Eclipse from the following link. “Eclipse Classic” version inrecommended. Othervise a JAVA or RCP version is recommended.http://www.eclipse.org/downloads/3.Android SDK Download the Android SDK from the following link.http://developer.android.com/sdk/index.htmlselect the necessary link to download. Installer is recommended. Downloading Tools and Platforms-tools and Platforms:  To download the tools and platforms first go to following link  http://dl-ssl.google.com/android/repository/repository.xml  Tools: In this xml file find the correct name for tools and edit the above line with this nameas follows  http://dl-ssl.google.com/android/repository/repository   /tools_r15-windows.zip   Copy and paste the above URL in web browser to download the Android SDK tools. Platforms-tools:  Like downloading tools, get the name for platform tools from the xml file and edit the URL http://dl-ssl.google.com/android/repository/repository   /platform_tools_r09-windows.zip   Platforms and samples: Similiarly download files for platforms and samples from the XML file. Installation: Note: Use WinRAR to unzip file. Right click on the required file and selec “ExtractHere” option to unzip. There are 5 parts in Setting up the Android Development environmenti.Installing Java Development Kit(JDK).ii.Configuring Android SDK iii.Installing Eclipse.iv.Configuring Eclipse.v.Creating Virtual Devices. Installing JDK 1. Install the Java Development Kit(JDK) using default setup. 2. Go to My Computer -> Properties -> Advanced system setting -> Advanced(tab) -> Environmental variables -> System variables -> New Variable name – JAVA_HOMEVariable value-C:\Program Files\Java\jdk1.7.0_03\Variable value is the path of JDK.Click OK  for all. Configuring Android SDK:  3. Create a folder “ Android ” in c drive (c:\Android). 4. Create another folder called “ workspace ” inside the “ Android ”folder(c:\Android\workspace). 5. Unzip the Android SDK (android_sdk_r10-windows.zip)Note: Use Extract Here option. 6. Copy the “ android-sdk-windows ” folder to “c :\Android ” folder. Inside the“ android-sdk-windows ” folder, a tools folder is present. Delete the tools folder. 7. Now extract the downloaded Android SDK tools file(tools_r10-windows.zip) andcopy it to “ android-sdk-windows ” folder. Rename it as “ tools ”. 8. Similarly, Extract the Android SDK Platform tools file(platform-tools_r01_windows.zip). Copy the extracted folder to “ android-sdk-windows ”folder and rename it as “ platform-tools ”. 9. Inside the android-sdk-windows folder, there is a folder called “ platforms ”.Unzip the Android SDK platform file and move it to “ platforms ” folder.If you have many Android SDK platforms unzip all files and copy it to platformsfolder. 10. Now create a folder called “ samples ”. Like platforms, unzip all theAndroid SDK sample zip files and copy it to samples folder. Installing Eclipse:11. Extract the downloaded Eclipse zip file(eclipse-java-indigo-SR1-win32.zip). Move the eclipse folder to “ c:\program files\” . Configuring Ecllipse:12. Run “ eclipse.exe ” file ( c:\program files\eclipse\eclipse.exe ). It willask for the workspace to use. Give the created workspacepath( c:\Android\workspace ). Check “Use this as default workspace and donot ask again”.  13. Select Help -> Install a New Software . Click “ Add ” button on the topright corner of the install windows. Click “ Archive ”. Browse the downloadedADT file(ADT-10.0.0.zip) and open it. Give name as “ ADT ”. Click Ok. 14. A new window appears. Check the “ Developers Tools ”. Click Next .Accept the defaults. (In this step you need to be in online for a while). Afterinstalling “Developers Tools” Eclipse should be restarted. 15. After restarting Eclipse, go to Windows -> Preferences . Select“ Android ” on the left side pane.Click on browse button and browse the Android SDK location. In this case SDK location is ( c:\Android\android-sdk-windows ). 16. We can see that the android platforms and samples installed. Creating Virtual Devices:17. In Eclipse go to Windows -> Android SDK and AVD Manager . Click“ Virtual Devices ” on the left pane. Click “ New ”. 18. A new window to create new Android Virtual Device will appears. Givename as “ RPC ”. Select the target platform as “ Android 2.2 – API Level 8 ”.Give the SD card size as 512 and click “ Create AVD ”.Now our Android Development Environment is ready to use.
We Need Your Support
Thank you for visiting our website and your interest in our free products and services. We are nonprofit website to share and download documents. To the running of this website, we need your help to support us.

Thanks to everyone for your continued support.

No, Thanks