Can't build Android platform in Cordova 5.0.0 with build.bat: Command failed with exit code 8 -
my enviroment windows 7 + visual studio 2013 develop hybrid mobile app, after upgrade cordova 5.0.0, i've upgrade sdk newly version, , eliminable command failed exit code 2, deploy device , build android, got compile error:
error 1 e:\@project\mobile\apps\blankproject\blankproject\bld\debug\platforms\android\cordova\build.bat: command failed exit code 8 e:\@project\mobile\apps\blankproject\blankproject\mdavscli 1 1 blankproject
it seen command failed exit code 2 become 8, missed else?
============================================================
edited:
the reason why have tested below:
1.) upgrade c:\program files (x86)\microsoft visual studio 12.0\common7\ide\extensions\0d2pwvj3.s0k\packages\vs-mda\package.json >> cordova version 4.3.0 5.0.0, error happed.
2.) reverse step 1 cordova version 5.0.0 4.3.0, , normal.
so, cordova 5.0.0 visual studio 2013 means me should not work.
finally find using visual studio cordova! i've migrated visual studio community 2015 rc visual studio 2013 community.
when install 2015, don't have uninstall 2013, can co-exist. migration of cordova project should done manually opening new project, add plugin , copy contents old index.html.
2013 cordova going deprecated, try new 5.0.0 in 2015. , pls. let me know if can upgraded. guess may have better chance in 2015! way, why need 500? specific tasks can't 430?
Comments
Post a Comment