我使用 phonegap3.1.0 命令行创建一个新项目并添加一个自定义插件。这个自定义插件运行良好。当我使用命令行卸载此插件并重新安装时,出现此错误:
2013-10-10 15:48:33.059 EmailPlugin[2382:907] Multi-tasking -> Device: YES, App: YES
2013-10-10 15:48:33.435 EmailPlugin[2382:907] Resetting plugins due to page load.
2013-10-10 15:48:33.766 EmailPlugin[2382:907] Finished load of: file:///var/mobile/Applications/850B3B6C-1BA0-49A6-AFD2-475963AF80DB/EmailPlugin.app/www/index.html
2013-10-10 15:48:36.962 EmailPlugin[2382:907] CDVPlugin class Dialer (pluginName: Dialer) does not exist.
2013-10-10 15:48:36.964 EmailPlugin[2382:907] ERROR: Plugin 'Dialer' not found, or is not a CDVPlugin. Check your plugin mapping in config.xml.
2013-10-10 15:48:36.966 EmailPlugin[2382:907] -[CDVCommandQueue executePending] [Line 117] FAILED pluginJSON = [
"INVALID",
"Dialer",
"call",
[
"01088896667"
]
]
这是 config.xml:
<feature name="Dialer">
<param name="ios-package" value="Dialer" />
</feature>
我检查了 config.xml 和插件文件,它们很好。我不知道出了什么问题。