Code Monkey home page Code Monkey logo

Comments (3)

Simon-Leeeeeeeee avatar Simon-Leeeeeeeee commented on June 26, 2024

@574085757 具体什么问题呢?如果是无法添加依赖,请检查AndroidStudio。如果是添加后使用报错,请附上错误日志。

from xcodescanner.

djlmsm111 avatar djlmsm111 commented on June 26, 2024

1.1.7当添加依赖了以后加载是没有问题的,而且用的是zbar1.1.7,但是你的demo里边全部都是1.1.5的方法,在1.1.7的里边有好几个方法是没有了的 mCameraScanner.setSurfaceTexture(mTextureView.getSurfaceTexture());等等
这个你自己新建一个项目立马就能知道的,造成的后果就是卡在scanactivity里边,哪怕是原样复制这个类过去,都会出现大白屏的问题,然后就无响应了

from xcodescanner.

Simon-Leeeeeeeee avatar Simon-Leeeeeeeee commented on June 26, 2024

@574085757 @djlmsm111 经核实,1.1.7中原本的setSurfaceTexture接口被我改成了setPreviewTexture,但是更新说明中忘记提及。是我大意疏忽了,对此造成的困扰非常抱歉!稍后核实其他API改动后我会更新使用说明。感谢反馈!

from xcodescanner.

Related Issues (20)

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.