Build cordova muncul pesan “finished with non-zero exit value 1”

Diposting pada

Setelah saya mengganti image splashscreen di project cordova, terus saya build muncul pesan sebagai berikut:

* What went wrong:
Execution failed for task ':processReleaseResources'.
> com.android.ide.common.process.ProcessException: org.gradle.process.internal.ExecException: Process 'command '/home/../../android-sdk-linux/build-tools/23.0.3/aapt'' finished 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: 3.324 secs
Error: /home/../../platforms/android/gradlew: Command failed with exit code 1 Error output:
FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':processReleaseResources'.
> com.android.ide.common.process.ProcessException: org.gradle.process.internal.ExecException: Process 'command '/home/../../android-sdk-linux/build-tools/23.0.3/aapt'' finished 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.

Apakah kalian mengalami kejadian seperti itu? kalau iya, coba jalankan perintah berikut:

cordova clean

Setelah itu build ulang, kasus saya solve, mudah-mudahan kalian juga solve! 🙂