0

私は Cordova 2.1.0 プラグインを PhoneGap で実装していますが、実行しないでください!! エラーが発生して起動しないためです!!

error:
GC_EXPLICIT freed 52K, 39% free 6070K/9944K, paused 3ms+6ms, total 197ms
.....
cannot open file at line 30176 of [00bb9c9ce4]
os_unix.c:30176: (2) open(/CachedGeoposition.db) - 
Error:
SQLite database failed to load from /CachedGeoposition.db
Cause - unable to open database file
external/webkit/Source/WebCore/platform/sql/SQLiteDatabase.cpp(71) : bool WebCore::SQLiteDatabase::open(const WTF::String&, bool)
Uncaught TypeError: Object [object Object] has no method 'exec'
file:///android_asset/cordova-2.1.0.js: Line 955 : Uncaught TypeError: Object [object Object] has no method 'exec'
Uncaught TypeError: Object [object Object] has no method 'exec' at file:///android_asset/cordova-2.1.0.js:955
onMessage(spinner,stop)
Starting TG #0, 0x49fea1e0

この行で止まります!

main.js の関数「var getLocation = function()」を無効にしてコメントし、db を実行して検索しないようにしましたが、答えはありません。

http://simonmacdonald.blogspot.com/2011/07/upgrading-your-phonegap-android.htmlに罰金を科しました。これは、私のプロジェクトで BarcodScanner にこのサンプルを使用したためです。

私を助けてください!!

4

1 に答える 1