Cordova - Error code 1 for command | Command failed for

后端 未结 9 1524
刺人心
刺人心 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 02:04

    I have had this problem several times and it can be usually resolved with a clean and rebuild as answered by many before me. But this time this would not fix it.

    I use my cordova app to build 2 seperate apps that share majority of the same codebase and it drives off the config.xml. I could not build in end up because i had a space in my id.

    com.company AppName
    

    instead of:

    com.company.AppName
    

    If anyone is in there config as regular as me. This could be your problem, I also have 3 versions of each app. Live / Demo / Test - These all have different ids.

    com.company.AppName.Test
    

    Easy mistake to make, but even easier to overlook. Spent loads of time rebuilding, checking plugins, versioning etc. Where I should have checked my config. First Stop Next Time!

提交回复
热议问题