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

Commit

Permalink
1.1.3
Browse files Browse the repository at this point in the history
  • Loading branch information
levey-home-pc committed Sep 16, 2018
1 parent 8f7a25c commit 0f4b25f
Show file tree
Hide file tree
Showing 2 changed files with 37 additions and 0 deletions.
20 changes: 20 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,26 @@ github      [rxbanner_demo.apk](https://github.com/leveychen
```
[LATEST RELEASE](https://github.com/leveychen/RxBanner/releases/latest)

### 依赖出错问题
由于本项目采用`28.0.0-rc02`的版本编译,28以下版本可能会出现依赖失败的情况,处理办法如下:

`app.gradle` 最下面添加

````
configurations.all {
resolutionStrategy.eachDependency { DependencyResolveDetails details ->
def requested = details.requested
if (requested.group == 'com.android.support') {
if (!requested.name.startsWith("multidex")) {
//这里指定需要统一的依赖版本,这里统一为27.1.1,这里以27.1.1为例
details.useVersion '27.1.1'
}
}
}
}
````
强制使用你的主项目的编译版本

## 用法
#### `layout`
see `Attributes`
Expand Down
17 changes: 17 additions & 0 deletions README_EN.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,23 @@ github      [rxbanner_demo.apk](https://github.com/leveychen
```
[LATEST RELEASE](https://github.com/leveychen/RxBanner/releases/latest)

### dependencies failed
`app.gradle`

````
configurations.all {
resolutionStrategy.eachDependency { DependencyResolveDetails details ->
def requested = details.requested
if (requested.group == 'com.android.support') {
if (!requested.name.startsWith("multidex")) {
details.useVersion '27.1.1'
}
}
}
}
````


## Usage
#### `layout`
see `Attributes`
Expand Down

0 comments on commit 0f4b25f

Please sign in to comment.