|
我在网上下载了一个 calllist的插件,在studio里面用require引用了,alt+/能查到,然后随便做了一个btn,然后生成本地app,报如下错误:
D:\WeX5\model\Native\callist\build\src\platforms\android\src\com\ubookr\plugins\CallLogPlugin.java:54: 错误: 找不到符号
if (cordova.hasPermission(READ_CALL_LOG)) {
^
符号: 方法 hasPermission(String)
位置: 类型为CordovaInterface的变量 cordova
D:\WeX5\model\Native\callist\build\src\platforms\android\src\com\ubookr\plugins\CallLogPlugin.java:59: 错误: 找不到符号
cordova.requestPermission(this, READ_CALL_LOG_REQ_CODE,
^
符号: 方法 requestPermission(CallLogPlugin,int,String)
位置: 类型为CordovaInterface的变量 cordova
注: 某些输入文件使用或覆盖了已过时的 API。
注: 有关详细信息, 请使用 -Xlint:deprecation 重新编译。
注: 某些输入文件使用了未经检查或不安全的操作。
注: 有关详细信息, 请使用 -Xlint:unchecked 重新编译。
2 个错误
麻烦请高手解答一下,谢谢! |
|