Hi when i run ionic cordova build android --prod --release on my cli it shows this error .
- What went wrong:
Execution failed for task ‘:processReleaseResources’.
com.android.ide.common.process.ProcessException: Failed to execute aapt
- Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug
option to get more log output.
Picked up _JAVA_OPTIONS: -Xmx512M
[ERROR] An error occurred while running cordova build android --release (exit
code 1).
Tried many solution and doesnt work , can someone please help . Thanks in advance