Closed yoanisgil closed 11 years ago
Also, it would be really nice if the latest version is uploaded to the downloads page ;).
What version of plugman are you using? I had problems with the latest from git, but 0.5.6 seems to work OK.
Otherwise it might be the space in your path name. Try
$ cd /Volumes/Data/Clients/Jason\ Lu/menus
$ plugman --platform android --project . --plugin /Volumes/Data/software/MobileDevelopment/PhoneGap/phonegap-nfc/
If you can't build the jar file, the alternate method is to copy the source files into your project https://github.com/chariotsolutions/phonegap-nfc/blob/master/INSTALL.md#install-source-files-alternate-method
Github downloads have been deprecated. I can't add any more archives to that page. Plugman is going to be the preferred way to install plugins. There will just be a few bumps between now and PhoneGap 3.0 while the tools get updated.
I'm running plugman version 0.6.3 and yes it seems like an issue with plugman. I'm going to try the phonegap-nfc-reader and use it as a reference to configure my project. Would that be possible?
I think it would nice if there are instructions for building with ant, as I just tried with plugman because it was the recommended approach.
Bests,
Yoanis.
IMO, downgrading plugman is the easiest solution.
phonegap-nfc-reader should work, but might be a bit out of date
For a manual install, I'd recommend copying the sources. If you want ant to work, pass in different values for phonegap.version and phonegap.home or edit the file. https://github.com/chariotsolutions/phonegap-nfc/blob/master/src/android/build.xml#L22-L23
Hi Don,
I'm trying to setup my project so I can use your plugin, however I've been not able to do it. I'm following the installation instructions from the INSTALL.md file, using the following command line:
plugman --platform android --project /Volumes/Data/Clients/Jason\ Lu/menus --plugin /Volumes/Data/software/MobileDevelopment/PhoneGap/phonegap-nfc/
but I'm getting this:
Error: ENOENT, no such file or directory '/Volumes/Data/Clients/Jason Lu/menus/cordova/plugins/phonegap-nfc/plugin.xml' at Object.fs.openSync (fs.js:427:18) at Object.fs.openSync (/usr/local/lib/node_modules/plugman/node_modules/glob/node_modules/graceful-fs/graceful-fs.js:68:26) at Object.fs.readFileSync (fs.js:284:15) at runInstall (/usr/local/lib/node_modules/plugman/src/install.js:38:27) at /usr/local/lib/node_modules/plugman/src/install.js:28:17 at Object.fetchPlugin as fetch at Object.installPlugin as install at Object. (/usr/local/lib/node_modules/plugman/main.js:77:13)
at Module._compile (module.js:456:26)
at Object.Module._extensions..js (module.js:474:10)
I must be do it something wrong but I'm not sure what it is. Also, can you please update the INSTALL guide to install from the sources using ant? Looks like some more configuration is required like the path to the android SDK and the like.
Bests,
Yoanis.