【发布时间】:2021-04-08 19:30:08
【问题描述】:
这是我的代码 出现以下错误我该如何解决? (AAPT:错误:'' 与属性 allowBackup (attr) boolean 不兼容。) 我有消息说(“构建”文件夹下的文件已生成,不应编辑)
<?xml version="1.0" encoding="utf-8"?> <manifest
xmlns:android="http://schemas.android.com/apk/res/android"
package="com.example.brokersystem"
android:versionCode="1"
android:versionName="1.0" >
<uses-sdk
android:minSdkVersion="16"
android:targetSdkVersion="30" />
<uses-permission android:name="android.permission.INTERNET" />
<application
android:allowBackup=""
android:appComponentFactory="androidx.core.app.CoreComponentFactory"
android:debuggable="true"
android:fullBackupContent="@xml/backup_descriptor"
android:icon="@mipmap/ic_launcher"
android:label="@string/app_name"
android:roundIcon="@mipmap/ic_launcher_round"
android:supportsRtl="true"
android:testOnly="true"
android:theme="@style/Theme.BrokerSystem" >
<activity android:name="com.example.brokersystem.completTrans" />
<activity
android:name="com.example.brokersystem.terms1"
android:label="@string/title_activity_terms1"
android:theme="@style/Theme.BrokerSystem.NoActionBar" />
<activity android:name="com.example.brokersystem.forgPass" />
<activity android:name="com.example.brokersystem.singUp" />
<activity android:name="com.example.brokersystem.welcom" >
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />"
</intent-filter>
</activity>
<activity android:name="com.example.brokersystem.MainActivity" />
</application>
</manifest>
【问题讨论】: