1. Use eclipse to create an endroid Project
After the environment is configured, it is not too difficult to create it using eclipse.
1.1 Step 1: Right-click New> project and select the android project under Android, as shown in figure
1.2 next: Enter the project name, select the SDK version, and enter the package name, as shown in figure
Note: If the SDK directory is not configured in window-> preferences (Section 3.3 in the previous section), you cannot see the SDK version in build target. In addition, you need to enter the packge name in packge name, XX. XX format;
1.2 Click Finish to complete the creation.
2. Run the project
Some configuration is required during running.
2.1 right-click the project, run as-> RUN deployments, select the Android Application option, and right-click New, for example, browse, and select the project you just created;
2.2 select the target tag and configure AVD. If there is no option list or the version in the Option List does not match the project you created, click the manager in the lower right corner to repeat the previous section (4. Create Android virtual drivers (AVD ));
2.3 click Run to start the project. The corresponding log is displayed on the eclipse console, which is slow to start. The final startup interface is as follows;
This interface is an emulator in Android development. It is similar to operations on mobile phones, but it cannot be photographed. If you install software, you need to configure sdcard. This part will be learned later.
Okay. So far, the first Android project has been created and started!