cordova-3

Cordova cannot add Android failed with exit code ENOENT

北慕城南 提交于 2019-11-26 12:45:45
问题 I am trying to create an Android project with Cordova, however i am getting an ENOENT error although i followed the tutorial step by step very carefully, this is getting me angry. First this is the screenshot of the error: Here are information about my software and hardware/os: Hardware and OS: Intel(R) Core(TM) i5-3230M CPU @ 2.60 GHz 2.60GHz 4 GB RAM 64 bit operating system, x 64 based processor Windows 8 Software: Here are some of the outputs of my command line for the related software. $

Should a phonegap plugin be declared in the config.xml file?

纵然是瞬间 提交于 2019-11-26 08:44:31
问题 I am a newbie in phonegap development so I have a couple of questions: 1) I am using the accelerometer plug-in. I read in the manual that i need to declare the plugin in the config.xml file in order to use it. However I noticed that even if i remove the declaration from the config.xml <feature name=\"Accelerometer\"> <param name=\"android-package\" value=\"org.apache.cordova.AccelListener\" /> </feature> the accelerometer still works. So I would like to ask you if in the phonegap 3.0.0