Sunday, December 1, 2019

Procedures to Install Eclipse and Android Emulator Essay Example

Procedures to Install Eclipse and Android Emulator Essay Download and install Java Development Kit (JDK) Download and unzip Eclipse IDE go to http://www. eclipse. org/downloads/. Download either Eclipse IDE for Java EE Developers or Eclipse IDE for Java Developers. Download and unzip Android SDK go to http://developer. android. com/index. html Select SDK tab, download SDK of your platform. Install ADT plug-in into Eclipse IDE 3. 4. Android Development Tools (ADT) is a plug-in for the Eclipse IDE that is designed to give you a powerful, integrated environment in which to build Android applications. ADT extends the capabilities of Eclipse to let you quickly set up new Android projects, create an application UI, add components based on the Android Framework API, debug your applications using the Android SDK tools, and even export signed (or unsigned) APKs in order to distribute your application. Developing in Eclipse with ADT is highly recommended and is the fastest way to get started. With the guided project setup it provides, as well as tools integration, custom XML editors, and debug output pane, ADT gives you an incredible boost in developing Android applications. . 1 Start Eclipse IDE. You might see Workspace Launcher/Select a workspace dialog box as shown below. For the Workspace field, either take the given directory or choose a different directory. The Workspace is the directory where Eclipse maintains its projects. Click OK. 4. 2 Add a Repository location (of the Android development tools) to the Eclipse IDE. A Repository is a where software is being maintained. For Na me field, enter Android Plugin (or whatever name of your choice). For the Location field, enter https://dl-ssl. oogle. com/android/eclipse/. Note: If you have trouble acquiring the plug-in, you can try using http in the URL, instead of https (https is preferred for security reasons). 4. 3 Download and install Android development tools (ADT plug-in) to Eclipse IDE. 5. Configure ADT plug-in with the location of Android SDK Once youve successfully downloaded ADT as described above, the next step is to modify your ADT preferences in Eclipse to point to the Android SDK directory: 5. 1 select Windows-gt;Preferences If the location of the Android SDK is not already set, browse to that location and click OK. 6. Install additional Android SDK components platform, add-ons, doc and samples 6. 1 (This is an optional step) Check the android-sdk- directory and observe that it has empty add-ons, empty platforms, and tools directories but it currently does not have docs and samples directories. Vi a Android SDK and AVD Manager, you can update your Android SDK. 6. 2 Run Android SDK and AVD Manager. 6. 3 Download and install available packages. We will write a custom essay sample on Procedures to Install Eclipse and Android Emulator specifically for you for only $16.38 $13.9/page Order now We will write a custom essay sample on Procedures to Install Eclipse and Android Emulator specifically for you FOR ONLY $16.38 $13.9/page Hire Writer We will write a custom essay sample on Procedures to Install Eclipse and Android Emulator specifically for you FOR ONLY $16.38 $13.9/page Hire Writer The available packages include Documentations, Platforms, Samples, etc. You can selectively choose them. Notice that the packages list may vary from system to system. Install them all. Accept the licenses. Restart ADB. 7. Create Android Virtual Device (AVD) In this step, you are going to create a virtual device which will give options to the emulator to model an actual device. 7. 1 Select Windows-gt;Android SDK and AVD Manager. 7. 2 Click New in the Virtual Devices frame of the Android SDK and AVD Manager The options below are the minimal options to give so that the emulator works correctly. You may further refine them. Enter my_avd_2. 2 (or whatever name you want) as Name for the new device Choose Android 2. 2-update1-API Level 8 for the target. It is the system which will run on the emulator. Optionally enter a minimal size for the SD card – 128 Click on Create AVD The new virtual device has been created. 8. Configure the JRE to use in Eclipse Select Eclipse-gt;Preferences Click on Installed JRES inside Java Check JVM 1. 6. 0 Click OK Procedures to Install Eclipse and Android Emulator Essay Example Procedures to Install Eclipse and Android Emulator Essay Download and install Java Development Kit (JDK) Download and unzip Eclipse IDE go to http://www. eclipse. org/downloads/. Download either Eclipse IDE for Java EE Developers or Eclipse IDE for Java Developers. Download and unzip Android SDK go to http://developer. android. com/index. html Select SDK tab, download SDK of your platform. Install ADT plug-in into Eclipse IDE 3. 4. Android Development Tools (ADT) is a plug-in for the Eclipse IDE that is designed to give you a powerful, integrated environment in which to build Android applications. ADT extends the capabilities of Eclipse to let you quickly set up new Android projects, create an application UI, add components based on the Android Framework API, debug your applications using the Android SDK tools, and even export signed (or unsigned) APKs in order to distribute your application. Developing in Eclipse with ADT is highly recommended and is the fastest way to get started. With the guided project setup it provides, as well as tools integration, custom XML editors, and debug output pane, ADT gives you an incredible boost in developing Android applications. . 1 Start Eclipse IDE. You might see Workspace Launcher/Select a workspace dialog box as shown below. For the Workspace field, either take the given directory or choose a different directory. The Workspace is the directory where Eclipse maintains its projects. Click OK. 4. 2 Add a Repository location (of the Android development tools) to the Eclipse IDE. A Repository is a where software is being maintained. For Na me field, enter Android Plugin (or whatever name of your choice). For the Location field, enter https://dl-ssl. oogle. com/android/eclipse/. Note: If you have trouble acquiring the plug-in, you can try using http in the URL, instead of https (https is preferred for security reasons). 4. 3 Download and install Android development tools (ADT plug-in) to Eclipse IDE. 5. Configure ADT plug-in with the location of Android SDK Once youve successfully downloaded ADT as described above, the next step is to modify your ADT preferences in Eclipse to point to the Android SDK directory: 5. 1 select Windows-gt;Preferences If the location of the Android SDK is not already set, browse to that location and click OK. 6. Install additional Android SDK components platform, add-ons, doc and samples 6. 1 (This is an optional step) Check the android-sdk- directory and observe that it has empty add-ons, empty platforms, and tools directories but it currently does not have docs and samples directories. Vi a Android SDK and AVD Manager, you can update your Android SDK. 6. 2 Run Android SDK and AVD Manager. 6. 3 Download and install available packages. We will write a custom essay sample on Procedures to Install Eclipse and Android Emulator specifically for you for only $16.38 $13.9/page Order now We will write a custom essay sample on Procedures to Install Eclipse and Android Emulator specifically for you FOR ONLY $16.38 $13.9/page Hire Writer We will write a custom essay sample on Procedures to Install Eclipse and Android Emulator specifically for you FOR ONLY $16.38 $13.9/page Hire Writer The available packages include Documentations, Platforms, Samples, etc. You can selectively choose them. Notice that the packages list may vary from system to system. Install them all. Accept the licenses. Restart ADB. 7. Create Android Virtual Device (AVD) In this step, you are going to create a virtual device which will give options to the emulator to model an actual device. 7. 1 Select Windows-gt;Android SDK and AVD Manager. 7. 2 Click New in the Virtual Devices frame of the Android SDK and AVD Manager The options below are the minimal options to give so that the emulator works correctly. You may further refine them. Enter my_avd_2. 2 (or whatever name you want) as Name for the new device Choose Android 2. 2-update1-API Level 8 for the target. It is the system which will run on the emulator. Optionally enter a minimal size for the SD card – 128 Click on Create AVD The new virtual device has been created. 8. Configure the JRE to use in Eclipse Select Eclipse-gt;Preferences Click on Installed JRES inside Java Check JVM 1. 6. 0 Click OK

No comments:

Post a Comment

Note: Only a member of this blog may post a comment.