diff --git a/README.md b/README.md
index f4f0f969e42f8951cf26a10865c35cbcdbabb0b5..5edda7c490b830dc487b49c180aadfe6b472abbe 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文件,
并依据自己的版本创建新项目,将新项目的对应文件复制到根目录下
diff --git a/ohos/README.md b/ohos/README.md
index 597f322d99be505b6778f7ec6020409ad9efb200..e1bf67621a644ea572e8e17adbcb503df122e89c 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 f0f288a20c87025c2100c561c401ccce0262d774..658aa9124ae16e3fcf2e2e3eb72fea1e11b78fc8 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 0f8b5afa94968480161950b7c7182eb7d282acfd..559c37b565ed0a53505f7ee5ae0fa41276dea58d 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 220e5907b06449ea6ac33785fef4ab65dfc8c8ed..66e07f27001f5036550f4529b0ccf0f735a49696 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 0c31d22b07de977c85aed2c7eb364bd4df947827..3703c291907c97bea7649d44c0c33cfce5cbbce8 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 303b2ecc83bf6f06a39d41981f6aee80f2dc737d..c1d4eba5553052db4360131d9e4376818259027e 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": {},