Problem right now is that it is unclear what is actually causing the error.
aapt, from the error message, is a tool from Android that is used in the build. Somehow it seems to be broken for you. You indicate that gradle did install something before it broke, so it is probably that the new “27” API level tools, API, SDK might be the cause (see also the “Download …” log that @lalogrosz posted).
Unfortunately it work for a new project for @nampdn which somehow reverses that thinking…
So you having a pure
cordova project failing somehow would give another lead (and would lead you to issues.cordova.io to report it)