Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

phonegap build android does nothing

I have a phonegap CLI application that until recently was working fine and I was able to publish to the Google play store in alpha testing mode.

So in the www directory I did a 'phonegap build android' and in the platforms/android directory I did an 'ant release' to create a signed release apk.

I've been forced to upgrade my phonegap version, as the Google play store rejected my latest submission as they no longer supported the level I was using (I think it was 3... something).

So, now when I do a 'phonegap -v' I get 5.3.6.

When I'm in the www directory and do a 'phonegap build android --verbose' I get:

[phonegap] executing 'cordova build android --verbose'...

[phonegap] completed 'cordova build android --verbose'

With no time at all between the first line and the second line, no verbose output and no apk output!

Any idea what could be going wrong?

Thanks

Graham

like image 627
Graham Tilson Avatar asked Nov 01 '15 14:11

Graham Tilson


1 Answers

Its seems related to NodeJS 5.0... In my case the Cordova Build command seems to be failling since the update.

After some investigation its look like you can by pass the problem by running the "build script" in your platform/build folder

./platforms/android/cordova/build
like image 116
c4software Avatar answered Sep 20 '22 23:09

c4software