[ 
https://issues.apache.org/jira/browse/CB-4542?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Andrew Grieve resolved CB-4542.
-------------------------------

    Resolution: Cannot Reproduce

CLI has been fixed to print out the underlying error messages for failures of 
this type. Please re-open if the problem still exists & paste in the new error 
message.

> Build failed during building android
> ------------------------------------
>
>                 Key: CB-4542
>                 URL: https://issues.apache.org/jira/browse/CB-4542
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: CLI
>            Reporter: Shoaib
>   Original Estimate: 24h
>  Remaining Estimate: 24h
>
> I have installed Coredova along with Phonegap and installed node.js in my 
> system(ubuntu)
> by using following commands:
> Install Nodejs http://nodejs.org/
> Install Cordova 3.0.x
>          
>      $ sudo npm install -g cordova
> Install Phone Gap 3.0.x
>      $ sudo npm install -g phonegap
> Then i created project using phonegap command:
>      $ phonegap create hello
> Trying to run into my local by using following command:
>      $ phonegap local run andriod
> Now at first i am getting following error:
>      
>     shoaib@shoaib:~/Documents/hello$ phonegap local run android
>     [phonegap] adding the Android platform...
>     [error] An error occured during creation of android sub-project. 
> /home/shoaib/.cordova/lib/android/cordova/3.0.0/bin/create: line 54: jar: 
> command not found
> This i solved by running following command:
>     
>     ls -la /home/shoaib/.cordova/lib/android/cordova/3.0.0/bin
> Now when i again run 
>     $ phonegap local run andriod
> I am getting below error:
>      
>     root@shoaib:/home/shoaib/Documents/hello# phonegap local run android
>     [phonegap] compiling Android...
>     [error] An error occurred while building the android project. /bin/sh: 1: 
> /home/shoaib/Documents/hello/platforms/android/cordova/build: not found
> I am using Android SDK 17
> and version as 4.2.2 .
> Any solution for this issue?



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Reply via email to