launcher: checkreleaseduplicateclass构建错误



我尝试构建unity项目,但在插入Firebase和applovin SDK后,它总是崩溃

'捡起JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8注意:/someProj copy/Library/Bee/Android/Prj/IL2CPP/Gradle/unityLibrary/src/main/java/com/unity3d/player/UnityPlayerActivity.java使用或覆盖一个废弃的API。注意:使用-Xlint:deprecation重新编译以获取详细信息。注意:/someProjcopy/Library/Bee/Android/Prj/IL2CPP/Gradle/unityLibrary/src/main/java/com/unity/androidnotifications/UnityNotificationManager.java使用未检查或不安全的操作。注意:重新编译时使用-Xlint:unchecked查看详细信息。

FAILURE: Build failed with a exception.

  • 哪里出错了:任务":launcher: checkreleaseduplicatecclasses"执行失败。

1异常被worker抛出:java.lang.RuntimeException:在模块annotation-1.3.0.jar (androidx.annotation:annotation:1.3.0)和jetified-androidx.annotation.annotation-1.0.0.jar (androidx.annotation.annotation-1.0.0.jar)中发现了重复的类androidx.annotation. animres在模块annotation-1.3.0.jar (androidx.annotation:annotation:1.3.0)和jetified-androidx.annotation.annotation-1.0.0.jar (androidx.annotation.annotation-1.0.0.jar)中找到重复类androidx.annotation. animatorres在模块annotation-1.3.0.jar (androidx.annotation:annotation:1.3.0)和jetified-androidx.annotation.annotation-1.0.0.jar (androidx.annotation.annotation-1.0.0.jar)中复制类androidx.annotation. anyres在模块annotation-1.3.0.jar (androidx.annotation:annotation:1.3.0)和jetified-androidx.annotation.annotation-1.0.0.jar (androidx.annotation.annotation-1.0.0.jar).... '中复制类androidx.annotation. anythread

删除assets/plugin/android目录下的所有AAR或JAR文件

最新更新