Cordova - Error code 1 for command | Command failed for

后端 未结 9 1518
刺人心
刺人心 2020-12-03 01:16

I\'m new on cordova, so if my question is not relevant, forgive me. i have a cordova project in my Windows 7 x64 machine. Yesterday i was build my cordova app via cord

9条回答
  •  無奈伤痛
    2020-12-03 01:52

    I'm using Visual Studio 2015, and I've found that the first thing to do is look in the build output.

    I found this error reported there:

    Reading build config file: \build.json... SyntaxError: Unexpected token

    The solution for that was to remove the bom from the build.json file

    Then I hit a second problem - with this message in the build output:

    FAILURE: Build failed with an exception. * What went wrong: A problem was found with the configuration of task ':packageRelease'.

    File 'C:\Users\Colin\etc' specified for property 'signingConfig.storeFile' is not a file.

    Easily solved by putting the correct filename into the keystore property

提交回复
热议问题