From 3790a13f6e8a62154a2bdc45ec856c2a481f05a1 Mon Sep 17 00:00:00 2001 From: 17351781990 <827990754@qq.com> Date: Mon, 5 Jul 2021 16:52:03 +0800 Subject: [PATCH 1/2] =?UTF-8?q?=E3=80=90=E4=BF=AE=E6=94=B9=E5=86=85?= =?UTF-8?q?=E5=AE=B9=E3=80=91=EF=BC=9A=E5=8D=87=E7=BA=A7sdk?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ohos/README.md | 4 ++-- ohos/build.gradle | 6 +++--- ohos/entry/build.gradle | 2 +- ohos/entry/src/main/config.json | 4 ---- ohos/z_webview/build.gradle | 2 +- ohos/z_webview/src/main/config.json | 4 ---- 6 files changed, 7 insertions(+), 15 deletions(-) diff --git a/ohos/README.md b/ohos/README.md index 597f322..e1bf676 100644 --- a/ohos/README.md +++ b/ohos/README.md @@ -13,7 +13,7 @@ 调用差异:无 -开发版本:sdk5,DevEco Studio 2.1 Release +开发版本:sdk6,DevEco Studio 2.2 Beta1 ## 效果演示 @@ -37,7 +37,7 @@ allprojects { ...... } ``` -在sdk5,DevEco Studio 2.1 Release下项目可直接运行 +在sdk6,DevEco Studio 2.2 Beta1下项目可直接运行 如无法运行,删除项目.gradle,.idea,build,gradle,build.gradle文件, 并依据自己的版本创建新项目,将新项目的对应文件复制到根目录下 diff --git a/ohos/build.gradle b/ohos/build.gradle index f0f288a..658aa91 100644 --- a/ohos/build.gradle +++ b/ohos/build.gradle @@ -2,7 +2,7 @@ apply plugin: 'com.huawei.ohos.app' ohos { - compileSdkVersion 5 + compileSdkVersion 6 defaultConfig { compatibleSdkVersion 5 } @@ -22,8 +22,8 @@ buildscript { jcenter() } dependencies { - classpath 'com.huawei.ohos:hap:2.4.4.2' - classpath 'com.huawei.ohos:decctest:1.0.0.6' + classpath 'com.huawei.ohos:hap:2.4.5.0' + classpath 'com.huawei.ohos:decctest:1.2.4.1' } } diff --git a/ohos/entry/build.gradle b/ohos/entry/build.gradle index 0f8b5af..559c37b 100644 --- a/ohos/entry/build.gradle +++ b/ohos/entry/build.gradle @@ -1,7 +1,7 @@ apply plugin: 'com.huawei.ohos.hap' apply plugin: 'com.huawei.ohos.decctest' ohos { - compileSdkVersion 5 + compileSdkVersion 6 defaultConfig { compatibleSdkVersion 5 } diff --git a/ohos/entry/src/main/config.json b/ohos/entry/src/main/config.json index 220e590..66e07f2 100644 --- a/ohos/entry/src/main/config.json +++ b/ohos/entry/src/main/config.json @@ -5,10 +5,6 @@ "version": { "code": 1000000, "name": "1.0.0" - }, - "apiVersion": { - "compatible": 5, - "target": 5 } }, "deviceConfig": {}, diff --git a/ohos/z_webview/build.gradle b/ohos/z_webview/build.gradle index 0c31d22..3703c29 100644 --- a/ohos/z_webview/build.gradle +++ b/ohos/z_webview/build.gradle @@ -1,7 +1,7 @@ apply plugin: 'com.huawei.ohos.library' ohos { - compileSdkVersion 5 + compileSdkVersion 6 defaultConfig { compatibleSdkVersion 5 } diff --git a/ohos/z_webview/src/main/config.json b/ohos/z_webview/src/main/config.json index 303b2ec..c1d4eba 100644 --- a/ohos/z_webview/src/main/config.json +++ b/ohos/z_webview/src/main/config.json @@ -5,10 +5,6 @@ "version": { "code": 1000000, "name": "1.0.0" - }, - "apiVersion": { - "compatible": 5, - "target": 5 } }, "deviceConfig": {}, -- Gitee From f31d3ab8978596382d008120d71607e64bf95adc Mon Sep 17 00:00:00 2001 From: 17351781990 <827990754@qq.com> Date: Mon, 5 Jul 2021 17:02:47 +0800 Subject: [PATCH 2/2] =?UTF-8?q?=E3=80=90=E4=BF=AE=E6=94=B9=E5=86=85?= =?UTF-8?q?=E5=AE=B9=E3=80=91=EF=BC=9A=E5=8D=87=E7=BA=A7sdk?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index f4f0f96..5edda7c 100644 --- a/README.md +++ b/README.md @@ -13,7 +13,7 @@ 调用差异:无 -开发版本:sdk5,DevEco Studio 2.1 Release +开发版本:sdk6,DevEco Studio 2.2 Beta1 ## 效果演示 @@ -37,7 +37,7 @@ allprojects { ...... } ``` -在sdk5,DevEco Studio 2.1 Release下项目可直接运行 +在sdk6,DevEco Studio 2.2 Beta1下项目可直接运行 如无法运行,删除项目.gradle,.idea,build,gradle,build.gradle文件, 并依据自己的版本创建新项目,将新项目的对应文件复制到根目录下 -- Gitee