Commit 781b484842dc577edbb6366bb90f7eaf4c6312eb
1 parent
e66f2a0c
解决6.0权限问题
Showing
1 changed file
with
5 additions
and
5 deletions
app/build.gradle
| 1 | apply plugin: 'com.android.application' | 1 | apply plugin: 'com.android.application' |
| 2 | 2 | ||
| 3 | android { | 3 | android { |
| 4 | - compileSdkVersion 25 | ||
| 5 | - buildToolsVersion "25.0.2" | 4 | + compileSdkVersion 23 |
| 5 | + buildToolsVersion "25.0.0" | ||
| 6 | defaultConfig { | 6 | defaultConfig { |
| 7 | applicationId "com.cnlive.im" | 7 | applicationId "com.cnlive.im" |
| 8 | - minSdkVersion 16 | ||
| 9 | - targetSdkVersion 25 | 8 | + minSdkVersion 15 |
| 9 | + targetSdkVersion 23 | ||
| 10 | versionCode 1 | 10 | versionCode 1 |
| 11 | versionName "1.0" | 11 | versionName "1.0" |
| 12 | testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner" | 12 | testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner" |
| @@ -41,7 +41,7 @@ dependencies { | @@ -41,7 +41,7 @@ dependencies { | ||
| 41 | androidTestCompile('com.android.support.test.espresso:espresso-core:2.2.2', { | 41 | androidTestCompile('com.android.support.test.espresso:espresso-core:2.2.2', { |
| 42 | exclude group: 'com.android.support', module: 'support-annotations' | 42 | exclude group: 'com.android.support', module: 'support-annotations' |
| 43 | }) | 43 | }) |
| 44 | - compile 'com.android.support:appcompat-v7:25.2.0' | 44 | + compile 'com.android.support:appcompat-v7:23.4.0' |
| 45 | compile 'com.android.support.constraint:constraint-layout:1.0.0-alpha9' | 45 | compile 'com.android.support.constraint:constraint-layout:1.0.0-alpha9' |
| 46 | testCompile 'junit:junit:4.12' | 46 | testCompile 'junit:junit:4.12' |
| 47 | } | 47 | } |