Alex Rivera | Logout

Unfortunately app has stopped in Android Emulator

Asked 2011-11-28T19:09:14.103
15

I am new to Android and I am trying a few small apps (like Compass). When I run the app in the emulator, it gives the message Unfortunately, Compass has Stopped.

I have no compile time errors.

How do I solve this, and what is causing this?

Thanks in advance.

Edit
Report

1 Answer

2

First check your AndroidManifest.xml file and write activity tag

For example, you have DisplayMessageActivity.class and package is me.user_interface

tag is:

<activity android:name="me.user_interface.DisplayMessageActivity"/>

You can write this after </activity> tag in AndroidManifest.xml file. Check the path carefully.

answered 2012-07-05T12:52:03.727

Your Answer