Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Execution failed for JetifyTransform: #24

Open
fengruiyu opened this issue Mar 11, 2024 · 0 comments
Open

Execution failed for JetifyTransform: #24

fengruiyu opened this issue Mar 11, 2024 · 0 comments

Comments

@fengruiyu
Copy link

FAILURE: Build completed with 23 failures.

1: Task failed with an exception.

  • What went wrong:
    Execution failed for task ':module-main:dataBindingMergeDependencyArtifactsDebug'.

Could not resolve all files for configuration ':module-main:debugCompileClasspath'.
Failed to transform artifact 'annotation-experimental.aar (androidx.annotation:annotation-experimental:1.4.0)' to match attributes {artifactType=android-databinding}.
> Execution failed for JetifyTransform: /home/ts/.gradle/caches/modules-2/files-2.1/androidx.annotation/annotation-experimental/1.4.0/c7a2038d831d0cfbfb9a440890b287c2e839ecf/annotation-experimental-1.4.0.aar.
> Failed to transform '/home/ts/.gradle/caches/modules-2/files-2.1/androidx.annotation/annotation-experimental/1.4.0/c7a2038d831d0cfbfb9a440890b287c2e839ecf/annotation-experimental-1.4.0.aar' using Jetifier. Reason: Unsupported class file major version 61. (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.
    ==============================================================================

2: Task failed with an exception.

  • What went wrong:
    Execution failed for task ':module-main:dataBindingMergeGenClassesDebug'.

Could not resolve all files for configuration ':module-main:debugCompileClasspath'.
Failed to transform artifact 'annotation-experimental.aar (androidx.annotation:annotation-experimental:1.4.0)' to match attributes {artifactType=android-databinding-class-log}.
> Execution failed for JetifyTransform: /home/ts/.gradle/caches/modules-2/files-2.1/androidx.annotation/annotation-experimental/1.4.0/c7a2038d831d0cfbfb9a440890b287c2e839ecf/annotation-experimental-1.4.0.aar.
> Failed to transform '/home/ts/.gradle/caches/modules-2/files-2.1/androidx.annotation/annotation-experimental/1.4.0/c7a2038d831d0cfbfb9a440890b287c2e839ecf/annotation-experimental-1.4.0.aar' using Jetifier. Reason: Unsupported class file major version 61. (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.
    ==============================================================================

3: Task failed with an exception.

  • What went wrong:
    Execution failed for task ':module-main:generateDebugRFile'.

Could not resolve all files for configuration ':module-main:debugCompileClasspath'.
Failed to transform artifact 'annotation-experimental.aar (androidx.annotation:annotation-experimental:1.4.0)' to match attributes {artifactType=android-symbol-with-package-name}.
> Execution failed for JetifyTransform: /home/ts/.gradle/caches/modules-2/files-2.1/androidx.annotation/annotation-experimental/1.4.0/c7a2038d831d0cfbfb9a440890b287c2e839ecf/annotation-experimental-1.4.0.aar.
> Failed to transform '/home/ts/.gradle/caches/modules-2/files-2.1/androidx.annotation/annotation-experimental/1.4.0/c7a2038d831d0cfbfb9a440890b287c2e839ecf/annotation-experimental-1.4.0.aar' using Jetifier. Reason: Unsupported class file major version 61. (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.
    ==============================================================================

4: Task failed with an exception.

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

Could not resolve all files for configuration ':app:debugRuntimeClasspath'.
Failed to transform artifact 'annotation-experimental.aar (androidx.annotation:annotation-experimental:1.4.0)' to match attributes {artifactType=android-res}.
> Execution failed for JetifyTransform: /home/ts/.gradle/caches/modules-2/files-2.1/androidx.annotation/annotation-experimental/1.4.0/c7a2038d831d0cfbfb9a440890b287c2e839ecf/annotation-experimental-1.4.0.aar.
> Failed to transform '/home/ts/.gradle/caches/modules-2/files-2.1/androidx.annotation/annotation-experimental/1.4.0/c7a2038d831d0cfbfb9a440890b287c2e839ecf/annotation-experimental-1.4.0.aar' using Jetifier. Reason: Unsupported class file major version 61. (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.
    ==============================================================================

5: Task failed with an exception.

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

Could not resolve all files for configuration ':app:debugRuntimeClasspath'.
Failed to transform artifact 'annotation-experimental.aar (androidx.annotation:annotation-experimental:1.4.0)' to match attributes {artifactType=android-manifest}.
> Execution failed for JetifyTransform: /home/ts/.gradle/caches/modules-2/files-2.1/androidx.annotation/annotation-experimental/1.4.0/c7a2038d831d0cfbfb9a440890b287c2e839ecf/annotation-experimental-1.4.0.aar.
> Failed to transform '/home/ts/.gradle/caches/modules-2/files-2.1/androidx.annotation/annotation-experimental/1.4.0/c7a2038d831d0cfbfb9a440890b287c2e839ecf/annotation-experimental-1.4.0.aar' using Jetifier. Reason: Unsupported class file major version 61. (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.
    ==============================================================================

6: Task failed with an exception.

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

Could not resolve all files for configuration ':app:debugRuntimeClasspath'.
Failed to transform artifact 'annotation-experimental.aar (androidx.annotation:annotation-experimental:1.4.0)' to match attributes {artifactType=android-assets}.
> Execution failed for JetifyTransform: /home/ts/.gradle/caches/modules-2/files-2.1/androidx.annotation/annotation-experimental/1.4.0/c7a2038d831d0cfbfb9a440890b287c2e839ecf/annotation-experimental-1.4.0.aar.
> Failed to transform '/home/ts/.gradle/caches/modules-2/files-2.1/androidx.annotation/annotation-experimental/1.4.0/c7a2038d831d0cfbfb9a440890b287c2e839ecf/annotation-experimental-1.4.0.aar' using Jetifier. Reason: Unsupported class file major version 61. (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.
    ==============================================================================

7: Task failed with an exception.

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

Could not resolve all files for configuration ':app:debugRuntimeClasspath'.
Failed to transform artifact 'annotation-experimental.aar (androidx.annotation:annotation-experimental:1.4.0)' to match attributes {artifactType=android-classes, org.gradle.usage=java-runtime}.
> Execution failed for JetifyTransform: /home/ts/.gradle/caches/modules-2/files-2.1/androidx.annotation/annotation-experimental/1.4.0/c7a2038d831d0cfbfb9a440890b287c2e839ecf/annotation-experimental-1.4.0.aar.
> Failed to transform '/home/ts/.gradle/caches/modules-2/files-2.1/androidx.annotation/annotation-experimental/1.4.0/c7a2038d831d0cfbfb9a440890b287c2e839ecf/annotation-experimental-1.4.0.aar' using Jetifier. Reason: Unsupported class file major version 61. (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.
    ==============================================================================

8: Task failed with an exception.

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

Could not resolve all files for configuration ':app:debugRuntimeClasspath'.
Failed to transform artifact 'annotation-experimental.aar (androidx.annotation:annotation-experimental:1.4.0)' to match attributes {artifactType=processed-jar}.
> Execution failed for JetifyTransform: /home/ts/.gradle/caches/modules-2/files-2.1/androidx.annotation/annotation-experimental/1.4.0/c7a2038d831d0cfbfb9a440890b287c2e839ecf/annotation-experimental-1.4.0.aar.
> Failed to transform '/home/ts/.gradle/caches/modules-2/files-2.1/androidx.annotation/annotation-experimental/1.4.0/c7a2038d831d0cfbfb9a440890b287c2e839ecf/annotation-experimental-1.4.0.aar' using Jetifier. Reason: Unsupported class file major version 61. (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.
    ==============================================================================

9: Task failed with an exception.

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

Could not resolve all files for configuration ':app:debugAndroidTestRuntimeClasspath'.
Failed to transform artifact 'annotation-experimental.aar (androidx.annotation:annotation-experimental:1.4.0)' to match attributes {artifactType=android-assets}.
> Execution failed for JetifyTransform: /home/ts/.gradle/caches/modules-2/files-2.1/androidx.annotation/annotation-experimental/1.4.0/c7a2038d831d0cfbfb9a440890b287c2e839ecf/annotation-experimental-1.4.0.aar.
> Failed to transform '/home/ts/.gradle/caches/modules-2/files-2.1/androidx.annotation/annotation-experimental/1.4.0/c7a2038d831d0cfbfb9a440890b287c2e839ecf/annotation-experimental-1.4.0.aar' using Jetifier. Reason: Unsupported class file major version 61. (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.
    ==============================================================================

10: Task failed with an exception.

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

Could not resolve all files for configuration ':app:debugAndroidTestRuntimeClasspath'.
Failed to transform artifact 'annotation-experimental.aar (androidx.annotation:annotation-experimental:1.4.0)' to match attributes {artifactType=android-classes, org.gradle.usage=java-runtime}.
> Execution failed for JetifyTransform: /home/ts/.gradle/caches/modules-2/files-2.1/androidx.annotation/annotation-experimental/1.4.0/c7a2038d831d0cfbfb9a440890b287c2e839ecf/annotation-experimental-1.4.0.aar.
> Failed to transform '/home/ts/.gradle/caches/modules-2/files-2.1/androidx.annotation/annotation-experimental/1.4.0/c7a2038d831d0cfbfb9a440890b287c2e839ecf/annotation-experimental-1.4.0.aar' using Jetifier. Reason: Unsupported class file major version 61. (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.
    ==============================================================================

11: Task failed with an exception.

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

Could not resolve all files for configuration ':app:debugAndroidTestRuntimeClasspath'.
Failed to transform artifact 'annotation-experimental.aar (androidx.annotation:annotation-experimental:1.4.0)' to match attributes {artifactType=processed-jar}.
> Execution failed for JetifyTransform: /home/ts/.gradle/caches/modules-2/files-2.1/androidx.annotation/annotation-experimental/1.4.0/c7a2038d831d0cfbfb9a440890b287c2e839ecf/annotation-experimental-1.4.0.aar.
> Failed to transform '/home/ts/.gradle/caches/modules-2/files-2.1/androidx.annotation/annotation-experimental/1.4.0/c7a2038d831d0cfbfb9a440890b287c2e839ecf/annotation-experimental-1.4.0.aar' using Jetifier. Reason: Unsupported class file major version 61. (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.
    ==============================================================================

12: Task failed with an exception.

  • What went wrong:
    Execution failed for task ':library-base:compileDebugUnitTestJavaWithJavac'.

Compilation failed; see the compiler error output for 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.
    ==============================================================================

13: Task failed with an exception.

  • What went wrong:
    Execution failed for task ':library-base:compileDebugAndroidTestJavaWithJavac'.

Compilation failed; see the compiler error output for 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.
    ==============================================================================

14: Task failed with an exception.

  • What went wrong:
    Execution failed for task ':library-common:compileDebugUnitTestJavaWithJavac'.

Compilation failed; see the compiler error output for 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.
    ==============================================================================

15: Task failed with an exception.

  • What went wrong:
    Execution failed for task ':library-common:compileDebugAndroidTestJavaWithJavac'.

Compilation failed; see the compiler error output for 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.
    ==============================================================================

16: Task failed with an exception.

  • What went wrong:
    Execution failed for task ':library-network:compileDebugUnitTestJavaWithJavac'.

Compilation failed; see the compiler error output for 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.
    ==============================================================================

17: Task failed with an exception.

  • What went wrong:
    Execution failed for task ':library-network:compileDebugAndroidTestJavaWithJavac'.

Compilation failed; see the compiler error output for 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.
    ==============================================================================

18: Task failed with an exception.

  • What went wrong:
    Execution failed for task ':library-video:compileDebugUnitTestJavaWithJavac'.

Compilation failed; see the compiler error output for 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.
    ==============================================================================

19: Task failed with an exception.

  • What went wrong:
    Execution failed for task ':library-video:compileDebugAndroidTestJavaWithJavac'.

Compilation failed; see the compiler error output for 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.
    ==============================================================================

20: Task failed with an exception.

  • What went wrong:
    Execution failed for task ':module-main:processDebugAndroidTestManifest'.

Could not resolve all files for configuration ':module-main:debugAndroidTestRuntimeClasspath'.
Failed to transform artifact 'annotation-experimental.aar (androidx.annotation:annotation-experimental:1.4.0)' to match attributes {artifactType=android-manifest}.
> Execution failed for JetifyTransform: /home/ts/.gradle/caches/modules-2/files-2.1/androidx.annotation/annotation-experimental/1.4.0/c7a2038d831d0cfbfb9a440890b287c2e839ecf/annotation-experimental-1.4.0.aar.
> Failed to transform '/home/ts/.gradle/caches/modules-2/files-2.1/androidx.annotation/annotation-experimental/1.4.0/c7a2038d831d0cfbfb9a440890b287c2e839ecf/annotation-experimental-1.4.0.aar' using Jetifier. Reason: Unsupported class file major version 61. (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.
    ==============================================================================

21: Task failed with an exception.

  • What went wrong:
    Execution failed for task ':module-main:mergeDebugAndroidTestAssets'.

Could not resolve all files for configuration ':module-main:debugAndroidTestRuntimeClasspath'.
Failed to transform artifact 'annotation-experimental.aar (androidx.annotation:annotation-experimental:1.4.0)' to match attributes {artifactType=android-assets}.
> Execution failed for JetifyTransform: /home/ts/.gradle/caches/modules-2/files-2.1/androidx.annotation/annotation-experimental/1.4.0/c7a2038d831d0cfbfb9a440890b287c2e839ecf/annotation-experimental-1.4.0.aar.
> Failed to transform '/home/ts/.gradle/caches/modules-2/files-2.1/androidx.annotation/annotation-experimental/1.4.0/c7a2038d831d0cfbfb9a440890b287c2e839ecf/annotation-experimental-1.4.0.aar' using Jetifier. Reason: Unsupported class file major version 61. (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.
    ==============================================================================

22: Task failed with an exception.

  • What went wrong:
    Execution failed for task ':module-main:checkDebugAndroidTestDuplicateClasses'.

Could not resolve all files for configuration ':module-main:debugAndroidTestRuntimeClasspath'.
Failed to transform artifact 'annotation-experimental.aar (androidx.annotation:annotation-experimental:1.4.0)' to match attributes {artifactType=android-classes, org.gradle.usage=java-runtime}.
> Execution failed for JetifyTransform: /home/ts/.gradle/caches/modules-2/files-2.1/androidx.annotation/annotation-experimental/1.4.0/c7a2038d831d0cfbfb9a440890b287c2e839ecf/annotation-experimental-1.4.0.aar.
> Failed to transform '/home/ts/.gradle/caches/modules-2/files-2.1/androidx.annotation/annotation-experimental/1.4.0/c7a2038d831d0cfbfb9a440890b287c2e839ecf/annotation-experimental-1.4.0.aar' using Jetifier. Reason: Unsupported class file major version 61. (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.
    ==============================================================================

23: Task failed with an exception.

  • What went wrong:
    Execution failed for task ':module-main:desugarDebugAndroidTestFileDependencies'.

Could not resolve all files for configuration ':module-main:debugAndroidTestRuntimeClasspath'.
Failed to transform artifact 'annotation-experimental.aar (androidx.annotation:annotation-experimental:1.4.0)' to match attributes {artifactType=processed-jar}.
> Execution failed for JetifyTransform: /home/ts/.gradle/caches/modules-2/files-2.1/androidx.annotation/annotation-experimental/1.4.0/c7a2038d831d0cfbfb9a440890b287c2e839ecf/annotation-experimental-1.4.0.aar.
> Failed to transform '/home/ts/.gradle/caches/modules-2/files-2.1/androidx.annotation/annotation-experimental/1.4.0/c7a2038d831d0cfbfb9a440890b287c2e839ecf/annotation-experimental-1.4.0.aar' using Jetifier. Reason: Unsupported class file major version 61. (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

BUILD FAILED in 2m 27s
666 actionable tasks: 646 executed, 20 up-to-date

构建失败,不知道什么原因

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant