After migrating from Android Studio 3.0 (Canary 5) to Android Studio 3.0 (Beta 1), and moving to latest gradle , i.e. \'com.android.tools.build:gradle:3.0.0-beta1\'
\'com.android.tools.build:gradle:3.0.0-beta1\'
if you are in China, Please use
allprojects { respositories { google() } }
to instead
allprojects { respositories { maven { url 'https://maven.google.com' } } }
don't ask me why, I don't want to tell you.... may be 'https://maven.google.com' was selected by GFW?