java.lang.RuntimeException: Unable to start activity ComponentInfo{com.clm.activity/com.clm.activity
12-19 12:12:42.701: E/AndroidRuntime(626): java.lang.RuntimeException: Unable to start activity ComponentInfo{com.clm.activity/com.clm.activity.RegistActivity}: java.lang.NullPointerException
12-19 12:12:42.701: E/AndroidRuntime(626):
at com.clm.activity.RegistActivity.onCreate(RegistActivity.java:39)
原来我布局文件里面的id和Activity里面获得的id不一样,导致了这个错误.
xml解析, android编译的时候不一定能看出来. 仔细check xml文件
---------------------------------------------------------------------------------------------------------------------------------
copyright:http://www.cnblogs.com/anee/