Skip to content

Commit 8d0f70c

Browse files
committed
1. 更新安卓依赖
1 parent 8da9779 commit 8d0f70c

File tree

2 files changed

+14
-6
lines changed

2 files changed

+14
-6
lines changed

android/app/build.gradle

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -186,8 +186,8 @@ dependencies {
186186
implementation "com.android.support:appcompat-v7:${rootProject.ext.supportLibVersion}"
187187
implementation "com.facebook.react:react-native:+" // From node_modules
188188

189-
compile 'com.tencent.bugly:crashreport:2.6.6.1'
190-
compile 'com.tencent.bugly:nativecrashreport:3.3.1'
189+
compile 'com.tencent.bugly:crashreport:2.8.6.0'
190+
compile 'com.tencent.bugly:nativecrashreport:3.6.0.1'
191191
compile 'com.meituan.android.walle:library:1.1.6'
192192
compile 'com.android.support:support-v4:27.1.1'
193193
compile 'com.android.support:multidex:1.0.3'

android/build.gradle

Lines changed: 12 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,12 +9,16 @@ buildscript {
99
supportLibVersion = "27.1.1"
1010
}
1111
repositories {
12+
maven {
13+
url 'https://maven.google.com/'
14+
name 'Google'
15+
}
1216
google()
1317
jcenter()
1418
}
1519
dependencies {
1620
classpath 'com.android.tools.build:gradle:3.1.4'
17-
classpath 'com.tencent.bugly:symtabfileuploader:latest.release'
21+
classpath 'com.tencent.bugly:symtabfileuploader:2.2.1'
1822
classpath 'com.meituan.android.walle:plugin:1.1.6'
1923
// NOTE: Do not place your application dependencies here; they belong
2024
// in the individual module build.gradle files
@@ -30,6 +34,7 @@ allprojects {
3034
// All of React Native (JS, Obj-C sources, Android binaries) is installed from npm
3135
url "$rootDir/../node_modules/react-native/android"
3236
}
37+
maven { url "https://maven.google.com" }
3338
}
3439
}
3540

@@ -43,9 +48,12 @@ subprojects {
4348
afterEvaluate {project ->
4449
if (project.hasProperty("android")) {
4550
android {
46-
compileSdkVersion 27
47-
buildToolsVersion "27.0.2"
51+
compileSdkVersion 28
52+
buildToolsVersion "28.0.3"
53+
defaultConfig {
54+
targetSdkVersion 28
55+
}
4856
}
4957
}
5058
}
51-
}
59+
}

0 commit comments

Comments
 (0)