SAURABH RATHOD
SAURABH RATHOD

Reputation: 303

how to solve CordovaLib:processDebugResources error in ionic

strong textenter code hereFAILURE: Build failed with an exception.

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.

Upvotes: 0

Views: 1477

Answers (2)

shashank
shashank

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

  1. Installed android 4.1 and 4.4 SDK in my android studio. Then
  2. Created a dummy project in android studio and run that project in my device(mobile).

Once every thing is working fine in android studio then..

I have run the command Cordova run android in terminal..

Upvotes: -1

Hitarthi Panchal
Hitarthi Panchal

Reputation: 392

You can try this:

ionic platform rm android
ionic platform add android
ionic build android

Upvotes: 0

Related Questions