Skip to content

编译失败 #671

@gengqifu

Description

@gengqifu

FAILURE: Build failed with an exception.

  • What went wrong:
    Execution failed for task ':card-sdk:javaPreCompileDebug'.

Could not resolve all files for configuration ':card-sdk:debugCompileClasspath'.
Failed to transform artifact 'android-stub.jar (project :android-stub)' to match attributes {artifactType=android-classes, org.gradle.usage=java-api}
> Execution failed for JetifyTransform: /Users/gengqifu/git/ext/hapjs/core/runtime/android/android-stub/build/libs/android-stub.jar.
> Failed to transform '/Users/gengqifu/git/ext/hapjs/core/runtime/android/android-stub/build/libs/android-stub.jar' using Jetifier. Reason: null. (Run with --stacktrace for more details.)
Failed to transform artifact 'android-hack.jar (project :android-hack)' to match attributes {artifactType=android-classes, org.gradle.usage=java-api}
> Execution failed for JetifyTransform: /Users/gengqifu/git/ext/hapjs/core/runtime/android/android-hack/build/libs/android-hack.jar.
> Failed to transform '/Users/gengqifu/git/ext/hapjs/core/runtime/android/android-hack/build/libs/android-hack.jar' using Jetifier. Reason: null. (Run with --stacktrace for more details.)

  • Try:
    Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.

  • Get more help at https://help.gradle.org

Deprecated Gradle features were used in this build, making it incompatible with Gradle 6.0.
Use '--warning-mode all' to show the individual deprecation warnings.
See https://docs.gradle.org/5.2.1/userguide/command_line_interface.html#sec:command_line_warnings

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions