Android installation configuration and Project Development

Source: Internet
Author: User

We will provide you with a place to go: EOE-android community development or EOE-android community development.

 

I don't know why the android website has been broken down. It doesn't matter. We use it the same way.

Not overturned:

The firewall has been turned over and downloaded:

I use the chrome 8 browser, and the plug-in on the address bar is the wall flip plug-in. I have introduced the usage tips of chrome and its plug-in [update].

The local machine has installed the eclipse environment, so JDK must have been installed!

After downloading Android SDK, specify the folder to decompress and store it, you need to add this I: \ Java \ android-sdk_r07-windows \ Android-SDK-Windows \ tools in the path of the environment variable.

After the configuration is complete, enter Android -- help in cmd to verify whether the verification is successful, as shown below:

After the plug-in is completed, you can download and paste the plug-in to the corresponding plug-in file in eclipse. Alternatively, after starting eclipse, enter help-> install new software and enter the URLHttps://dl-ssl.google.com/android/eclipse/Then install. After installation, restart eclipse.

 

After that, you can see the windows --> Android SDK and AVD manager menu. In this case, you need to configure the SDK path in eclipse, and select windows-> preferences-> Android, select the location of the android SDK, that is, I: \ Java \ android-sdk_r07-windows \ Android-SDK-Windows \.

 

In the android SDK and AVD manager, availablepackages can also install some other things. I have installed them all here, because I have to get started with document and sample:

In this example, select new in Virtual Devices and add the following:

After the task is completed, it can be started. The time may be long and it will be better in the future.

Run cmd to point to the \ tools directory of the SDK and run emulator-AVD avdv22 to start the simulator, as shown below:

Start with start in vurturl devices in Android SDK and AVD Manager:

 

By convention, a hello World:

The conventional process is file --> New --> Android project, which can be followed in sequence. Project name: helloworld, build target: Android 2.2, application name: helloworld, activity: helloworld ...... After completion, the following project structure will be created:

 

To configure the run configuration, add the helloworld project to the Android Application and run it.

 

A brief description of the android project structure:

 

For future reference and further study.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.