Upgrade Android 6.3 to 6.4

Trying to upgrade to cordova android 6.4 from 6.3
I remove android
I add android@6.4.0 no error.
I then build,

I get this error.


For some reason there is stuff missing from build gradle, but I add it back.
Building again I get this.

BUILD FAILED in 1s
3 actionable tasks: 1 executed, 2 up-to-date
Error: /home/dev/Ionic-App/apps/coolApp/platforms/android/gradlew: Command failed with exit code 1 Error output:
FAILURE: Build failed with an exception.

* What went wrong:
1

Yes it just says 1 is what went wrong. I try doing the stack, I try debug no other information.

I know I’m suppose to have gradle installed separately. In my linux machine I run gradle --version and get

------------------------------------------------------------
Gradle 4.0.1
------------------------------------------------------------

Seems like I either installed this already or linux had it.
Not sure what to try next.

Updated Gradle to 4.10.3 same error. Remove and add cordova-android and still same error.