1、运行程序时出现:
[2011-09-12 11:17:42 - layout_01]
Error in an XML file: aborting build.
解决方法是在project里面有个clean,运行一遍!
也就是说我的程序不能自动编译,
用clean它会强制清除那些配置文件,重新生成就会正确了。
然后程序就跑起来了
2、简单的activity之间的跳转,出现错误;那是因为要跳转的那个otheractivity没有在AndroidManifest.xml里注册,添加一行代码就是:<activity android:name=".otheractivity" android:label="@string/other"/>