梁飞鸿
梁飞鸿
  • 发布:2023-05-12 15:39
  • 更新:2023-05-12 15:42
  • 阅读:220

【报Bug】HbuilderX3.7.11版本安卓云打包失败

分类:uni-app

产品分类: uniapp/App

PC开发环境操作系统: Windows

PC开发环境操作系统版本号: win10

HBuilderX类型: 正式

HBuilderX版本号: 3.7.11

手机系统: Android

手机系统版本号: Android 10

手机厂商: 小米

手机机型: 10s

页面类型: vue

vue版本: vue2

打包方式: 云端

项目创建方式: HBuilderX

操作步骤:

云打包。快速安心打包

预期结果:

正常打包

实际结果:

打包失败

bug描述:

Appid: UNI2DD730B
Warning: Mapping new ns http://schemas.android.com/repository/android/common/02 to old ns http://schemas.android.com/repository/android/common/01
Warning: Mapping new ns http://schemas.android.com/repository/android/generic/02 to old ns http://schemas.android.com/repository/android/generic/01
Warning: Mapping new ns http://schemas.android.com/sdk/android/repo/addon2/02 to old ns http://schemas.android.com/sdk/android/repo/addon2/01
Warning: Mapping new ns http://schemas.android.com/sdk/android/repo/addon2/03 to old ns http://schemas.android.com/sdk/android/repo/addon2/01
Warning: Mapping new ns http://schemas.android.com/sdk/android/repo/repository2/02 to old ns http://schemas.android.com/sdk/android/repo/repository2/01
Warning: Mapping new ns http://schemas.android.com/sdk/android/repo/repository2/03 to old ns http://schemas.android.com/sdk/android/repo/repository2/01
Warning: Mapping new ns http://schemas.android.com/sdk/android/repo/sys-img2/03 to old ns http://schemas.android.com/sdk/android/repo/sys-img2/01
Warning: Mapping new ns http://schemas.android.com/sdk/android/repo/sys-img2/02 to old ns http://schemas.android.com/sdk/android/repo/sys-img2/01
Warning: unexpected element (uri:\"\", local:\"base-extension\"). Expected elements are <{}codename>,<{}layoutlib>,<{}api-level>

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 okhttp-5.0.0-alpha.2.jar (com.squareup.okhttp3:okhttp:5.0.0-alpha.2) to match attributes {artifactType=android-java-res, org.gradle.category=library, org.gradle.dependency.bundling=external, org.gradle.jvm.version=8, org.gradle.libraryelements=jar, org.gradle.status=release, org.gradle.usage=java-runtime, org.jetbrains.kotlin.localToProject=public, org.jetbrains.kotlin.platform.type=jvm}.
    Could not download okhttp-5.0.0-alpha.2.jar (com.squareup.okhttp3:okhttp:5.0.0-alpha.2)
    Could not get resource 'https://repo.maven.apache.org/maven2/com/squareup/okhttp3/okhttp/5.0.0-alpha.2/okhttp-5.0.0-alpha.2.jar'.
    Could not GET 'https://repo.maven.apache.org/maven2/com/squareup/okhttp3/okhttp/5.0.0-alpha.2/okhttp-5.0.0-alpha.2.jar'.
    Read timed out
    Failed to transform okio-jvm-2.9.0.jar (com.squareup.okio:okio:2.9.0) to match attributes {artifactType=android-java-res, org.gradle.libraryelements=jar, org.gradle.status=release, org.gradle.usage=java-runtime, org.jetbrains.kotlin.platform.type=jvm}.
    Could not download okio-jvm-2.9.0.jar (com.squareup.okio:okio:2.9.0)
    Could not get resource 'https://repo.maven.apache.org/maven2/com/squareup/okio/okio/2.9.0/okio-2.9.0.jar'.
    Could not GET 'https://repo.maven.apache.org/maven2/com/squareup/okio/okio/2.9.0/okio-2.9.0.jar'.
    Read timed out

2023-05-12 15:39 负责人:无 分享
已邀请:
2***@qq.com

2***@qq.com

一样云打包调用原生插件依赖请求失败

2***@qq.com

2***@qq.com

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

    Could not resolve all files for configuration ':app:releaseRuntimeClasspath'.
    Could not resolve com.king.zxing:zxing-lite:2.0.3.
    Required by:
    project :app
    Could not resolve com.king.zxing:zxing-lite:2.0.3.
    Could not get resource 'https://repo.maven.apache.org/maven2/com/king/zxing/zxing-lite/2.0.3/zxing-lite-2.0.3.pom'.
    Could not GET 'https://repo.maven.apache.org/maven2/com/king/zxing/zxing-lite/2.0.3/zxing-lite-2.0.3.pom'.
    Read timed out
    Could not resolve com.liulishuo.filedownloader:library:1.7.6.
    Required by:
    project :app
    Could not resolve com.liulishuo.filedownloader:library:1.7.6.
    Could not get resource 'https://repo.maven.apache.org/maven2/com/liulishuo/filedownloader/library/1.7.6/library-1.7.6.pom'.
    Could not GET 'https://repo.maven.apache.org/maven2/com/liulishuo/filedownloader/library/1.7.6/library-1.7.6.pom'.
    Read timed out

要回复问题请先登录注册