Could not execute method of the activity Android

导致此问题的原因有,

一:未注册

如果是 ActivityNotFoundException 的,那说明没在 Manifest.xml 的 application 标签下注册 activity。

 

二:次序不对

super.onCreate(savedInstanceState);
setContentView(R.layout.activity_testarray);

放在 onCreate 最前面。
posted @ 2015-06-16 17:08  陆敏技  阅读(1114)  评论(0编辑  收藏  举报
Web Counter
Coupon for Contacts