Lets Try That Again

Once you have a valid AVD, the Android emulator window will start up and boot the Android operating system. The first time you do this, it may take a minute or two, so be patient. You may need to right-click the project and select Run As > Android Application again. If you see an error message saying that the application is not responding, select the option to continue waiting. If you see a key guard screen, swipe it as directed to unlock.

Eclipse will send a copy of your program to the emulator to execute. The application screen comes up, and your "Hello, Android" program is now running (see Figure 1.5, on page 26). That's it! Congratulations on your first Android program.

0 0

Post a comment