Skip to content
This repository was archived by the owner on Jul 18, 2019. It is now read-only.

Commit c00ede2

Browse files
committed
Fix Android build error.
The latest version of Android Studio fails with: Could not find com.android.tools.build:aapt2 To use AAPT2, we must now have a dependency on the `google()` repo in both places in the root build.gradle file, as per: https://developer.android.com/studio/releases/#aapt2_gmaven
1 parent 49ee346 commit c00ede2

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

android/build.gradle

+2-1
Original file line numberDiff line numberDiff line change
@@ -6,14 +6,15 @@ buildscript {
66
jcenter()
77
}
88
dependencies {
9-
classpath 'com.android.tools.build:gradle:3.1.3'
9+
classpath 'com.android.tools.build:gradle:3.3.0'
1010
// NOTE: Do not place your application dependencies here; they belong
1111
// in the individual module build.gradle files
1212
}
1313
}
1414

1515
allprojects {
1616
repositories {
17+
google()
1718
jcenter()
1819
}
1920
}

0 commit comments

Comments
 (0)