Click here to Skip to main content
14,838,541 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
hello
i have this error when i try make build release


Error 27
E:\App.Mobile\bld\Release\platforms\android\cordova\build.bat: Command failed with exit code 8
E:\App.Mobile\MDAVSCLI 1 1


output


1>------ Build started: Project: App.Mobile, Configuration: Release Android ------
1>C:\Program Files (x86)\MSBuild\Microsoft\VisualStudio\v12.0\TypeScript\Microsoft.TypeScript.targets(95,5): warning : The TypeScript Compiler was given no files for compilation, so it will skip compiling.
1> GeneratedJavascript=
1> E:\App.Mobile>call "C:\Program Files (x86)\nodejs\"\nodevars.bat
1> Your environment has been set up for using Node.js 0.10.28 (ia32) and npm.
1> ------ Ensuring correct global installation of package from source package directory: C:\PROGRAM FILES (X86)\MICROSOFT VISUAL STUDIO 12.0\COMMON7\IDE\EXTENSIONS\OOEVIW0O.AQZ\packages\vs-mda
1>MDAVSCLI : error : E:\App.Mobile\bld\Release\platforms\android\cordova\build.bat: Command failed with exit code 8
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========
Posted
Updated 25-May-15 22:41pm
v3
Comments
Sergey Alexandrovich Kryukov 25-May-15 17:59pm
   
Posting images where the information is purely textual is really bad. Please avoid it. You could always copy the message to your clipboard and paste it.
—SA
Golden Mind 26-May-15 2:46am
   
i updated my question
   
Thank you for your understanding. I really appreciate that.
Now, another problem is: not enough information, it looks like.
—SA
Golden Mind 26-May-15 4:41am
   
i updated my question with output
   
(Sigh...)
What's the use of showing exception stack without showing the code throwing the exception?
—SA
ArunRajendra 25-May-15 23:40pm
   
See the output window for more details. My guess is this got to do something with the settings of path for the files required for building.
Golden Mind 26-May-15 2:46am
   
i updated my question
ArunRajendra 27-May-15 2:12am
   
Two things you need to check
1. Path of batch file is correct
2. You are able to run the batch file successfully from command prompt.
Golden Mind 27-May-15 4:03am
   
what's batch file ?
ArunRajendra 27-May-15 5:16am
   
build.bat
Golden Mind 27-May-15 10:17am
   
when i try run build.bat from cmd
shown this error

Error : Please install Android target "android-19".
hint : Run "android" from your command-line to open the SDK manager.j
ArunRajendra 28-May-15 0:42am
   
might be you need to fix this first.

1 solution

1. If you copied the project from other computer it is highly possible that the build command looks for android at a different location...(the build.bat command file was created with your project) Check the content and update it manually to the right location...
2. If you copied the project from other computer it may be that you have no ADK at all...
3. Check also the node.js package - it may be too advanced for the cordova pack...
4. Finally, check your permissions on the folder - you need excecute permissions...
   

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)




CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900