Photon Voice2 Gradle build error
Options
paulodgn
✭
in Photon Voice
After integrating Photon Voice i get this error when trying to gradle build from unity to oculus Quest:
stderr[
...\Temp\gradleOut\src\main\AndroidManifest.xml:5:16-43 Error:
Attribute application@allowBackup value=(false) from AndroidManifest.xml:5:16-43
is also present at [:audioinaec:] AndroidManifest.xml:14:9-35 value=(true).
Suggestion: add 'tools:replace="android:allowBackup"' to element at AndroidManifest.xml:5:3-17:17 to override.
Anyone knows a way to fixed it?
using:
Unity 2018.4.1f1
Pun2 and Voice2 (current asset store versions)
Unity build system: Gradle
stderr[
...\Temp\gradleOut\src\main\AndroidManifest.xml:5:16-43 Error:
Attribute application@allowBackup value=(false) from AndroidManifest.xml:5:16-43
is also present at [:audioinaec:] AndroidManifest.xml:14:9-35 value=(true).
Suggestion: add 'tools:replace="android:allowBackup"' to element at AndroidManifest.xml:5:3-17:17 to override.
Anyone knows a way to fixed it?
using:
Unity 2018.4.1f1
Pun2 and Voice2 (current asset store versions)
Unity build system: Gradle
0
Comments
-
Hi @paulodgn,
Try:
1. removingandroid:allowBackup="false"
in line 5 in your AndroidManifest.xml:<application android:allowBackup="false" ...
2. using the suggestion from the error message itself, replace/override the value:<manifest xmlns:android="http://schemas.android.com/apk/res/android" xmlns:tools="http://schemas.android.com/tools" ... > ... <application android:allowBackup="false" tools:replace="android:allowBackup"
1 -
Thx for the quick reply, will try that0