On Thu, Apr 28, 2011 at 1:30 PM, Addinall <[email protected]> wrote: > Any ideas what migh be causing this?
Your PC may be underpowered for the emulator you are trying to run, and your repeated uninstall/reinstall process is not helping you. >From your existing environment, go to Window|Android SDK and AVD Manager. This will bring up a window that, initially, will present the list of emulator images (AVDs) that you have defined. If the list is empty, click [New...] and add one. Until you get a better handle on your environment, I would recommend an older Android (say, 2.1) with a smaller screen (say, HVGA). Highlight an AVD in the list, click [Start...], then click [Launch] on the Launch Options dialog that appears. The first time you run an AVD, it is actually creating the disk images themselves. This takes extra time. However, it should not take ridiculously long. If it takes more than, say, 5 minutes, then you are going to have a problem with the emulator, either due to a slow CPU (the emulator only uses one core), low RAM (Eclipse plus the emulator will eat up a ton), or something else. Once you have the emulator up and running -- you see the home screen and can click around -- now try running from Eclipse. It should use your existing running emulator, installing your application and automatically launching it. You can leave the emulator running all day, normally. The second and subsequent times you launch it (either from the SDK and AVD Manager or from the Eclipse auto-launch when trying to run an app), it will start up quicker than it did the first time. Once you're sure you have a reasonably stable environment, you can experiment with emulators with larger screens and/or higher Android versions. The Android 3.0 emulator is a train wreck for all of us, so unless you have a fairly capable development machine, you might skip that for now. -- Mark Murphy (a Commons Guy) http://commonsware.com | http://github.com/commonsguy http://commonsware.com/blog | http://twitter.com/commonsguy Android Training...At Your Office: http://commonsware.com/training -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en

