提交 a083ae89 编写于 作者: J jackjintai

modify

[Android]-add dokit v3.3.3
上级 a54c6679
DoraemonKit-Android releases
===
## 3.3.3(dokitx 对应androidx,dokit对应Android Support)
1.为了更好的支持android官方androidx和support,dokit从3.3.1版本开始正式对sdk名字进行更新。具体如下:
androidx===>com.didichuxing.doraemonkit:dokitx:3.3.3;
support===>com.didichuxing.doraemonkit:dokit:3.3.3;
2.新增三方依赖库搜索
3.解决H5助手崩溃的问题
4.兼容booster,dokit v3.3.3插件底层依赖booster v2.3.0版本
## 3.3.1(dokitx 对应androidx,dokit对应Android Support)
1.为了更好的支持android官方androidx和support,dokit从3.3.1版本开始正式对sdk名字进行更新。具体如下:
......
## 接入方式
**Tip:**
**1、为了更好的支持android官方androidx和support,dokit从3.3.1版本开始正式对sdk名字进行更新。具体如下:androidx===>com.didichuxing.doraemonkit:dokitx:3.3.1; support===>com.didichuxing.doraemonkit:dokit:3.3.1;**
为了更好的支持android官方androidx和support,dokit从3.3.1版本开始正式对sdk名字进行更新。
具体如下:
**androidx===>com.didichuxing.doraemonkit:dokitx:3.3.3**
**support===>com.didichuxing.doraemonkit:dokit:3.3.3**
**下面所有的日志均用dokitx举例。要使用support版本请将dokitx改为dokit即可。**
|DoKit|最新版本|描述|
|-|-|-|
|支持Androidx|3.3.1|从v3.3.1版本开始更名为dokitx|
|支持android support|3.0.8.0|3.0.8.0版本对应3.2.0的功能,后期support将会不定期更新,主要还是看社区的反馈,请大家尽快升级和适配Androidx|
|支持Androidx|3.3.3|从v3.3.1版本开始更名为dokitx|
|支持android support|3.3.3|3.0.8.0版本对应3.2.0的功能,后期support将会不定期更新,主要还是看社区的反馈,请大家尽快升级和适配Androidx|
......@@ -17,8 +23,8 @@
```groovy
dependencies {
debugImplementation 'com.didichuxing.doraemonkit:dokitx:3.3.1'
releaseImplementation 'com.didichuxing.doraemonkit:dokitx-no-op:3.3.1'
debugImplementation 'com.didichuxing.doraemonkit:dokitx:3.3.3'
releaseImplementation 'com.didichuxing.doraemonkit:dokitx-no-op:3.3.3'
}
```
......@@ -27,20 +33,20 @@ dependencies {
滴滴内部业务线接入请将
```
debugImplementation 'com.didichuxing.doraemonkit:dokitx:3.3.1'
debugImplementation 'com.didichuxing.doraemonkit:dokitx:3.3.3'
```
替换为
```
debugImplementation 'com.didichuxing.doraemonkit:dokitx-rpc:3.3.1'
debugImplementation 'com.didichuxing.doraemonkit:dokitx-rpc:3.3.3'
```
**注意:**
假如你无法通过 jcenter 下载到依赖库并报了以下的错误
```
ERROR: Failed to resolve: com.didichuxing.doraemonkit:dokitx:3.3.1
ERROR: Failed to resolve: com.didichuxing.doraemonkit:dokitx:3.3.3
```
建议你可以尝试挂载VPN或通过命令行重试(以Mac系统为例 项目根目录下)
......@@ -69,7 +75,7 @@ DoraemonKit目前已支持Weex工具,包括
```groovy
dependencies {
debugImplementation 'com.didichuxing.doraemonkit:dokitx-weex:3.3.1'
debugImplementation 'com.didichuxing.doraemonkit:dokitx-weex:3.3.3'
}
```
......@@ -116,7 +122,7 @@ AOP包括以下几个功能:
buildscript {
dependencies {
classpath 'com.didichuxing.doraemonkit:dokitx-plugin:3.3.1'
classpath 'com.didichuxing.doraemonkit:dokitx-plugin:3.3.3'
}
}
......
# Android Guide
**Tip:**
**1、In order to better support the official androidx and support of android, dokit has officially updated the sdk name from version 3.3.1. details as follows:androidx===>com.didichuxing.doraemonkit:dokitx:3.3.1; support===>com.didichuxing.doraemonkit:dokit:3.3.1;**
In order to better support the official androidx and support of android, dokit has officially updated the sdk name from version 3.3.1. details as follows:
**androidx===>com.didichuxing.doraemonkit:dokitx:3.3.3**
**support===>com.didichuxing.doraemonkit:dokit:3.3.3**
**All the logs below use dokitx as an example. To use the support version, please change dokitx to dokit.**
|DoKit|new Version|Desc|
|- |- |- |
|support Androidx|3.3.1|support Androidx from v3.1.0|
|supprot android support|3.0.8.0|Version 3.0.8.0 corresponds to the function of 3.2.0. Later support will be updated from time to time, mainly based on community feedback, please upgrade and adapt to Androidx as soon as possible|
|support Androidx|3.3.3|support Androidx from v3.1.0|
|supprot android support|3.3.3|Version 3.0.8.0 corresponds to the function of 3.2.0. Later support will be updated from time to time, mainly based on community feedback, please upgrade and adapt to Androidx as soon as possible|
#### 1. DoKit SDK Dependencie
```groovy
dependencies {
debugImplementation 'com.didichuxing.doraemonkit:dokitx:3.3.1'
releaseImplementation 'com.didichuxing.doraemonkit:dokitx-no-op:3.3.1'
debugImplementation 'com.didichuxing.doraemonkit:dokitx:3.3.3'
releaseImplementation 'com.didichuxing.doraemonkit:dokitx-no-op:3.3.3'
}
```
......@@ -25,7 +30,7 @@ dependencies {
If you cannot download the dependent library through jcenter and report the following error
```
ERROR: Failed to resolve: com.didichuxing.doraemonkit:dokitx:3.3.1
ERROR: Failed to resolve: com.didichuxing.doraemonkit:dokitx:3.3.3
```
You can try again from the command line (take Mac system as an example under the project root directory)
......@@ -51,7 +56,7 @@ If you need to support Weex, you can directly add the following dependencies
```groovy
dependencies {
debugImplementation 'com.didichuxing.doraemonkit:dokitx-weex:3.3.1'
debugImplementation 'com.didichuxing.doraemonkit:dokitx-weex:3.3.3'
}
```
......@@ -93,7 +98,7 @@ Plugin includes the following functions:
```groovy
buildscript {
dependencies {
classpath 'com.didichuxing.doraemonkit:dokitx-plugin:3.3.1'
classpath 'com.didichuxing.doraemonkit:dokitx-plugin:3.3.3'
}
}
```
......
......@@ -26,7 +26,7 @@
<div align="center">
<img src="https://javer.oss-cn-shanghai.aliyuncs.com/doraemon/github/DoraemonKit_github.png" width = "150" height = "150" alt="DoraemonKit" align=left />
<img src="https://img.shields.io/github/license/didi/DoraemonKit.svg" align=left />
<img src="https://img.shields.io/badge/Android-3.3.1-blue.svg" align=left />
<img src="https://img.shields.io/badge/Android-3.3.3-blue.svg" align=left />
<img src="https://img.shields.io/badge/iOS-3.0.4-yellow.svg" align=left />
<img src="https://img.shields.io/badge/miniapp-0.0.1-red.svg" align=left />
<img src="https://img.shields.io/badge/PRs-welcome-brightgreen.svg" align=left />
......
<div align="center">
<img src="https://javer.oss-cn-shanghai.aliyuncs.com/doraemon/github/DoraemonKit_github.png" width = "150" height = "150" alt="DoraemonKit" align=left />
<img src="https://img.shields.io/github/license/didi/DoraemonKit.svg" align=left />
<img src="https://img.shields.io/badge/Android-3.3.1-blue.svg" align=left />
<img src="https://img.shields.io/badge/Android-3.3.3-blue.svg" align=left />
<img src="https://img.shields.io/badge/iOS-3.0.4-yellow.svg" align=left />
<img src="https://img.shields.io/badge/PRs-welcome-brightgreen.svg" align=left />
</div>
......@@ -122,7 +122,7 @@ buildscript {
}
dependencies {
classpath 'com.android.tools.build:gradle:3.6.1'
classpath 'com.didichuxing.doraemonkit:dokitx-plugin:3.3.1'
classpath 'com.didichuxing.doraemonkit:dokitx-plugin:3.3.3'
}
}
......@@ -135,8 +135,8 @@ apply plugin: 'com.didi.dokit'
and then implementation DoKit SDK
```
debugImplementation "com.didichuxing.doraemonkit:dokitx:3.3.1"
releaseImplementation "com.didichuxing.doraemonkit:dokitx-no-op:3.3.1"
debugImplementation "com.didichuxing.doraemonkit:dokitx:3.3.3"
releaseImplementation "com.didichuxing.doraemonkit:dokitx-no-op:3.3.3"
```
#### 2、SDK Init
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册