Cordova build - Could not resolve com.android.tools.build:gradle:1.5.0
After upgrading the cordova and the npm of my machine (Ubuntu 15.10) I can not build a new project with the cordova. The build accuses an error in graddle. I did some research and found some possible solutions. Solutions like changing the version and url graddle repo. Anyway, it did not work. I am using the cordova 6.0.0 and npm 1.4.21. Below commands of fresh cordova app installation: soufraz@atlantis:~/Projects/apps$ cordova create test com.somename.test Test Creating a new cordova project. soufraz@atlantis:~/Projects/apps$ cd test/ soufraz@atlantis:~/Projects/apps/test$ cordova platform add