android force close: ClassNotFoundException for Activity class

前端 未结 11 1329
情歌与酒
情歌与酒 2020-12-29 08:04

When I start my (soon-to-be) android game (from eclipse) it opens, but immediately force-closes.

Logcat says:

07-09 17:12:35.709: ERROR/AndroidRuntim         


        
11条回答
  •  离开以前
    2020-12-29 08:13

    I got this error in a FragmentActivity after updating the SDK to Android 4. The reason was, that you no longer need to include the android-support-v4.jar. Just add the support tools by clicking right mouse button on your Project, than Android Tools -> Add support library.

提交回复
热议问题