1

I've setup my Cordova tools on Visual Studio 2015 update 3.

I am currently using Cordova version 7.1.0 and created a blank Cordova project, but when building this error gets print on the build output:

Command finished with error code 0: cmd /s /c "path\to\project\platforms\android\gradlew.bat cdvBuildDebug -b path\to\project\platforms\android\build.gradle -Dorg.gradle.daemon=true -Dorg.gradle.jvmargs=-Xmx2048m -Pandroid.useDeprecatedNdk=true"

Regardless the error, the application seems to be working fine and it loads correctly on the Android emulator.

Any idea of what the problem could be?

Thanks in advance :)

2
  • Most likely an issue with Visual Studio. Do you have any plugins enabled like ReSharper? I remember that I had to turn off mine to get it to work properly without throwing errors.
    – Zun
    Commented Jun 26, 2018 at 15:01
  • No I don't, I only have the plugins that got installed on Cordova feature install.
    – Wayrex
    Commented Jun 26, 2018 at 22:03

1 Answer 1

2

Actually, error code 0 here means that there wasn't any error at all, so you can safely ignore that message.

You should worry only when you don't see error code 0, that's when you'll get errors but usually they have a detailed description included.

Not the answer you're looking for? Browse other questions tagged or ask your own question.