Could not find com.android.tools.build:gradle:3.0.0 [duplicate]
My question is "./gradlew assembleDebug" appeared,Android studio build is successful。I solved it this way
repositories { jcenter() google()}
or
repositories { jcenter() maven { url 'https://maven.google.com' }}
I am not quite sure, but maybe you should try putting the repositories tag at the same level of the dependencies tag. So:
buildscript { repositories { ... } dependencies { ... }}