我做了什么......
- 在 cordova-android bin 中使用 ./create 创建了 cordova 项目
- 通过添加 PushPlugin科尔多瓦普拉曼 https://github.com/apache/cordova-plugman
- 将 cordova-2.7.0.jar 添加到 /libs 目录
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
我已通过 Project >> Properties >> JAVA Build Path >> Add Jar Files 将 cordova-2.7.0 项目添加到类路径中
我也跑过...项目>>干净
似乎无法弄清楚这个问题......已经好几天了,并且进行了很多谷歌搜索。
Best Regards, John
![errors](https://i.stack.imgur.com/hPici.jpg)
查看最新提交:NetMatch:PushPlugin github https://github.com/NetMatch/PushPlugin/tree/30a413b8c90207396cfaee1949032baa2615ebae
看起来这个人在清理最近发布的 cordova 插件方面做得很好。仍在等待 PushPlugin 存储库接受拉取请求。
本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系:hwhale#tublm.com(使用前将#替换为@)