Warning: file_get_contents(/data/phpspider/zhask/data//catemap/9/java/375.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181

Warning: file_get_contents(/data/phpspider/zhask/data//catemap/7/user-interface/2.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Java 如何在android上的droidgap中运行条形码扫描仪?_Java_Android_Eclipse_Web Applications_Cordova - Fatal编程技术网

Java 如何在android上的droidgap中运行条形码扫描仪?

Java 如何在android上的droidgap中运行条形码扫描仪?,java,android,eclipse,web-applications,cordova,Java,Android,Eclipse,Web Applications,Cordova,我用PhoneGap实现cordova 2.1.0插件,但不要运行!!因为它有错误,不能启动 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 data

我用PhoneGap实现cordova 2.1.0插件,但不要运行!!因为它有错误,不能启动

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()”,并对其进行了注释,用于Dot run和search db,但没有答案

我罚款了,因为在我的项目中,BarcodScanner使用了这个样本


请帮帮我

我因无法使用条形码扫描仪而被罚款,解决方案是扩展活动!! 因为,我在扩展活动时定义了Main类,所以所有的类都扩展了Main,因为它们想要为活动的开始和结束实现动画效果