Try to build the first Android program and install the corresponding development environment, mainly the Android plug-in and its corresponding SDK.
1. After the installation is complete, open the File menu and click Other in the New menu to bring up the following interface:
Click next to bring up the following interface:
Enter the project name, such as AndroidDemo, and click next, for example:
Select the SDK Android4.0.3. Click the next button, for example:
Modify the name of the current package to com. android. Click finish to create a project. The following figure is displayed in the left-side tree:
2. Enter the prompt to be displayed in the step
3. Click
Click the red icon, as shown in the following figure:
Enter the name of the current AVD and select target, for example: <喎?http: www.bkjia.com kf ware vc " target="_blank" class="keylink"> VcD4KPHA + pgltzybzcm9 "http://www.bkjia.com/uploadfile/Collfiles/20140110/20140110090446146.jpg" alt = "\">
Skin after running the program and its interface selection box |
|
4. Click run configuration in the run menu, as shown in figure
Select the target page on the right, as shown in figure
Select the AVD name you just created for the red area.
5. Click Run, as shown in figure
6. The displayed prompt information is those in the input.
NOTE: If Adbconnection Error occurs during running, the remote host forces an existing connection to be closed. During the first running, I always indicated this error. Later, it was because I installed the pea pod and uninstalled it.