diff --git a/README.md b/README.md index 5c9b40176eb1629d4dd03a4b8f17417df470ad8c..f88043c6b907cda0484a36c0664c7eef99bc4505 100644 --- a/README.md +++ b/README.md @@ -5,7 +5,7 @@ - 功能:一个支持多种状态的自定义View,可以方便的切换到加载中视图,错误视图,空数据视图,网络异常视图,内容视图。 - 项目移植状态:主功能完成 - 调用差异:无 -- 开发版本:sdk5,DevEco Studio2.1 beta4(实时更新以当前最新版本为准) +- 开发版本:sdk5,DevEco Studio2.1 Release(实时更新以当前最新版本为准) - 基线版本:MultipleStatueView Release v1.7 #### 效果演示 @@ -33,6 +33,7 @@ allprojects { } ``` +在sdk5,DevEco Studio2.1 Release下项目可直接运行 如无法运行,删除项目.gradle,.idea,build,gradle,build.gradle文件, 并依据自己的版本创建新项目,将新项目的对应文件复制到根目录下 #### 使用说明 diff --git a/build.gradle b/build.gradle index 1dc510ffd5a8d3abe3f2758e193a2619aca86563..d3c9f1fef7ce4e18162867c20c11bfc65e1a8d28 100644 --- a/build.gradle +++ b/build.gradle @@ -7,7 +7,7 @@ ohos { compatibleSdkVersion 5 } } - + buildscript { repositories { maven { @@ -16,10 +16,10 @@ buildscript { maven { url 'https://developer.huawei.com/repo/' } - jcenter() + jcenter() } dependencies { - classpath 'com.huawei.ohos:hap:2.4.2.7' + classpath 'com.huawei.ohos:hap:2.4.4.2' classpath 'com.huawei.ohos:decctest:1.0.0.7' } } @@ -32,6 +32,6 @@ allprojects { maven { url 'https://developer.huawei.com/repo/' } - jcenter() + jcenter() } } diff --git a/entry/build.gradle b/entry/build.gradle index 8761c4b5082c3b3ebdd9bf5ae26ed145c9761c55..6860b132d5f4b16e9e899fcf7b2ae1dfc019170e 100644 --- a/entry/build.gradle +++ b/entry/build.gradle @@ -1,17 +1,7 @@ apply plugin: 'com.huawei.ohos.hap' apply plugin: 'com.huawei.ohos.decctest' ohos { - signingConfigs { - debug { - storeFile file('E:\\test.p12') - storePassword '000000183A921FB8F172143ADE6EF0617D63E3848775C1E2B52CE7190D76147C1567199B5CD2812C' - keyAlias 'key' - keyPassword '000000182C5947D81790FF8A4BD04ABB032713F7A71E99B8CF744690A8740D24FB95752FBDDE201E' - signAlg 'SHA256withECDSA' - profile file('E:\\testDebug.p7b') - certpath file('E:\\test.cer') - } - } + compileSdkVersion 5 defaultConfig { compatibleSdkVersion 5 diff --git a/entry/src/main/config.json b/entry/src/main/config.json index cf2c7fcd14d478dde4cad0b3b259d91bff13a009..11ce14efaf32b17dfcbe35cfe2ee3e2719fb2f8a 100644 --- a/entry/src/main/config.json +++ b/entry/src/main/config.json @@ -1,10 +1,10 @@ { "app": { - "bundleName": "cn.droidlover.xrecyclerview.demo", + "bundleName": "com.classic.common.simple", "vendor": "classic", "version": { "code": 1000000, - "name": "1.0.0" + "name": "1.0" }, "apiVersion": { "compatible": 5, diff --git a/entry/src/ohosTest/config.json b/entry/src/ohosTest/config.json index f41dc2937eab0aadee9a149319be05bca7587078..3b106a198b199a6e9b197f421c6a9384ceb99fcc 100644 --- a/entry/src/ohosTest/config.json +++ b/entry/src/ohosTest/config.json @@ -4,7 +4,7 @@ "vendor": "classic", "version": { "code": 1000000, - "name": "1.0.0" + "name": "1.0" }, "apiVersion": { "compatible": 5,