Skip to content

uni app 打包失败 #15

@marvin436

Description

@marvin436

应该是HBuilderX升级后的原因 不知道官方是否也能同步升级下引用的第三方库至com.google.code.findbugs:jsr305:3.0.1

FAILURE: Build failed with an exception.

  • What went wrong:
    Execution failed for task ':app:checkReleaseDuplicateClasses'.

A failure occurred while executing com.android.build.gradle.internal.tasks.CheckDuplicatesRunnable
Duplicate class javax.annotation.CheckForNull found in modules jetified-jsr305-3.0 (jsr305-3.0.0.jar) and jetified-jsr305-3.0.1 (com.google.code.findbugs:jsr305:3.0.1)
Duplicate class javax.annotation.CheckForSigned found in modules jetified-jsr305-3.0 (jsr305-3.0.0.jar) and jetified-jsr305-3.0.1 (com.google.code.findbugs:jsr305:3.0.1)
Duplicate class javax.annotation.CheckReturnValue found in modules jetified-jsr305-3.0 (jsr305-3.0.0.jar) and jetified-jsr305-3.0.1 (com.google.code.findbugs:jsr305:3.0.1)
Duplicate class javax.annotation.Detainted found in modules jetified-jsr305-3.0 (jsr305-3.0.0.jar) and jetified-jsr305-3.0.1 (com.google.code.findbugs:jsr305:3.0.1)
Duplicate class javax.annotation.MatchesPattern found in modules jetified-jsr305-3.0 (jsr305-3.0.0.jar) and jetified-jsr305-3.0.1 (com.google.code.findbugs:jsr305:3.0.1)
Duplicate class javax.annotation.MatchesPattern$Checker found in modules jetified-jsr305-3.0 (jsr305-3.0.0.jar) and jetified-jsr305-3.0.1 (com.google.code.findbugs:jsr305:3.0.1)
Duplicate class javax.annotation.Nonnegative found in modules jetified-jsr305-3.0 (jsr305-3.0.0.jar) and jetified-jsr305-3.0.1 (com.google.code.findbugs:jsr305:3.0.1)
Duplicate class javax.annotation.Nonnegative$Checker found in modules jetified-jsr305-3.0 (jsr305-3.0.0.jar) and jetified-jsr305-3.0.1 (com.google.code.findbugs:jsr305:3.0.1)
Duplicate class javax.annotation.Nonnull found in modules jetified-jsr305-3.0 (jsr305-3.0.0.jar) and jetified-jsr305-3.0.1 (com.google.code.findbugs:jsr305:3.0.1)
Duplicate class javax.annotation.Nonnull$Checker found in modules jetified-jsr305-3.0 (jsr305-3.0.0.jar) and jetified-jsr305-3.0.1 (com.google.code.findbugs:jsr305:3.0.1)
Duplicate class javax.annotation.Nullable found in modules jetified-jsr305-3.0 (jsr305-3.0.0.jar) and jetified-jsr305-3.0.1 (com.google.code.findbugs:jsr305:3.0.1)
Duplicate class javax.annotation.OverridingMethodsMustInvokeSuper found in modules jetified-jsr305-3.0 (jsr305-3.0.0.jar) and jetified-jsr305-3.0.1 (com.google.code.findbugs:jsr305:3.0.1)
Duplicate class javax.annotation.ParametersAreNonnullByDefault found in modules jetified-jsr305-3.0 (jsr305-3.0.0.jar) and jetified-jsr305-3.0.1 (com.google.code.findbugs:jsr305:3.0.1)
Duplicate class javax.annotation.ParametersAreNullableByDefault found in modules jetified-jsr305-3.0 (jsr305-3.0.0.jar) and jetified-jsr305-3.0.1 (com.google.code.findbugs:jsr305:3.0.1)
Duplicate class javax.annotation.PropertyKey found in modules jetified-jsr305-3.0 (jsr305-3.0.0.jar) and jetified-jsr305-3.0.1 (com.google.code.findbugs:jsr305:3.0.1)
Duplicate class javax.annotation.RegEx found in modules jetified-jsr305-3.0 (jsr305-3.0.0.jar) and jetified-jsr305-3.0.1 (com.google.code.findbugs:jsr305:3.0.1)
Duplicate class javax.annotation.RegEx$Checker found in modules jetified-jsr305-3.0 (jsr305-3.0.0.jar) and jetified-jsr305-3.0.1 (com.google.code.findbugs:jsr305:3.0.1)
Duplicate class javax.annotation.Signed found in modules jetified-jsr305-3.0 (jsr305-3.0.0.jar) and jetified-jsr305-3.0.1 (com.google.code.findbugs:jsr305:3.0.1)
Duplicate class javax.annotation.Syntax found in modules jetified-jsr305-3.0 (jsr305-3.0.0.jar) and jetified-jsr305-3.0.1 (com.google.code.findbugs:jsr305:3.0.1)
Duplicate class javax.annotation.Tainted found in modules jetified-jsr305-3.0 (jsr305-3.0.0.jar) and jetified-jsr305-3.0.1 (com.google.code.findbugs:jsr305:3.0.1)
Duplicate class javax.annotation.Untainted found in modules jetified-jsr305-3.0 (jsr305-3.0.0.jar) and jetified-jsr305-3.0.1 (com.google.code.findbugs:jsr305:3.0.1)
Duplicate class javax.annotation.WillClose found in modules jetified-jsr305-3.0 (jsr305-3.0.0.jar) and jetified-jsr305-3.0.1 (com.google.code.findbugs:jsr305:3.0.1)
Duplicate class javax.annotation.WillCloseWhenClosed found in modules jetified-jsr305-3.0 (jsr305-3.0.0.jar) and jetified-jsr305-3.0.1 (com.google.code.findbugs:jsr305:3.0.1)
Duplicate class javax.annotation.WillNotClose found in modules jetified-jsr305-3.0 (jsr305-3.0.0.jar) and jetified-jsr305-3.0.1 (com.google.code.findbugs:jsr305:3.0.1)
Duplicate class javax.annotation.concurrent.GuardedBy found in modules jetified-jsr305-3.0 (jsr305-3.0.0.jar) and jetified-jsr305-3.0.1 (com.google.code.findbugs:jsr305:3.0.1)
Duplicate class javax.annotation.concurrent.Immutable found in modules jetified-jsr305-3.0 (jsr305-3.0.0.jar) and jetified-jsr305-3.0.1 (com.google.code.findbugs:jsr305:3.0.1)
Duplicate class javax.annotation.concurrent.NotThreadSafe found in modules jetified-jsr305-3.0 (jsr305-3.0.0.jar) and jetified-jsr305-3.0.1 (com.google.code.findbugs:jsr305:3.0.1)
Duplicate class javax.annotation.concurrent.ThreadSafe found in modules jetified-jsr305-3.0 (jsr305-3.0.0.jar) and jetified-jsr305-3.0.1 (com.google.code.findbugs:jsr305:3.0.1)
Duplicate class javax.annotation.meta.Exclusive found in modules jetified-jsr305-3.0 (jsr305-3.0.0.jar) and jetified-jsr305-3.0.1 (com.google.code.findbugs:jsr305:3.0.1)
Duplicate class javax.annotation.meta.Exhaustive found in modules jetified-jsr305-3.0 (jsr305-3.0.0.jar) and jetified-jsr305-3.0.1 (com.google.code.findbugs:jsr305:3.0.1)
Duplicate class javax.annotation.meta.TypeQualifier found in modules jetified-jsr305-3.0 (jsr305-3.0.0.jar) and jetified-jsr305-3.0.1 (com.google.code.findbugs:jsr305:3.0.1)
Duplicate class javax.annotation.meta.TypeQualifierDefault found in modules jetified-jsr305-3.0 (jsr305-3.0.0.jar) and jetified-jsr305-3.0.1 (com.google.code.findbugs:jsr305:3.0.1)
Duplicate class javax.annotation.meta.TypeQualifierNickname found in modules jetified-jsr305-3.0 (jsr305-3.0.0.jar) and jetified-jsr305-3.0.1 (com.google.code.findbugs:jsr305:3.0.1)
Duplicate class javax.annotation.meta.TypeQualifierValidator found in modules jetified-jsr305-3.0 (jsr305-3.0.0.jar) and jetified-jsr305-3.0.1 (com.google.code.findbugs:jsr305:3.0.1)
Duplicate class javax.annotation.meta.When found in modules jetified-jsr305-3.0 (jsr305-3.0.0.jar) and jetified-jsr305-3.0.1 (com.google.code.findbugs:jsr305:3.0.1)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions