[Solved] Ionic3 Package Error: Could not resolve all files for configuration ‘:classpath’.

Problem: ionic Cordova build Android — debug

Add the following directory file’s mavencentral (), jcenter ()

platforms/android/build.gradle
platforms/android/app/build.gradle
platforms/android/CordovaLib/build.gradle

Change it to the following content, and then re execute ionic Cordova build Android — debug

maven { 
    url "https://maven.google.com" 
}
jcenter { 
    url "http://jcenter.bintray.com/"
}

If it still fails, first upgrade and update according to the as prompt, and then re execute the above process

Similar Posts: