小编Que*_*een的帖子

Unity Android 构建错误重复类

Unity版本:Unity 2020.1.17f

为 Android 构建游戏后,我遇到了这些错误

在播放器设置中,我检查了自定义主清单、自定义启动器清单、自定义启动器 Gradle 模板和自定义 Gralde 属性模板

我尽力了,请帮忙

当我制作 Android Resolver 时出现此错误

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

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':launcher:checkReleaseDuplicateClasses'.
> 1 exception was raised by workers:
  java.lang.RuntimeException: java.lang.RuntimeException: Duplicate class android.support.customtabs.ICustomTabsCallback found in modules browser-1.0.0-runtime.jar (androidx.browser:browser:1.0.0) and jetified-androidx.browser.browser-1.0.0-runtime.jar (:androidx.browser.browser-1.0.0:)
  Duplicate class android.support.customtabs.ICustomTabsCallback$Stub found in modules browser-1.0.0-runtime.jar (androidx.browser:browser:1.0.0) and jetified-androidx.browser.browser-1.0.0-runtime.jar (:androidx.browser.browser-1.0.0:)
  Duplicate class android.support.customtabs.ICustomTabsCallback$Stub$Proxy found in modules browser-1.0.0-runtime.jar (androidx.browser:browser:1.0.0) and jetified-androidx.browser.browser-1.0.0-runtime.jar (:androidx.browser.browser-1.0.0:)
  Duplicate class android.support.customtabs.ICustomTabsService found …
Run Code Online (Sandbox Code Playgroud)

android unity-game-engine

7
推荐指数
1
解决办法
9270
查看次数

标签 统计

android ×1

unity-game-engine ×1