'cdvBuildDebug' not found in root project 'android


#1

Hi, can anyone help me on how to debug this issue?
i hv trie removing and adding platform and got this error

Could not resolve all files for configuration ‘:app:classpath’.
Could not find manifest-merger.jar (com.android.tools.build:manifest-merger:26.0.0).
Searched in the following locations:
https://jcenter.bintray.com/com/android/tools/build/manifest-merger/26.0.0/manifest-merger-26.0.0.jar
Could not find ddmlib.jar (com.android.tools.ddms:ddmlib:26.0.0).
Searched in the following locations:
https://jcenter.bintray.com/com/android/tools/ddms/ddmlib/26.0.0/ddmlib-26.0.0.jar
Could not find dvlib.jar (com.android.tools:dvlib:26.0.0).
Searched in the following locations:
https://jcenter.bintray.com/com/android/tools/dvlib/26.0.0/dvlib-26.0.0.jar
Could not find common.jar (com.android.tools:common:26.0.0).
Searched in the following locations:
https://jcenter.bintray.com/com/android/tools/common/26.0.0/common-26.0.0.jar

then, i tried to change all build.gradle

from

jcenter()
maven { url "https://maven.google.com"}

to

maven { url "https://maven.google.com"}
jcenter()

then i got ‘cdvBuildDebug’ not found in root project 'android