百世创一
百世创一
  • 发布:2023-09-20 18:29
  • 更新:2023-09-20 18:29
  • 阅读:162

云打包时出现错误提示,找不到是什么原因导致的,看起来像是文件无法下载,但是实际下载没问题

分类:uni-app

FAILURE: Build failed with an exception.

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

    Could not resolve all files for configuration ':app:releaseRuntimeClasspath'.
    Failed to transform protobuf-java-3.11.4.jar (com.google.protobuf:protobuf-java:3.11.4) to match attributes {artifactType=android-java-res, org.gradle.category=library, org.gradle.libraryelements=jar, org.gradle.status=release, org.gradle.usage=java-runtime}.
    Could not download protobuf-java-3.11.4.jar (com.google.protobuf:protobuf-java:3.11.4)
    Could not get resource 'https://repo.maven.apache.org/maven2/com/google/protobuf/protobuf-java/3.11.4/protobuf-java-3.11.4.jar'.
    Could not GET 'https://repo.maven.apache.org/maven2/com/google/protobuf/protobuf-java/3.11.4/protobuf-java-3.11.4.jar'.
    Read timed out

  • Try:

    Run with --debug option to get more log output.
    Run with --scan to get full insights.

2023-09-20 18:29 负责人:无 分享
已邀请:

要回复问题请先登录注册