Update build.gradle

google() needs to be loaded before others.
Otherwise, you got the error-message:
> Could not find aapt2-proto.jar (com.android.tools.build:aapt2-proto:0.3.1).
> Searched in the following locations:
> https://jcenter.bintray.com/com/android/tools/build/aapt2-proto/0.3.1/aapt2-proto-0.3.1.jar
This commit is contained in:
blocklist 2018-10-29 08:32:13 +01:00 committed by GitHub
parent a4e8ace6c4
commit 3f6a521b1f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -2,8 +2,8 @@
buildscript { buildscript {
repositories { repositories {
jcenter()
google() google()
jcenter()
maven { url "https://oss.sonatype.org/content/repositories/snapshots/" } maven { url "https://oss.sonatype.org/content/repositories/snapshots/" }
} }
dependencies { dependencies {