当我打开部署目标时,Android资源链接失败

当我打开部署目标时,Android资源链接失败,android,libgdx,manifest,Android,Libgdx,Manifest,当我选择我的android设备时,我出现了这个错误。我正在使用它对libgdx进行游戏测试 Android资源链接失败 C:\Users\oguzh\AndroidStudioProjects\Flying Smurfs\android\build\mediates\ınstant\u run\u merged\u manıfests\debug\processDebugManifest\instant run\AndroidManifest.xml:11:错误:未找到属性android:a

当我选择我的android设备时,我出现了这个错误。我正在使用它对libgdx进行游戏测试

Android资源链接失败

C:\Users\oguzh\AndroidStudioProjects\Flying Smurfs\android\build\mediates\ınstant\u run\u merged\u manıfests\debug\processDebugManifest\instant run\AndroidManifest.xml:11:错误:未找到属性android:appCategory

错误:处理清单失败

这是我的清单xml:

<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.oguzhanaygun.flyingsmurfs" >

<application
    android:allowBackup="true"
    android:icon="@drawable/ic_launcher"
    android:isGame="true"
    android:appCategory="game"
    android:label="@string/app_name"
    android:theme="@style/GdxTheme" >
    <activity
        android:name="com.oguzhanaygun.flyingsmurfs.AndroidLauncher"
        android:label="@string/app_name"
        android:screenOrientation="landscape"
        android:configChanges="keyboard|keyboardHidden|navigation|orientation|screenSize|screenLayout">
        <intent-filter>
            <action android:name="android.intent.action.MAIN" />
            <category android:name="android.intent.category.LAUNCHER" />
        </intent-filter>
    </activity>
</application>

</manifest>

工具:targetApi=“o”
添加到
应用程序
节点,并针对API级别>=
26


。。。或者删除android:appCategory=“game”,当针对API级别时,appCategory属性是在android 8.0中添加的,因此如果使用早期sdk编译,它将无法工作