'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

#2

Hey @cikcoh did you got any solution to this problem? I am stuck with this too.

#3

heyy, the issues finally gone but i’m not sure at which steps that i’ve done that solved it.
i’ve tried removing and adding the platform numerous times.
i’ve tried ‘cordova prepare’.
someone suggested the link below,u might wanna go thru it
https://issuetracker.google.com/issues/120759347#comment103

#4

Thank you so much. That link helped me.