Comments (8)
Hey guys I hope everyone is doing great.
Recently I have also faced this Bug and solved it. I have made the Pull Request for this bug.
In the meantime, if you want to fix it temporarily till @ravi8x merges the PR you can do the following.
- Download or Cloned the Library.
- Import this Library as a module in your Project.
- When completing steps 1 & 2 now go to
CameraSource.java
class. - Remove this line
assert (mProcessingThread.getState() == State.TERMINATED);
It will fix the bug.
Thanks!
from barcode-reader.
I recently solved this error by uploading the same repository and making the adjustment since it has not received updates for a while, you just change the name of the package and that's it
https://github.com/Brayan1863/Barcode-Reader
from barcode-reader.
@azzaxx Have you managed to fix this issue?
from barcode-reader.
having same issue in on destroy activity , any fix would help thank you
from barcode-reader.
if anyone solves it please write your solution
from barcode-reader.
have anyone solved it? please write your solution
from barcode-reader.
I recently solved this error by uploading the same repository and making the adjustment since it has not received updates for a while, you just change the name of the package and that's it
This resolve my app crash issue.
from barcode-reader.
why was the line -
assert (mProcessingThread.getState() == Thread.State.TERMINATED);
was there in the first place.
I first added a null check for mProcessingThread before the line, it fixed the crash, later i realised this line was not at all needed. As before release method is called =, stop() was already callled and mProcessingThread is actually set null.
from barcode-reader.
Related Issues (20)
- Does not read the QR on Huawei devices HOT 1
- switch to front camera HOT 2
- Layout info.androidhive.barcode.BarcodeReader
- Can I set a border for the square area? HOT 2
- Camera is distorted & no result HOT 1
- Limiting the types of barcodes that can be read
- Green color in right side of camera preview HOT 4
- How to turn on flash manually (using code not XML) ? HOT 1
- Class Cast Exception
- Camera is scanning qr not only in the center but also on the right left ... HOT 2
- First time install - long wait for download of QR Core libraries
- Duplicate class android.support.design.widget.CoordinatorLayout found HOT 1
- Change position of barcode scanner and borders on top left, top right, bottom left, and bottom right.
- Manual Flashlight
- Green color in right side of camera preview HOT 5
- Google Vision Api Camera preview issue HOT 1
- Hi Ravi Tamada
- Camera 1 API is deprecated,
- Migration to MavenCentral 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 barcode-reader.