Hi,
I moved to a new developement machine and installed the latest phonegap
using npm -g install phonegap.
Then I checked out a phonegap project (3.0) from our git repo.

Now I want to build the Android part but get the message below.

Is this happening because I never did a "phonegap platform add android"
here?
Yes we are checking in the platforms/android directory (which might not be
the pure phonegap CLI way to do things)

How can I fix this?

cheers
Axel

$ phonegap local build android
[phonegap] compiling Android...

fs.js:427
  return binding.open(pathModule._makeLong(path), stringToFlags(flags),
mode);
                 ^
Error: ENOENT, no such file or directory
'C:\Users\ignisvulpis\.cordova\lib\andr
oid\cordova\3.1.0\framework\assets\www\cordova.js'
    at Object.fs.openSync (fs.js:427:18)
    at Object.fs.readFileSync (fs.js:284:15)
    at Object.module.exports.update_www
(c:\Users\ignisvulpis\AppData\Roaming\np
m\node_modules\phonegap\node_modules\cordova\src\metadata\android_parser.js:183:
70)
    at Object.module.exports.update_project
(c:\Users\ignisvulpis\AppData\Roamin
g\npm\node_modules\phonegap\node_modules\cordova\src\metadata\android_parser.js:
213:14)
    at
c:\Users\ignisvulpis\AppData\Roaming\npm\node_modules\phonegap\node_modul
es\cordova\src\prepare.js:88:32
    at
c:\Users\ignisvulpis\AppData\Roaming\npm\node_modules\phonegap\node_modul
es\cordova\src\lazy_load.js:48:31
    at Object.module.exports.custom
(c:\Users\ignisvulpis\AppData\Roaming\npm\no
de_modules\phonegap\node_modules\cordova\src\lazy_load.js:57:34)
    at Object.lazy_load [as cordova]
(c:\Users\ignisvulpis\AppData\Roaming\npm\n
ode_modules\phonegap\node_modules\cordova\src\lazy_load.js:43:24)
    at Object.module.exports.based_on_config
(c:\Users\ignisvulpis\AppData\Roami
ng\npm\node_modules\phonegap\node_modules\cordova\src\lazy_load.js:134:28)
    at
c:\Users\ignisvulpis\AppData\Roaming\npm\node_modules\phonegap\node_modul
es\cordova\src\prepare.js:81:27

ignisvulpis@NAMENLOS ~/git/phonegap (master)

Reply via email to