Update build.gradle
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
winni67/AndroidAPS,PoweRGbg/AndroidAPS,MilosKozak/AndroidAPS,Heiner1/AndroidAPS,Heiner1/AndroidAPS,jotomo/AndroidAPS,jotomo/AndroidAPS,PoweRGbg/AndroidAPS,winni67/AndroidAPS,PoweRGbg/AndroidAPS,Heiner1/AndroidAPS,jotomo/AndroidAPS,MilosKozak/AndroidAPS,MilosKozak/AndroidAPS,Heiner1/AndroidAPS