gpt4 book ai didi

android - image_picker_android :debugUnitTestRuntimeClasspath

转载 作者:行者123 更新时间:2023-12-04 23:48:35 27 4
gpt4 key购买 nike

  • 什么地方出了错:
    任务 ':app:lintVitalRelease' 执行失败。

  • Could not resolve all artifacts for configuration ':image_picker_android:debugUnitTestRuntimeClasspath'.Failed to transform bcprov-jdk15on-1.68.jar (org.bouncycastle:bcprov-jdk15on:1.68) to match attributes {artifactType=processed-jar, org.gradle.category=library, org.gradle.libraryelements=jar, org.gradle.status=release, org.gradle.usage=java-runtime}.> Execution failed for JetifyTransform: /Users/thor/.gradle/caches/modules-2/files-2.1/org.bouncycastle/bcprov-jdk15on/1.68/46a080368d38b428d237a59458f9bc915222894d/bcprov-jdk15on-1.68.jar.> Failed to transform '/Users/thor/.gradle/caches/modules-2/files-2.1/org.bouncycastle/bcprov-jdk15on/1.68/46a080368d38b428d237a59458f9bc915222894d/bcprov-jdk15on-1.68.jar' using Jetifier. Reason: IllegalArgumentException, message: Unsupported class file major version 59. (Run with --stacktrace for more details.)Suggestions:- Check out existing issues at https://issuetracker.google.com/issues?q=componentid:460323&s=modified_time:desc, it's possible that this issue has already been filed there.- If this issue has not been filed, please report it at https://issuetracker.google.com/issues/new?component=460323 (run with --stacktrace and provide a stack trace if possible).


  • 尝试:
    使用 --stacktrace 选项运行以获取堆栈跟踪。使用 --info 或 --debug 选项运行以获得更多日志输出。运行 --scan 以获得完整的见解。
  • https://help.gradle.org 获得更多帮助

  • 在 1m 18s 内构建失败

    最佳答案

    我在我的项目的应用程序级 build.gradle 的 android 部分添加了以下几行。

      lintOptions {
    disable 'InvalidPackage'
    disable "Instantiatable"
    checkReleaseBuilds false
    abortOnError false
    }
    这对我有用。

    关于android - image_picker_android :debugUnitTestRuntimeClasspath,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/72509639/

    27 4 0
    Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
    广告合作:1813099741@qq.com 6ren.com