Reputation: 303
strong textenter code here
FAILURE: Build failed with an exception.
What went wrong: Execution failed for task ':CordovaLib:processDebugResources'.
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.
BUILD FAILED
Total time: 11.627 secs Error: /home/saurabh/saurabh_workspace/ecard/mobile/platforms/android/gradlew: Command failed with exit code 1 Error output: FAILURE: Build failed with an exception.
What went wrong: Execution failed for task ':CordovaLib:processDebugResources'.
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.
Upvotes: 0
Views: 1477
Reputation: 1
How I solved this problem:
I found that SDK 4.1 was not installed in my system and Cordova required SDK 4.1+ So I have
Once every thing is working fine in android studio then..
I have run the command Cordova run android
in terminal..
Upvotes: -1
Reputation: 392
You can try this:
ionic platform rm android
ionic platform add android
ionic build android
Upvotes: 0