0

我尝试使用从他们的网站下载的源代码运行 FTDI 超级终端。这是 AndroidManifest.xml 文件:

    <?xml version="1.0" encoding="utf-8"?>
    <manifest xmlns:android="http://schemas.android.com/apk/res/android"
          package="com.ftdi.j2xx.hyperterm"
          android:versionCode="2"
          android:versionName="1.0">
        <uses-sdk android:minSdkVersion="13" />
    <uses-feature android:name="android.hardware.usb.host" />

    <application
        android:icon="@drawable/icon"
        android:label="@string/app_name" >
        <activity
            android:name="com.ftdi.j2xx.hyperterm.J2xxHyperTerm"
            android:configChanges="keyboardHidden|orientation|screenSize"
            android:label="@string/app_name"
            android:launchMode="singleTask" >
            <intent-filter>
                <action android:name="android.intent.action.MAIN" />

                <category android:name="android.intent.category.LAUNCHER" />
            </intent-filter>
            <intent-filter>
                <action android:name="android.hardware.usb.action.USB_DEVICE_ATTACHED" />
            </intent-filter>

            <meta-data
                android:name="android.hardware.usb.action.USB_DEVICE_ATTACHED"
                android:resource="@xml/device_filter" />
        </activity>
    </application>

    <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
</manifest>

这条线是问题所在:

android:name="com.ftdi.j2xx.hyperterm.J2xxHyperTerm"

“无法解析符号”...

当我查看文件夹“com.ftdi.j2xx.hyperterm”时,有三个类:BuildConfig、Manifest 和 R。但没有 J2xxHyperTerm。我不认为官方源代码有错误,但我没有看到我在这里缺少什么......

4

0 回答 0