错误信息:04-20 03:16:47.715: E/AndroidRuntime(5663): FATAL EXCEPTION: main
04-20 03:16:47.715: E/AndroidRuntime(5663): java.lang.IllegalStateException: Could not find a method forword(View) in the activity class com.example.activitydemo1 .MainActivity for onClick handler on view class android.widget.Button
经我发现:在2个不同的项目,button的点击事件名称都为forword。
解决方法:直接修改一个就可以。