LAUNCH SUCCESS
[ERROR] Cordova encountered an error.
You may get more insight by running the Cordova command above directly.
[ERROR] An error occurred while running cordova run android (exit code 1).
even though the app runs fine on ionic serve and cordova run android.