A随风而行
A随风而行
  • 发布:2021-09-18 09:49
  • 更新:2021-09-18 10:47
  • 阅读:830

【报Bug】app离线打包,加入unipush,暂时只配置了华为推送,按照文档操作,一直卡死在import 上

分类:uni-app

产品分类: uniapp/App

PC开发环境操作系统: Windows

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

HBuilderX类型: 正式

HBuilderX版本号: 3.2.6

手机系统: Android

手机系统版本号: Android 11

手机厂商: 华为

手机机型: 华为

页面类型: vue

打包方式: 离线

项目创建方式: HBuilderX

示例代码:

// Top-level build file where you can add configuration options common to all sub-projects/modules.

buildscript {
repositories {
google()
jcenter()
maven {
url 'https://maven.google.com/'
name 'Google'
}
// 配置HMS Core SDK的Maven仓地址。
maven {url 'https://developer.huawei.com/repo/'}
}
dependencies {
classpath 'com.android.tools.build:gradle:4.1.1'
// 增加agcp配置。
classpath 'com.huawei.agconnect:agcp:1.4.1.300'
// NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files
}
}

allprojects {
repositories {
google()
jcenter()
maven {
url 'https://maven.google.com/'
name 'Google'
}
// 配置HMS Core SDK的Maven仓地址。
maven {url 'https://developer.huawei.com/repo/'}
}
}

task clean(type: Delete) {
delete rootProject.buildDir
}

操作步骤:

构建项目进行离线打包

预期结果:

构建成功,打包成功

实际结果:

一直在import 提示上面内容

bug描述:

Configure project :app
--W- The variant: debug, Use the json file: C:\Users\84084\Desktop\rtsoms.sapp\app\agconnect-services.json
--W- Please make sure agconnect-core SDK version is 1.4.1.300 or later
--W- The variant: release, Use the json file: C:\Users\84084\Desktop\rtsoms.sapp\app\agconnect-services.json
--W- Please make sure agconnect-core SDK version is 1.4.1.300 or later

一直在Importing Gradle project

2021-09-18 09:49 负责人:无 分享
已邀请:
A随风而行

A随风而行 (作者)

应该是仓库问题,

A随风而行

A随风而行 (作者)

吧谷歌仓库干掉了,谷歌里没有

A随风而行

A随风而行 (作者)

此问题结束

该问题目前已经被锁定, 无法添加新回复