Comments (6)
错误信息是什么?::
from zxingproject.
03-23 14:09:12.461: E/AndroidRuntime(20603): java.lang.NoClassDefFoundError: com.google.zxing.DecodeHintType
03-23 14:09:12.461: E/AndroidRuntime(20603): at com.dtr.zxing.decode.DecodeThread.(DecodeThread.java:56)
03-23 14:09:12.461: E/AndroidRuntime(20603): at com.dtr.zxing.utils.CaptureActivityHandler.(CaptureActivityHandler.java:50)
03-23 14:09:12.461: E/AndroidRuntime(20603): at com.dtr.zxing.activity.CaptureActivity.initCamera(CaptureActivity.java:210)
03-23 14:09:12.461: E/AndroidRuntime(20603): at com.dtr.zxing.activity.CaptureActivity.surfaceCreated(CaptureActivity.java:162)
03-23 14:09:12.461: E/AndroidRuntime(20603): at android.view.SurfaceView.updateWindow(SurfaceView.java:622)
03-23 14:09:12.461: E/AndroidRuntime(20603): at android.view.SurfaceView.access$000(SurfaceView.java:90)
03-23 14:09:12.461: E/AndroidRuntime(20603): at android.view.SurfaceView$3.onPreDraw(SurfaceView.java:185)
03-23 14:09:12.461: E/AndroidRuntime(20603): at android.view.ViewTreeObserver.dispatchOnPreDraw(ViewTreeObserver.java:680)
03-23 14:09:12.461: E/AndroidRuntime(20603): at android.view.ViewRootImpl.performTraversals(ViewRootImpl.java:2173)
03-23 14:09:12.461: E/AndroidRuntime(20603): at android.view.ViewRootImpl.doTraversal(ViewRootImpl.java:1181)
03-23 14:09:12.461: E/AndroidRuntime(20603): at android.view.ViewRootImpl$TraversalRunnable.run(ViewRootImpl.java:4945)
03-23 14:09:12.461: E/AndroidRuntime(20603): at android.view.Choreographer$CallbackRecord.run(Choreographer.java:776)
03-23 14:09:12.461: E/AndroidRuntime(20603): at android.view.Choreographer.doCallbacks(Choreographer.java:579)
03-23 14:09:12.461: E/AndroidRuntime(20603): at android.view.Choreographer.doFrame(Choreographer.java:548)
03-23 14:09:12.461: E/AndroidRuntime(20603): at android.view.Choreographer$FrameDisplayEventReceiver.run(Choreographer.java:762)
03-23 14:09:12.461: E/AndroidRuntime(20603): at android.os.Handler.handleCallback(Handler.java:800)
03-23 14:09:12.461: E/AndroidRuntime(20603): at android.os.Handler.dispatchMessage(Handler.java:100)
03-23 14:09:12.461: E/AndroidRuntime(20603): at android.os.Looper.loop(Looper.java:194)
03-23 14:09:12.461: E/AndroidRuntime(20603): at android.app.ActivityThread.main(ActivityThread.java:5409)
03-23 14:09:12.461: E/AndroidRuntime(20603): at java.lang.reflect.Method.invokeNative(Native Method)
03-23 14:09:12.461: E/AndroidRuntime(20603): at java.lang.reflect.Method.invoke(Method.java:525)
03-23 14:09:12.461: E/AndroidRuntime(20603): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:897)
03-23 14:09:12.461: E/AndroidRuntime(20603): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:664)
03-23 14:09:12.461: E/AndroidRuntime(20603): at dalvik.system.NativeStart.main(Native Method)
from zxingproject.
jdk多少?
from zxingproject.
jdk1.8
from zxingproject.
你替换一下ZXing的jar包,错误信息很明显
from zxingproject.
thanks
from zxingproject.
Related Issues (9)
- 2.3的机子中无法使用! HOT 8
- 扫描后beep声音问题
- 三星s4不支持闪光灯
- 扫描结果后的图片没有官方应用的那种处理后的效果 HOT 3
- 5
- 不能 不用zxing.jar吗 HOT 1
- 报错
- nexus 5x 相机预览画面反了 HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from zxingproject.