android force close: ClassNotFoundException for Activity class

前端 未结 11 1351
情歌与酒
情歌与酒 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:12

    Perhaps your run configuration refers to the old name. Click on the little triangle next to the green run button, and select Run Configurations. Make sure the one for this project refers to the right activity name. Or just delete it and Eclipse will automatically make you a new one.

提交回复
热议问题