Wednesday, November 2, 2011

An unhandled win32 exception occured in emulator-arm.exe

An Android Virtual Device (AVD) is an emulator configuration that lets you model an actual device by defining hardware and software options to be emulated by the Android Emulator. For more information u can read from developer.android.com


When u debug your Android application in eclipse on win32 u may be see exception as following:


An unhandled win32 exception occured in emulator-arm.exe [xxxx]


Solution:
  1. Start the Android SDK Manager from start menu of your windows
  2. In the SDK Manager, go to the "Virtual devices" page and click "New" to create a new device. Make sure you create a "Target" API that is within the range of the API's that your app supports. (Check Snapshot [not recommend])
  3. Once the Android Virtual Device (AVD) is created click "Start" to start it.
  4. Wait until the AVD is fully started, then goto Eclipse
  5. In Eclipse create a "Run configuration" for your app (if you do not have it already). In the run configuration make sure you select the device you've just created. Run your "run configuration".
  6. And be happy :)

No comments:

Post a Comment