Unity2020使用EasyAR4.3打包安卓失败

0 投票
最新提问 5月 21, 2021 用户: w2227669390 (300 分)
注: C:\Users\Dream\Desktop\EasyAR4.3\Temp\gradleOut\unityLibrary\src\main\java\com\unity3d\player\UnityPlayerActivity.java使用或覆盖了已过时的 API。

注: 有关详细信息, 请使用 -Xlint:deprecation 重新编译。

[:com.google.ar.core-queries:] C:\Users\Dream\.gradle\caches\transforms-2\files-2.1\b3812342c527b443d6699fd5aff33905\AndroidManifest.xml:4:5-50 Error:

Missing 'package' key attribute on element package at [:com.google.ar.core-queries:] AndroidManifest.xml:4:5-50

[:com.google.ar.core-queries:] C:\Users\Dream\.gradle\caches\transforms-2\files-2.1\b3812342c527b443d6699fd5aff33905\AndroidManifest.xml Error:

Validation failed, exiting

FAILURE: Build failed with an exception.

* What went wrong:

Execution failed for task ':launcher:processReleaseManifest'.

> Manifest merger failed with multiple errors, see logs

* Try:

Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.

* Get more help at https://help.gradle.org

BUILD FAILED in 10s

Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8

UnityEngine.GUIUtility:ProcessEvent (int,intptr,bool&)

1个回答

0 投票
最新回答 5月 21, 2021 用户: kenn (19,220 分)
修改于 5月 21, 2021 用户:kenn
http://help.easyar.cn/EasyAR%20Sense%20Unity%20Plugin/v4_3/Guides/Android-Project-Configuration.html#unity-2019-4-android-11

根据Unity官方文档:https://docs.unity3d.com/Manual/android-gradle-overview.html

Unity默认gradle版本应该不会有问题。

请检查你所使用的Unity版本及Unity所使用的Gradle版本。
欢迎来到 EasyAR Q&A ,有什么不懂的可以尽管在这里提问,你将会收到社区其他成员的回答。
...