首页 > 有关安卓的xml中类cannot be found的问题

有关安卓的xml中类cannot be found的问题

The following classes could not be found:
    ClearEditText (Fix Build Path, Edit XML)
    SideBar (Fix Build Path, Edit XML)

在其他工程上,这两个东西都是没有问题的,能运行,能显示;但是在这个工程中就找不到。大虾们,请问这是哪一方面的什么的问题?谢谢。

虽然不知道有没有必要,还是把AndroidManifest.xml贴一下:

<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
    package="com.example.flipfree"
    android:versionCode="1"
    android:versionName="1.0" >

    <uses-sdk
        android:minSdkVersion="11"
        android:targetSdkVersion="17" />

    <application
        android:allowBackup="true"
        android:icon="@drawable/ic_launcher"
        android:label="@string/app_name"
        android:theme="@style/AppTheme" >
       <activity android:name=".MainActivity" android:label="@string/app_name">
            <intent-filter>
            <action android:name="android.intent.action.MAIN" />
            <category android:name="android.intent.category.LAUNCHER" />
            </intent-filter>
        </activity>    
    </application>

</manifest>

把XML贴出来看下,或者你运行会报错么

【热门文章】
【热门文章】