Also, modernize the build.gradle configurations to work with recent Android plugin (>=3.0.0) https://developer.android.com/studio/build/gradle-plugin-3-0-0-migration.html Update golang/go#21594 Change-Id: Ic2162db7367b60ad873149ab62767f36481fa80f Reviewed-on: https://go-review.googlesource.com/86795 Reviewed-by: Elias Naur <elias.naur@gmail.com>