I had a project working well on cordova 6.3.1 .
Then I updated cordova and my project to 6.4.0 . After this, first time I built, gradle got automatically updated to
Try changing build.gradle
' if (task.name == 'validateReleaseSigning') to if (task.name == 'assembleRelease')
.
This is probably related to the gradle version update in recent cordova-android updates.
Update: It seems that validateReleaseSigning
task name was changed to validateSigningRelease
in the newer Gradle version :\
So, the issue should be fixed in a next platform release (current is 6.2.0-dev).
Update #2: The PR was merged so you can use cordova platform add https://github.com/apache/cordova-android
for now (beware of unreleased versions though).