Skip to content

Commit 707042b

Browse files
committed
回退版本,android3.0 编译问题暂时还没有解决方案
1 parent 3eb576c commit 707042b

File tree

6 files changed

+20
-17
lines changed

6 files changed

+20
-17
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ Android实用框架采用MVC设计模式,多个项目经验总结,持续完善
2727

2828
* Gradle
2929
```java
30-
compile 'org.yh.yhframe:YhLibraryForAndroid:1.0.15'
30+
compile 'org.yh.yhframe:YhLibraryForAndroid:last_version'
3131
```
3232

3333
* Maven

SDK使用说明.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
1-
# 手表定位SDK使用说明(非YhLibraryForAndroid说明)
1+
[ ![Download](https://api.bintray.com/packages/androidcoco/maven/WatchLib/images/download.svg?version=1.0.4) ](https://bintray.com/androidcoco/maven/WatchLib/1.0.4/link)
2+
3+
# 手表定位SDK使用说明(非YhLibraryForAndroid说明)
24

35
标签(空格分隔): 学习
46

@@ -11,7 +13,7 @@
1113
## 2, 项目引入
1214
当前使用model的bulid.gradle 最后加入 x.x.x为版本号请使用最新稳定版当前编写文档时最新版本1.0.1
1315
```java
14-
   compile 'org.yh.yhframe:WatchLib:x.x.x'
16+
   compile 'org.yh.yhframe:WatchLib:last_version'
1517
```
1618
## 3,配置
1719
项目的bulid.gradle

app/build.gradle

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
apply plugin: 'com.android.application'
22
android {
33
compileSdkVersion 26
4+
buildToolsVersion "26.0.1"
45
defaultConfig {
56
applicationId "org.yh.yhframe"
67
minSdkVersion 19
@@ -28,5 +29,7 @@ dependencies {
2829
})
2930

3031
compile project(':yhlibrary')
32+
//限制布局
33+
compile 'com.android.support.constraint:constraint-layout:1.0.2'
3134
testCompile 'junit:junit:4.12'
3235
}

build.gradle

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,21 +2,19 @@
22

33
buildscript {
44
repositories {
5-
google()
65
jcenter()
76
}
87
dependencies {
9-
classpath 'com.android.tools.build:gradle:3.0.0'
8+
classpath 'com.android.tools.build:gradle:2.3.0'
109
//发布项目
11-
classpath 'com.novoda:bintray-release:0.7.0'
10+
classpath 'com.novoda:bintray-release:0.3.4'
1211
// NOTE: Do not place your application dependencies here; they belong
1312
// in the individual module build.gradle files
1413
}
1514
}
1615

1716
allprojects {
1817
repositories {
19-
google()
2018
jcenter()
2119
maven { url "https://jitpack.io" }
2220
}

gradle/wrapper/gradle-wrapper.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,4 @@ distributionBase=GRADLE_USER_HOME
33
distributionPath=wrapper/dists
44
zipStoreBase=GRADLE_USER_HOME
55
zipStorePath=wrapper/dists
6-
distributionUrl=https\://services.gradle.org/distributions/gradle-4.1-all.zip
6+
distributionUrl=https\://services.gradle.org/distributions/gradle-3.3-all.zip

yhlibrary/build.gradle

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
apply plugin: 'com.android.library'
22
android {
33
compileSdkVersion 26
4+
buildToolsVersion "26.0.1"
45
defaultConfig {
56
minSdkVersion 17
67
targetSdkVersion 26
@@ -41,18 +42,17 @@ dependencies {
4142
//事件总线
4243
compile 'org.greenrobot:eventbus:3.0.0'
4344
//GSON 解析
44-
compile 'com.google.code.gson:gson:2.8.0'
45+
compile 'com.google.code.gson:gson:2.7'
4546
//RecyclerView
46-
compile 'com.android.support:recyclerview-v7:26.1.0'
47+
compile 'com.android.support:recyclerview-v7:26.0.0-alpha1'
4748
//cardview
48-
compile 'com.android.support:cardview-v7:26.1.0'
49+
compile 'com.android.support:cardview-v7:26.0.0-alpha1'
4950
//沉浸式菜单
5051
compile 'org.zackratos:ultimatebar:1.0.3'
51-
compile 'com.android.support:appcompat-v7:26.1.0'
52-
compile 'com.android.support:design:26.1.0'
53-
compile 'com.android.support:support-v4:26.1.0'
54-
//限制布局
55-
compile 'com.android.support.constraint:constraint-layout:1.0.2'
52+
compile 'com.android.support:appcompat-v7:26.0.0-alpha1'
53+
compile 'com.android.support:design:26.0.0-alpha1'
54+
compile 'com.android.support:support-v4:26.0.0-alpha1'
55+
compile 'com.android.support.constraint:constraint-layout:1.0.0-alpha7'
5656
testCompile 'junit:junit:4.12'
5757

5858
}
@@ -66,7 +66,7 @@ publish{
6666
userOrg = 'androidcoco'//https://bintray.com用户名
6767
groupId = 'org.yh.yhframe'//jcenter上的路径
6868
artifactId = 'YhLibraryForAndroid'//项目名称
69-
publishVersion = '1.0.15'//版本号
69+
publishVersion = '1.0.14'//版本号
7070
desc = 'Android实用框架采用MVC设计模式,多个项目经验总结,持续完善中'//描述,不重要
7171
website = siteUrl//项目主页
7272
}

0 commit comments

Comments
 (0)