Giter Club home page Giter Club logo

Comments (6)

chentao0707 avatar chentao0707 commented on July 19, 2024

错误信息是什么?::

from zxingproject.

huangxuanheng avatar huangxuanheng commented on July 19, 2024

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.

chentao0707 avatar chentao0707 commented on July 19, 2024

jdk多少?

from zxingproject.

huangxuanheng avatar huangxuanheng commented on July 19, 2024

jdk1.8

from zxingproject.

chentao0707 avatar chentao0707 commented on July 19, 2024

你替换一下ZXing的jar包,错误信息很明显

from zxingproject.

huangxuanheng avatar huangxuanheng commented on July 19, 2024

thanks

from zxingproject.

Related Issues (9)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.