科尔多瓦2.7.0 PushPlugin"科尔多瓦解决不了"和" CTX解决不了" [英] Cordova 2.7.0 PushPlugin "cordova cannot be resolved" and "ctx cannot be resolved"

查看:149
本文介绍了科尔多瓦2.7.0 PushPlugin"科尔多瓦解决不了"和" CTX解决不了"的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我所做的......

What I've done....


  • 创建的科尔多瓦 - 机器人膑利用./create科尔多瓦项目

  • 新增PushPlugin通过科尔多瓦,plugman

  • 新增科尔多瓦-2.7.0.jar到/ libs目录

科尔多瓦在PushPlugin.java抱怨说,与其他几个错误科尔多瓦解决不了......沿着...

Cordova is complaining in PushPlugin.java that "cordova cannot be resolved" ...along with several other errors...

(PushPlugin.java) Plugin cannot be resolved to a type
(PushPlugin.java) Plugin cannot be resolved to a type
(PushPlugin.java) cordova cannot be resolved
(PushPlugin.java) Plugin cannot be resolved to a type
(PushPlugin.java) Plugin cannot be resolved to a type
(PushPlugin.java) ctx cannot be resolved or is not a field
(PushPlugin.java) ctx cannot be resolved
(PushPlugin.java) ctx cannot be resolved
(PushPlugin.java) ctx cannot be resolved or is not a field
(PushPlugin.java) Plugin cannot be resolved to a type
(PushPlugin.java) The method execute(String, JSONArray, String) of type PushPlugin must override or implement a supertype method

我已经添加了科尔多瓦-2.7.0项目通过项目类路径>> >>属性Java构建路径>>添加Jar文件

I've added the cordova-2.7.0 project to the class path via Project >> Properties >> JAVA Build Path >> Add Jar Files

我也跑了......工程>>清洁

I've also ran... Project >> clean

似乎无法推测这一个......它已经好几天,许多谷歌搜索。

Can't seem to figure this one out... it's been several days and many google searches.

最好的问候,约翰·

Best Regards, John

推荐答案

查看最新提交的: NetMatch:PushPlugin github上

看起来像男人那样在清理插件最近发布科尔多瓦一项伟大的工作。仍在等待PushPlugin回购接受拉请求。

Looks like the man did a great job at cleaning up the plugin for recent cordova releases. Still awaiting the PushPlugin repo to accept the pull request.

这篇关于科尔多瓦2.7.0 PushPlugin"科尔多瓦解决不了"和" CTX解决不了"的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆