无法使用 ARcore 在 Unity 2019.2.4f1 中构建 .APK:清单合并失败 [英] Cannot Build .APK in Unity 2019.2.4f1 with ARcore : Manifest Merger failed

查看:47
本文介绍了无法使用 ARcore 在 Unity 2019.2.4f1 中构建 .APK:清单合并失败的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想用 Unity 构建一个简单的 ARcore 应用程序.所以我遵循了

所以日志报告了以下问题

我在互联网上搜索过,似乎无法找到明确的答案.我错过了什么?提前致谢.

解决方案

请参阅 关于 ARCore XR 插件 统一文档.

<块引用>

由于在 ARCore XR 插件中重新分发的 Google ARCore 客户端库中的更改,使用 Unity 2019.4 构建的项目必须更新以使用 Gradle 5.6.4 或更高版本.请参阅这些说明以更新您项目的 Gradle 版本.

然后您可以按照以下步骤为 Android 11 构建团结.即使您的目标版本低于 Android 11,您也需要按照以下步骤操作.

I want to build a simple ARcore app with Unity. So I followed the ARCore quickstart documentation for Unity, but when I tried to build the APK, this error appeared:

"Manifest Merger Failed with multiple errors, see logs. See the Console for details."

So the logs reported the following issues

I have searched the internet and can't seem to find a definitive answer. What am I missing? Thanks in advance.

解决方案

See the Known limitations section of About ARCore XR Plugin unity docs.

Due to changes made in Google's ARCore clent libraries which are redistribute in ARCore XR Plugin, projects built with Unity 2019.4 must be updated to use Gradle 5.6.4 or later. Please refer to these instructions for updating your project's Gradle version.

Then you can follow these steps Build for Android 11 with Unity. Even if you are targeting less than Android 11 you need to follow these steps.

这篇关于无法使用 ARcore 在 Unity 2019.2.4f1 中构建 .APK:清单合并失败的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆