0
  • I've set all the needed requirements for the cordova build.
  • I've set all the needed "Enivrement Variables".

Installed: Java JDK, Android JDK, Android target and Gradle.

Problem:

When I enter "cordova build android", everything starts to compile fine until it comes to "Task :app:mergeReleaseResources FAILED"

I'm new to cordova. I've tryed some solutions from the internet like:

  • Putting the images into an "assets" folder.
  • Updating "Gradle".
  • Checked the "config.xml" file for syntax error.

This is the error get after the build starts: This is the error get after the build starts:

Maybe
  • 189
  • 11

1 Answers1

0

I've found a solution by fixing the npm path in Windows.

There is already an solution to this problem:

Fixing npm path in Windows 8 and 10

Maybe
  • 189
  • 11