Run:

$ cd /Users/tylerwilson/.cordova/lib/android/cordova/2.9.0/framework

$ ant jar

And report back the error message you get. It is likely something to do
with your dev environment, but perhaps we can figure out how to fail
gracefully in your case with the cli tools

On 7/29/13 8:24 AM, "Tyler Wilson" <twil...@pulse-robotics.com> wrote:

>I just tried using Cordova CLI to create a new project and add iOS and
>Android targets. I get the following:
>
>$ cordova create TestApp com.pulserobotics.com TestApp
>$ cd TestApp
>$ cordova platform add ios
>$ cordova platform add android
>[Error: An error occured during creation of android sub-project.
>BUILD FAILED
>/Users/tylerwilson/.cordova/lib/android/cordova/2.9.0/framework/build.xml:
>42: You need to create the file 'local.properties' by running 'android
>update project -p .' here.
>
>Total time: 0 seconds
>An unexpected error occurred: ant jar > /dev/null exited with 1
>Deleting project...
>]
>
>$ ant
>Buildfile: build.xml does not exist!
>Build failed
>
>$ android update project -p .
>Error: . is not a valid project (AndroidManifest.xml not found).
>
>
>Is this a known issue? I have seen a lot of dev talk about Android
>lately, but my impression was that that was related to a new 3.0.x
>version coming out.
>
>Thanks,
>Tyler
>

Reply via email to