我做了什么….
cordova抱怨PushPlugin.java“cordova无法解决”…以及其他一些错误…
(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
我已经通过项目>>属性>> JAVA构buildpath>>添加jar文件添加cordova-2.7.0项目类path
我也跑了…项目>>干净
似乎无法找出这一个…这已经几天,很多谷歌search。
最好的问候,约翰
查看最新的提交: NetMatch:PushPlugin github
看起来这个人做了一个很好的工作,在清理最近的科尔多瓦新闻插件。 仍在等待PushPlugin回购接受拉取请求。
我正在解决与Cordova 2.7.0中的ChildBrowser插件类似的问题。 改变扩展插件 扩展插件类声明CordovaPlugin摆脱了“科尔多瓦无法解决”的错误在我的一端。 看看下面的变化是否适合你:
public class PushPlugin extends Plugin {
至:
public class PushPlugin extends CordovaPlugin {