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

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

问题描述

我想用Unity构建一个简单的ARcore应用.因此,我遵循了

因此日志报告了以下问题

我已经搜索了互联网,但似乎找不到确切的答案.我想念什么?预先感谢.

解决方案

请参见使用以下方法构建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天全站免登陆