I run the cordova build android to build my Ionic App and the following error occured:
:mergeArmv7DebugResources
:processArmv7DebugManifest
:processArmv7DebugResources FAILED
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':processArmv7DebugResources'.
> com.android.ide.common.process.ProcessException: org.gradle.process.internal.
xecException: Process 'command 'C:\android\sdk\build-tools\23.0.3\aapt.exe'' fi
ished with non-zero exit value 1
* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug
option to get more log output.
BUILD FAILED
Total time: 14.198 secs
Error: cmd: Command failed with exit code 1 Error output:
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':processArmv7DebugResources'.
> com.android.ide.common.process.ProcessException: org.gradle.process.internal.
xecException: Process 'command 'C:\android\sdk\build-tools\23.0.3\aapt.exe'' fi
ished with non-zero exit value 1
* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug
option to get more log output.
---- MY SETTINGS ----
Windows 7 with all PATH variables set ;)
Cordova Ver: 7.0.1
Ionic Ver: 3.6.0 (but compiling a Ionic 1 project)
AndroidSDK: 22 (5.2.2)
I also tried:
- Remove and reinstall Cordova
- Remove and reinstall Ionic
- Remove and reinstall Android Platform (23, 21, 22 - original)
- Check Cordova plugin list for other incompatibilities.
- Change my config.xml with
However, the changes I make to change the SDK have no effect.
3 days ago I updated (globally) my Ionic1 to Ionic 3.5, which force me a few adaptations so I can build my apps again.
But can’t pass this error… Any help?