我做了什么...


在cordova-android bin中使用./create创建了cordova项目
通过cordova-plugman添加了PushPlugin
将cordova-2.7.0.jar添加到/ libs目录


科尔多瓦在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




我已经通过Project >> Properties >> JAVA Build Path >> Add Jar Files将cordova-2.7.0项目添加到类路径中

我也跑过了...项目>>干净

似乎无法弄清楚这一点...已经好几天了,许多Google搜索。

最好的问候,约翰

最佳答案

在以下位置查看最新提交:NetMatch:PushPlugin github

看起来这个人在清理最近的cordova发行版的插件方面做得很出色。仍在等待PushPlugin存储库接受拉取请求。

10-08 15:17