如题,
学着安卓开发,编辑布局资源文件的时候,添加什么TextView Button时候,按alt+/没有出现提示信息,
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:orientation="vertical" > <TextView android:id="@+id/myTextView"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
/>
</LinearLayout>eclipse下面出现
Content Assist not available at the current location 这句话。网上找了下方法,诸如打开方式不对,要以android的资源文件格式打开,要么就是XML格式打开,都没用,还有就是设置eclipse里面xml content assist 加a-zA-Z这些字母,还是没用,求遇过类似问题的高手指点指点,我想着是不是dtd文件没有,没有下载到eclipse里面?
先谢上了。
学着安卓开发,编辑布局资源文件的时候,添加什么TextView Button时候,按alt+/没有出现提示信息,
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:orientation="vertical" > <TextView android:id="@+id/myTextView"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
/>
</LinearLayout>eclipse下面出现
Content Assist not available at the current location 这句话。网上找了下方法,诸如打开方式不对,要以android的资源文件格式打开,要么就是XML格式打开,都没用,还有就是设置eclipse里面xml content assist 加a-zA-Z这些字母,还是没用,求遇过类似问题的高手指点指点,我想着是不是dtd文件没有,没有下载到eclipse里面?
先谢上了。
我是只有那个项目有问题,之前写好的项目都有内容提示的,报错也是相同的内容。
你看下java build path中的libraries中的包,有没有多余的,当时我删除的是以M开头的类包~
是菜鸟 表述不清楚哈,请见谅。