Unity发布android项目报错 Plugins colliding with each other

Unity版本5.4.3f1
ARtoolkit版本5.3.2
Android SDK Tools版本24.4.1
下载ARUnity5-5.3.2.unitypackage导入Unity,发布在PC上正常运行。
发布在Android上报出以下错误:

Found plugins with same names and architectures, Assets/Plugins/Android/libARWrapper.so (ARMv7) and Assets/Plugins/x86/libARWrapper.so (AnyCPU). Assign different architectures or delete the duplicate.
UnityEditor.AndroidPluginImporterExtension:CheckFileCollisions(String)
UnityEditorInternal.PluginsHelper:CheckFileCollisions(BuildTarget) (at C:/buildslave/unity/build/Editor/Mono/Plugins/PluginsHelper.cs:25)
UnityEditor.BuildPlayerWindow:BuildPlayerAndRun()

Plugins colliding with each other.

根据提示,在Assets/Plugins/x86/libARWrapper.so更改属性Select platforms for plugin把Any Platform勾选框去掉,点击Apply
若还有其他文件发生冲突,则同样取消掉Any Platform

发布者

VC-Robot

游戏爱好者,动漫迷,C++修炼中,编程菜鸟,随性

发表评论

邮箱地址不会被公开。 必填项已用*标注

此站点使用Akismet来减少垃圾评论。了解我们如何处理您的评论数据