Click here to Skip to main content
16,017,488 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
Sergey Alexandrovich Kryukov 26-May-15 2:56am    
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
Sergey Alexandrovich Kryukov 26-May-15 8:49am    
(Sigh...)
What's the use of showing exception stack without showing the code throwing the exception?
—SA

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...
 
Share this answer
 

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