Meteor-Community-Packages / Meteor-Community-Packages/raix-push
cordova.plugin.local-notification error in Android build
Open
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 505
- Forks
- 191
- PR merge metrics
- No merged PRs in 30d
Description
Thinking this has something to do with 1.2 changes...did a simple meteor-build command that resulted in this:
% WARNING: org.apache.cordova.device has been renamed to cordova-plugin-device. You may not be getting the latest version! We suggest you `cordova plugin rm org.apache.cordova.device` and `cordova plugin add cordova-plugin-device`.
% Fetching plugin "org.apache.cordova.device" via cordova plugins registry
% Failed to install 'de.appplant.cordova.plugin.local-notification':CordovaError: Failed to fetch plugin org.apache.cordova.device via registry.
Probably this is either a connection problem, or plugin spec is incorrect.
Check your connection and plugin name/version/URL.
undefined
at registry.fetch.fail.then.pinfo (/Users/michaelpaszkiewicz/.meteor/packages/meteor-tool/.1.1.8.1cmnfyj++os.osx.x86_64+web.browser+web.cordova/mt-os.osx.x86_64/dev_bundle/lib/node_modules/cordova-lib/src/plugman/fetch.js:141:33)
at _rejected (/Users/michaelpaszkiewicz/.meteor/packages/meteor-tool/.1.1.8.1cmnfyj++os.osx.x86_64+web.browser+web.cordova/mt-os.osx.x86_64/dev_bundle/lib/node_modules/q/q.js:797:24)
at /Users/michaelpaszkiewicz/.meteor/packages/meteor-tool/.1.1.8.1cmnfyj++os.osx.x86_64+web.browser+web.cordova/mt-os.osx.x86_64/dev_bundle/lib/node_modules/q/q.js:823:30
at Promise.when (/Users/michaelpaszkiewicz/.meteor/packages/meteor-tool/.1.1.8.1cmnfyj++os.osx.x86_64+web.browser+web.cordova/mt-os.osx.x86_64/dev_bundle/lib/node_modules/q/q.js:1035:31)
at Promise.promise.promiseDispatch (/Users/michaelpaszkiewicz/.meteor/packages/meteor-tool/.1.1.8.1cmnfyj++os.osx.x86_64+web.browser+web.cordova/mt-os.osx.x86_64/dev_bundle/lib/node_modules/q/q.js:741:41)
at /Users/michaelpaszkiewicz/.meteor/packages/meteor-tool/.1.1.8.1cmnfyj++os.osx.x86_64+web.browser+web.cordova/mt-os.osx.x86_64/dev_bundle/lib/node_modules/q/q.js:557:44
at flush (/Users/michaelpaszkiewicz/.meteor/packages/meteor-tool/.1.1.8.1cmnfyj++os.osx.x86_64+web.browser+web.cordova/mt-os.osx.x86_64/dev_bundle/lib/node_modules/q/q.js:108:17)
at process._tickCallback (node.js:448:13)
=> Errors executing Cordova commands:
While adding platform Android to Cordova project:
Cordova error: CordovaError: Failed to fetch plugin org.apache.cordova.device via registry.
Probably this is either a connection problem, or plugin spec is incorrect.
Check your connection and plugin name/version/URL.
undefined
at registry.fetch.fail.then.pinfo
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the meteor-build command and inspect the Cordova Android platform setup around the reported plugin fetch failure. No source files or tests are named; done would require identifying the cause of the org.apache.cordova.device fetch error and confirming that an Android build completes successfully.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- android, javascript
- Domain
- build-system, mobile-dev
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 20/100