I downloaded an online forum Zxing deal with two-dimensional code of the source code, but has been running in the android emulator to run it up, there were many mistakes, have not found out why I have placed it above this error message
You help me further analysis, these are what is wrong, and what are the solutions, online help
10-26 07:00:23.974: W / dalvikvm (2062): VFY: unable to find class referenced in signature (Lcom / google / zxing / Result ;)
10-26 07:00:23.974: I / dalvikvm (2062): Could not find method com.google.zxing.Result.getBarcodeFormat, referenced from method com.zijunlin.Zxing.Demo.CaptureActivity.handleDecode 10 - 26 07:00:23.997: W / dalvikvm (2062): VFY: unable to resolve virtual method 95: Lcom / google / zxing / Result; getBarcodeFormat () Lcom / google / zxing / BarcodeFormat;
.10-26 07:00:23.997: D / dalvikvm (2062): VFY: replacing opcode 0x6e at 0x0011
10-26 07:00:24.064: D / dalvikvm (2062): VFY: dead code 0x0014-0035 in Lcom / zijunlin / Zxing / Demo / CaptureActivity; handleDecode (Lcom / google / zxing / Result; Landroid / graphics / Bitmap. ;) V
10-26 07:00:24.224: W / dalvikvm (2062): VFY: unable to find class referenced in signature (Lcom / google / zxing / ResultPoint ;)
10-26 07:00:24.235: E / dalvikvm (2062): Could not find class 'com.google.zxing.ResultPoint', referenced from method com.zijunlin.Zxing.Demo.view.ViewfinderView.onDraw 10-26 07:00:24.235: W / dalvikvm (2062): VFY: unable to resolve check-cast 54 (Lcom / google / zxing / ResultPoint ;) in Lcom / zijunlin / Zxing / Demo / view / ViewfinderView;
10-26 07:00:24.245: D / dalvikvm (2062): VFY: replacing opcode 0x1f at 0x0178
10-26 07:00:24.245: E / dalvikvm (2062): Could not find class 'com.google.zxing.ResultPoint', referenced from method com.zijunlin.Zxing.Demo.view.ViewfinderView.onDraw 10-26 07:00:24.255: W / dalvikvm (2062): VFY: unable to resolve check-cast 54 (Lcom / google / zxing / ResultPoint ;) in Lcom / zijunlin / Zxing / Demo / view / ViewfinderView;
10-26 07:00:24.255: D / dalvikvm (2062): VFY: replacing opcode 0x1f at 0x0196
10-26 07:00:24.255: D / dalvikvm (2062): VFY:. Dead code 0x017a-0191 in Lcom / zijunlin / Zxing / Demo / view / ViewfinderView; onDraw (Landroid / graphics / Canvas ;) V
10-26 07:00:24.255: D / dalvikvm (2062): VFY:. Dead code 0x0198-01af in Lcom / zijunlin / Zxing / Demo / view / ViewfinderView; onDraw (Landroid / graphics / Canvas ;) V
10-26 07:00:24.314: W / dalvikvm (2062): Unable to resolve superclass of Lcom / zijunlin / Zxing / Demo / camera / PlanarYUVLuminanceSource; (50)
10-26 07:00:24.314: W / dalvikvm (2062): Link of class 'Lcom / zijunlin / Zxing / Demo / camera / PlanarYUVLuminanceSource;' failed
10-26 07:00:24.326: E / dalvikvm (2062): Could not find class 'com.zijunlin.Zxing.Demo.camera.PlanarYUVLuminanceSource', referenced from method com.zijunlin.Zxing.Demo.camera.CameraManager.buildLuminanceSource 10-26 07:00:24.326: W / dalvikvm (2062): VFY: unable to resolve new-instance 72 (Lcom / zijunlin / Zxing / Demo / camera / PlanarYUVLuminanceSource ;) in Lcom / zijunlin / Zxing / Demo / camera / CameraManager;
10-26 07:00:24.335: D / dalvikvm (2062): VFY: replacing opcode 0x22 at 0x001b
10-26 07:00:24.355: W / dalvikvm (2062): Unable to resolve superclass of Lcom / zijunlin / Zxing / Demo / camera / PlanarYUVLuminanceSource; (50)
10-26 07:00:24.355: W / dalvikvm (2062): Link of class 'Lcom / zijunlin / Zxing / Demo / camera / PlanarYUVLuminanceSource;' failed
10-26 07:00:24.355: E / dalvikvm (2062): Could not find class 'com.zijunlin.Zxing.Demo.camera.PlanarYUVLuminanceSource', referenced from method com.zijunlin.Zxing.Demo.camera.CameraManager.buildLuminanceSource 10-26 07:00:24.355: W / dalvikvm (2062): VFY: unable to resolve new-instance 72 (Lcom / zijunlin / Zxing / Demo / camera / PlanarYUVLuminanceSource ;) in Lcom / zijunlin / Zxing / Demo / camera / CameraManager;
10-26 07:00:24.355: D / dalvikvm (2062): VFY: replacing opcode 0x22 at 0x0030
10-26 07:00:24.365: D / dalvikvm (2062): VFY:. Dead code 0x001d-002f in Lcom / zijunlin / Zxing / Demo / camera / CameraManager; buildLuminanceSource ([BII) Lcom / zijunlin / Zxing / Demo / camera / PlanarYUVLuminanceSource;
10-26 07:00:24.384: D / dalvikvm (2062): VFY:. Dead code 0x0032-0044 in Lcom / zijunlin / Zxing / Demo / camera / CameraManager; buildLuminanceSource ([BII) Lcom / zijunlin / Zxing / Demo / camera / PlanarYUVLuminanceSource;
10-26 07:00:25.394: D / CameraConfigurationManager (2062): Default preview format: 17/yuv420sp
10-26 07:00:25.406: D / CameraConfigurationManager (2062): Screen resolution: Point (480, 320)
10-26 07:00:25.406: D / CameraConfigurationManager (2062): preview-size-values parameter: 320x240
10-26 07:00:25.406: D / CameraConfigurationManager (2062): Camera resolution: Point (480, 320)
10-26 07:00:25.434: D / CameraConfigurationManager (2062): Setting preview size: Point (320, 240)
10-26 07:00:25.484: V / FlashlightManager (2062): This device does not support control of a flashlight
10-26 07:00:25.514: I / dalvikvm (2062): Failed resolving Lcom / zijunlin / Zxing / Demo / view / ViewfinderResultPointCallback; interface 55 'Lcom / google / zxing / ResultPointCallback;'
10-26 07:00:25.514: W / dalvikvm (2062): Link of class 'Lcom / zijunlin / Zxing / Demo / view / ViewfinderResultPointCallback;' failed
10-26 07:00:25.524: E / dalvikvm (2062): Could not find class 'com.zijunlin.Zxing.Demo.view.ViewfinderResultPointCallback', referenced from method com.zijunlin.Zxing.Demo.decoding.CaptureActivityHandler <. ; init>
10-26 07:00:25.524 : W / dalvikvm (2062): VFY: unable to resolve new-instance 88 (Lcom / zijunlin / Zxing / Demo / view / ViewfinderResultPointCallback; ) in Lcom / zijunlin / Zxing / Demo / decoding / CaptureActivityHandler;
10-26 07:00:25.524: D / dalvikvm (2062): VFY: replacing opcode 0x22 at 0x0007
10-26 07:00:25.524: D / dalvikvm (2062): VFY: dead code 0x0009-0028 in Lcom / zijunlin / Zxing / Demo / decoding / CaptureActivityHandler;
10-26 07:00:25.546: E / dalvikvm (2062): Could not find class 'com.google.zxing.Result', referenced from method com.zijunlin.Zxing.Demo.decoding.CaptureActivityHandler.handleMessage
10-26 07:00:25.546: W / dalvikvm (2062): VFY: unable to resolve check-cast 53 (Lcom / google / zxing / Result ;) in Lcom / zijunlin / Zxing / Demo / decoding / CaptureActivityHandler;
10-26 07:00:25.546: D / dalvikvm (2062 ): VFY: replacing opcode 0x1f at 0x0037
10-26 07:00:25.546: D / dalvikvm (2062): VFY:. Dead code 0x0039-003c in Lcom / zijunlin / Zxing / Demo / decoding / CaptureActivityHandler; handleMessage (Landroid / os / Message ;) V
10-26 07:00:25.585: W / dalvikvm (2062): VFY: unable to find class referenced in signature (Lcom / google / zxing / ResultPointCallback ;)
10-26 07:00:25.585: W / dalvikvm (2062): VFY: unable to resolve static field 26 (POSSIBLE_FORMATS) in Lcom / google / zxing / DecodeHintType; 10-26 07:00:25.604: D / dalvikvm (2062): VFY: replacing opcode 0x62 at 0x0033
10-26 07:00:25.604: D / dalvikvm (2062): VFY:. Dead code 0x0035-0048 in Lcom / zijunlin / Zxing / Demo / decoding / DecodeThread;
10-26 07:00:25.745: D / AndroidRuntime (2062): Shutting down VM
10-26 07:00:25.745: W / dalvikvm (2062): threadid = 1: thread exiting with uncaught exception (group = 0x40015560)
10-26 07:00:25.835: E / AndroidRuntime (2062): FATAL EXCEPTION: main
10-26 07:00:25.835: E / AndroidRuntime (2062): java.lang.NoClassDefFoundError: com.zijunlin.Zxing.Demo.view.ViewfinderResultPointCallback
10-26 07:00:25.835: E / AndroidRuntime (2062): at com.zijunlin.Zxing.Demo.decoding.CaptureActivityHandler
10-26 07:00:25.835: E / AndroidRuntime (2062): at com.zijunlin.Zxing.Demo.CaptureActivity.initCamera (CaptureActivity.java: 105)
10-26 07:00:25.835: E / AndroidRuntime (2062): at com.zijunlin.Zxing.Demo.CaptureActivity.surfaceCreated (CaptureActivity.java: 119)
10-26 07:00:25.835: E / AndroidRuntime (2062): at android.view.SurfaceView.updateWindow (SurfaceView.java: 543)
10-26 07:00:25.835: E / AndroidRuntime (2062): at android.view.SurfaceView.dispatchDraw (SurfaceView.java: 348)
10-26 07:00:25.835: E / AndroidRuntime (2062): at android.view.ViewGroup.drawChild (ViewGroup.java: 1644)
10-26 07:00:25.835: E / AndroidRuntime (2062): at android.view.ViewGroup.dispatchDraw (ViewGroup.java: 1373)
10-26 07:00:25.835: E / AndroidRuntime (2062): at android.view.ViewGroup.drawChild (ViewGroup.java: 1644)
10-26 07:00:25.835: E / AndroidRuntime (2062): at android.view.ViewGroup.dispatchDraw (ViewGroup.java: 1373)
10-26 07:00:25.835: E / AndroidRuntime (2062): at android.view.ViewGroup.drawChild (ViewGroup.java: 1644)
10-26 07:00:25.835: E / AndroidRuntime (2062): at android.view.ViewGroup.dispatchDraw (ViewGroup.java: 1373)
10-26 07:00:25.835: E / AndroidRuntime (2062): at android.view.View.draw (View.java: 6883)
10-26 07:00:25.835: E / AndroidRuntime (2062): at android.widget.FrameLayout.draw (FrameLayout.java: 357)
10-26 07:00:25.835: E / AndroidRuntime (2062): at com.android.internal.policy.impl.PhoneWindow $ DecorView.draw (PhoneWindow.java: 1862)
10-26 07:00:25.835: E / AndroidRuntime (2062): at android.view.ViewRoot.draw (ViewRoot.java: 1522)
10-26 07:00:25.835: E / AndroidRuntime (2062): at android.view.ViewRoot.performTraversals (ViewRoot.java: 1258)
10-26 07:00:25.835: E / AndroidRuntime (2062): at android.view.ViewRoot.handleMessage (ViewRoot.java: 1859)
10-26 07:00:25.835: E / AndroidRuntime (2062): at android.os.Handler.dispatchMessage (Handler.java: 99)
10-26 07:00:25.835: E / AndroidRuntime (2062): at android.os.Looper.loop (Looper.java: 123)
10-26 07:00:25.835: E / AndroidRuntime (2062): at android.app.ActivityThread.main (ActivityThread.java: 3683)
10-26 07:00:25.835: E / AndroidRuntime (2062): at java.lang.reflect.Method.invokeNative (Native Method)
10-26 07:00:25.835: E / AndroidRuntime (2062): at java.lang.reflect.Method.invoke (Method.java: 507)
10-26 07:00:25.835: E / AndroidRuntime (2062): at com.android.internal.os.ZygoteInit $ MethodAndArgsCaller.run (ZygoteInit.java: 839)
10-26 07:00:25.835: E / AndroidRuntime (2062): at com.android.internal.os.ZygoteInit.main (ZygoteInit.java: 597)
10-26 07:00:25.835: E / AndroidRuntime (2062): at dalvik.system.NativeStart.main (Native Method)
10-26 07:05:26.094: I / Process (2062): Sending signal PID:. 2062 SIG: 9
Reply:
To download it official
Reply:
Is the problem jar package?
Reply:
Official website link, how much?
Reply:
Seeking optimized version of Zxing source. . .
Reply:
1, in the root directory of a new Android project libs folder;
2, you need to import third-party Jar package copied into this directory;
3, right click on the libs directory, select Bulid path -> Use as source folder.
Reply:
May not be introduced into the core library package it
Reply:
Importing jar package, right?
No comments:
Post a Comment