File tree 3 files changed +9
-13
lines changed
3 files changed +9
-13
lines changed Original file line number Diff line number Diff line change @@ -48,7 +48,10 @@ def javaVersion = JavaVersion.VERSION_1_7
48
48
49
49
android {
50
50
compileSdkVersion 26
51
- buildToolsVersion ' 26.0.2'
51
+
52
+ if (! is_gradle_3()) {
53
+ buildToolsVersion ' 26.0.2'
54
+ }
52
55
53
56
compileOptions {
54
57
sourceCompatibility javaVersion
@@ -148,11 +151,11 @@ ext {
148
151
149
152
// for normal build
150
153
// old apk file to build patch apk
151
- tinkerOldApkPath = " ${ bakPath} /app-debug-1018-17-32-47 .apk"
154
+ tinkerOldApkPath = " ${ bakPath} /app-debug-0424-15-02-56 .apk"
152
155
// proguard mapping file to build patch apk
153
156
tinkerApplyMappingPath = " ${ bakPath} /app-debug-1018-17-32-47-mapping.txt"
154
157
// resource R.txt to build patch apk, must input if there is resource changed
155
- tinkerApplyResourcePath = " ${ bakPath} /app-debug-1018-17-32-47 -R.txt"
158
+ tinkerApplyResourcePath = " ${ bakPath} /app-debug-0424-15-02-56 -R.txt"
156
159
157
160
// only use for build all flavor, if not, just ignore this field
158
161
tinkerBuildFlavorDirectory = " ${ bakPath} /app-1018-17-32-47"
Original file line number Diff line number Diff line change 2
2
<manifest package =" tinker.sample.android"
3
3
xmlns : android =" http://schemas.android.com/apk/res/android" >
4
4
5
- <uses-sdk android : minSdkVersion =" 15" android : targetSdkVersion =" 22" />
6
-
7
5
<uses-permission android : name =" android.permission.WRITE_EXTERNAL_STORAGE" />
8
6
<uses-permission android : name =" android.permission.READ_EXTERNAL_STORAGE" />
9
7
14
12
android : theme =" @style/AppTheme" >
15
13
<service
16
14
android : name =" .service.SampleResultService"
15
+ android : permission =" android.permission.BIND_JOB_SERVICE"
17
16
android : exported =" false" />
18
17
19
18
<activity android : name =" .app.MainActivity" >
Original file line number Diff line number Diff line change @@ -3,10 +3,7 @@ buildscript {
3
3
repositories {
4
4
mavenLocal()
5
5
jcenter()
6
- maven {
7
- url ' https://maven.google.com/'
8
- name ' Google'
9
- }
6
+ google()
10
7
}
11
8
dependencies {
12
9
if (project. hasProperty(' GRADLE_3' ) && GRADLE_3 . equalsIgnoreCase(' TRUE' )) {
@@ -29,10 +26,7 @@ allprojects {
29
26
repositories {
30
27
mavenLocal()
31
28
jcenter()
32
- maven {
33
- url ' https://maven.google.com/'
34
- name ' Google'
35
- }
29
+ google()
36
30
}
37
31
}
38
32
You can’t perform that action at this time.
0 commit comments