Hi Everyone,
This is probably a very basic question so sorry for that
I am trying to build a native android BLE application and I have started by the evothings ble example, I created the DemoApp Cordova project then replaced the files inside the www folder with the ble example files from ble-scan and rebuilt the application. Everything went fine and I was able to install the application on my mobile (Galaxy S4) but I was missing the com.evothings.ble plugin so I tried the command 'cordova plugin add com.evothings.ble' from inside the project folder
But it gives an error:
Fetching plugin "com.evothings.ble" via plugin registry
Error: 404 Not Found: com.evothings.ble
at RegClient.<anonymous> (\AppData\Roaming\npm\node_modules\cordova\node_modules\cordova-lib\node_modules\npm\node_modules\npm-registry-client\lib\request.js:268:14)
at Request.self.callback (\AppData\Roaming\npm\node_modules\cordova\node_modules\cordova-lib\node_modules\npm\node_modules\request\index.js:148:22)
at Request.emit (events.js:98:17)
at Request.<anonymous> (\AppData\Roaming\npm\node_modules\cordova\node_modules\cordova-lib\node_modules\npm\node_modules\request\index.js:876:14)
at Request.emit (events.js:117:20)
at IncomingMessage.<anonymous> (\AppData\Roaming\npm\node_modules\cordova\node_modules\cordova-lib\node_modules\npm\node_modules\request\index.js:827:12)
at IncomingMessage.emit (events.js:117:20)
at _stream_readable.js:943:16
at process._tickCallback (node.js:419:13)
Help is highly appreciated
Thanks
com.evothings.ble issue
Re: com.evothings.ble issue
It seems our plugin has not yet been added to the main Cordova plugin registry. As a workaround, you can use this command:
Code: Select all
cordova plugin add https://github.com/evothings/cordova-ble
-
- Posts: 5
- Joined: 08:39, 26 Sep 2014
Re: com.evothings.ble issue
Thanks, I will give it a try
Re: com.evothings.ble issue
Did it work? If not you could try with .git at the end of the URL, like this:
Code: Select all
cordova plugin add https://github.com/evothings/cordova-ble.git
Return to “Questions and answers”
Who is online
Users browsing this forum: Google [Bot] and 43 guests