Android学习札记一
Android学习笔记一
斯诺克爱好者网:http://www.kkyule.com
淘宝精品导航 http://tb99.web-59.com
淘宝精品导航:http://www.nitaomei.com
报错:No resource identifier found for attribute 'id' in package 'android'
刚接触Android根据资料了解和请教一些前辈,都说没有错。后来在晚上查找类似的错误,发现是我的ADT 版本过低导致,出错版本 0.3.3 。现在下载一个0.9.3版本。这个问题解决。
斯诺克爱好者网:http://www.kkyule.com
淘宝精品导航 http://tb99.web-59.com
淘宝精品导航:http://www.nitaomei.com
报错:No resource identifier found for attribute 'id' in package 'android'
<?xml version="1.0" encoding="utf-8"?> <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" android:orientation="vertical" android:layout_width="fill_parent" android:layout_height="fill_parent" > <TextView android:layout_width="fill_parent" android:layout_height="wrap_content" android:text="@string/weight" /> <Button android:id="@+id/button" android:layout_width="fill_parent" android:layout_height="wrap_content" android:text="@string/weight" /> </LinearLayout>
刚接触Android根据资料了解和请教一些前辈,都说没有错。后来在晚上查找类似的错误,发现是我的ADT 版本过低导致,出错版本 0.3.3 。现在下载一个0.9.3版本。这个问题解决。