If you do $ cordova -d blah
It will output more logs.. On 7/29/13 9:10 AM, "Tyler Wilson" <[email protected]> wrote: >Unfortunately, in my attempt to get the latest Codova files installed, I >killed the whole ~/.cordova folder. It had an incomplete /lib/www/3.0 >folder, so I killed it and am doing the cordova create command again to >get it re-populated. Would be nice to have a log statement saying that it >is installing the template files - I am on a 500k connection and it takes >a while to download. > >If I see the error again that I got below, I will do as you suggest and >let you know. > >Thank you, >Tyler > >On Jul 29, 2013, at 12:04 PM, Filip Maj <[email protected]> wrote: > >> 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" <[email protected]> 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.xm >>>l: >>> 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 >>> >> >
