An error running my application in the Android emulator
I am developing Android application. There is no error in my application but, while running the application in the Android emulator it showing:
The Application has stopped unexpectedlly please try again.
I tried number of times b开发者_Python百科ut it showing same error. Another application is running in the same emulator.
How do you know there is no error in your application? If the application is being "stopped unexpectedly" then that almost always means there is a bug in your application.
Depending on what environment you are using, you should be able to connect your debugger to the android emulator and see where the application crashes, so that you can work out why it crashes.
There can be one possibility...If you are defining any additional java class file and not registering it in manifest.xml as an activity. This could be the Rosene,please check it too.
精彩评论