phonegap应用程序(sqlite)中的cordova.exec
我通过将sqlite插件更新为最新版本()将phonegap应用程序升级到3.0版 通过运行,即此脚本(以前运行时没有问题) 我在控制台中获取此日志:phonegap应用程序(sqlite)中的cordova.exec,sqlite,cordova,Sqlite,Cordova,我通过将sqlite插件更新为最新版本()将phonegap应用程序升级到3.0版 通过运行,即此脚本(以前运行时没有问题) 我在控制台中获取此日志: The old format of this exec call has been removed (deprecated since 2.1). Change to: cordova.exec(null, null, "SQLitePlugin",... 没有错误、警告等。每个SQL语句都只包含这些信息。 如何解决该问题?看起来您需要更新SQ
The old format of this exec call has been removed (deprecated since 2.1). Change to: cordova.exec(null, null, "SQLitePlugin",...
没有错误、警告等。每个SQL语句都只包含这些信息。
如何解决该问题?看起来您需要更新SQLitePlugin.js中的第26行 更改为:
cordova.exec(success, error, "SQLitePlugin", method, [options]);
致:
看起来您需要更新SQLitePlugin.js中的第26行 更改为:
cordova.exec(success, error, "SQLitePlugin", method, [options]);
致:
谢谢,但是我的SQLitePlugin.js中没有这一行。请参阅:我在您提供的链接第26行找到了“cordova.exec(success,error,“SQLitePlugin”,method,[options]);”。这是与突出显示的行相同的链接:谢谢,但我的SQLitePlugin.js中没有这一行。请参阅:我在您提供的链接第26行找到了“cordova.exec(success,error,“SQLitePlugin”,method,[options]);”。以下是突出显示的行的相同链接:
cordova.exec(null, null, "SQLitePlugin", method, [options]);