android - 由于 AndroidManifest.xml 无法构建应用程序
问题描述
当我尝试运行我的代码时,我最终遇到了这些错误。我试图将这些值更改为 true,但每次我重建它时,它都会被删除。有什么建议么?谢谢!
这是代码:
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.ninepinnapp"
android:versionCode="1"
android:versionName="1.0" >
<uses-sdk
android:minSdkVersion="24"
android:targetSdkVersion="30" />
<application
android:appComponentFactory="androidx.core.app.CoreComponentFactory"
android:debuggable="true"
android:extractNativeLibs="false"
android:fullBackupContent=""
android:icon="@drawable/ic_launcher_background"
android:label="@string/app_name"
android:testOnly="true" >
<activity
android:name="com.ninepinnapp.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>
错误
解决方案
android:fullBackupContent
不能为空。将其设置为true
或false
推荐阅读
- java - 使用 .compareTo 比较日期时,为什么不考虑月份?
- php - 如果数据不匹配,如何比较 2 个 PHP 对象数组然后填充空字符串?
- .htaccess - 如何将 Nginx 规则转换为 htaccess?
- django - 尝试以更新配置文件表单获取用户数据时,“用户”对象没有属性“获取”
- javascript - 当图像在视图中时开始视差滚动
- android - 为什么无法将 apk 上传到 google play 控制台?
- c++ - 为什么相同的字符不相等
- php - 使用关联和索引数组循环多维数组
- c# - 添加绑定到在代码隐藏中创建的元素
- bootstrap-4 - Angular8 - 错误 TS2304:找不到名称