gpt4 book ai didi

c# - Unity Build错误::audioinaec中的属性application @ allowBackups = false:与另一个值冲突

转载 作者:行者123 更新时间:2023-12-03 03:54:23 24 4
gpt4 key购买 nike

我有一个正在使用网络的VR应用程序。在我的项目中,一切都在构建和运行良好。然后,我导入了Photon和Photon Voice,现在抛出上面的错误对于我来说将无法构建。

我在项目中唯一的 list 是 AndroidManifest.OVRSubmission.xml 的 list :

 <?xml version="1.0" encoding="utf-8" standalone="no"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
android:installLocation="auto">
<application
android:label="@string/app_name"
android:icon="@mipmap/app_icon"
tools:replace="android:allowBackup">
<activity
android:theme="@android:style/Theme.Black.NoTitleBar.Fullscreen"
android:configChanges="locale|fontScale|keyboard|keyboardHidden|mcc|mnc|navigation|orientation|screenLayout|screenSize|smallestScreenSize|touchscreen|uiMode"
android:launchMode="singleTask"
android:name="com.unity3d.player.UnityPlayerActivity"
android:excludeFromRecents="true">
<intent-filter>
<action android:name="android.intent.action.MAIN"/>
<category android:name="android.intent.category.LAUNCHER"/>
</intent-filter>
</activity>
<meta-data android:name="unityplayer.SkipPermissionsDialog" android:value="false" />
<meta-data android:name="com.samsung.android.vr.application.mode" android:value="vr_only"/>
</application>
</manifest>

enter image description here

enter image description here

我曾尝试按照一些用户的建议添加工具架构和android:allowbackup,但这并没有任何帮助。我也尝试删除Library文件夹,并允许Unity重新导入,但这也没有帮助。

任何帮助表示赞赏!

最佳答案

我修改了Photon Voice Classic,并删除了备份标记。我现在可以运行我的游戏了(但是我还没有验证Photon Voice Classic是否可以正常工作)。
我在7-Zip中打开MyProject\Assets\Plugins\android\libs\audioinaec.aar,并通过删除包含AndroidManifest.xml的行在其中修改了allowBackups

关于c# - Unity Build错误::audioinaec中的属性application @ allowBackups = false:与另一个值冲突,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/62436403/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com