Skip to content
This repository was archived by the owner on Apr 14, 2020. It is now read-only.

Commit 0f4b25f

Browse files
author
levey-home-pc
committed
1.1.3
1 parent 8f7a25c commit 0f4b25f

File tree

2 files changed

+37
-0
lines changed

2 files changed

+37
-0
lines changed

README.md

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,26 @@ github      [rxbanner_demo.apk](https://github.com/leveychen
5757
```
5858
[LATEST RELEASE](https://github.com/leveychen/RxBanner/releases/latest)
5959

60+
### 依赖出错问题
61+
由于本项目采用`28.0.0-rc02`的版本编译,28以下版本可能会出现依赖失败的情况,处理办法如下:
62+
63+
`app.gradle` 最下面添加
64+
65+
````
66+
configurations.all {
67+
resolutionStrategy.eachDependency { DependencyResolveDetails details ->
68+
def requested = details.requested
69+
if (requested.group == 'com.android.support') {
70+
if (!requested.name.startsWith("multidex")) {
71+
//这里指定需要统一的依赖版本,这里统一为27.1.1,这里以27.1.1为例
72+
details.useVersion '27.1.1'
73+
}
74+
}
75+
}
76+
}
77+
````
78+
强制使用你的主项目的编译版本
79+
6080
## 用法
6181
#### `layout`
6282
see `Attributes`

README_EN.md

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,23 @@ github      [rxbanner_demo.apk](https://github.com/leveychen
3939
```
4040
[LATEST RELEASE](https://github.com/leveychen/RxBanner/releases/latest)
4141

42+
### dependencies failed
43+
`app.gradle`
44+
45+
````
46+
configurations.all {
47+
resolutionStrategy.eachDependency { DependencyResolveDetails details ->
48+
def requested = details.requested
49+
if (requested.group == 'com.android.support') {
50+
if (!requested.name.startsWith("multidex")) {
51+
details.useVersion '27.1.1'
52+
}
53+
}
54+
}
55+
}
56+
````
57+
58+
4259
## Usage
4360
#### `layout`
4461
see `Attributes`

0 commit comments

Comments
 (0)