When trying to create an android apk file using ionic and gradle, i get an error
FAILURE: Build failed with an exception.
* What went wrong:
Unable to star
This issue was found to be environment specific. Posting the answer only to help those who might have this unfortunate problem.
The problem was solved by installing a 32 bit JDK on the 64 bit Windows 7.
Before installing
I do not have a clue why this has happened, but the issue has been resolved.