Skip to content
This repository has been archived by the owner on May 20, 2019. It is now read-only.

Could not start scan: Activity reference lost (please rebuild the MaterialBarcodeScanner before calling startScan) #59

Open
tnc3r opened this issue Oct 5, 2018 · 0 comments

Comments

@tnc3r
Copy link

tnc3r commented Oct 5, 2018

hi. i get this error when I scan again after the first barcode scan. Help pls !!!

java.lang.RuntimeException: Could not start scan: Activity reference lost (please rebuild the MaterialBarcodeScanner before calling startScan)
at com.edwardvanraak.materialbarcodescanner.MaterialBarcodeScanner.startScan(MaterialBarcodeScanner.java:68)
at com.vbt.arsan.MainActivity.startScan(MainActivity.java:237)
at com.vbt.arsan.MainActivity.onClick(MainActivity.java:196)
at android.view.View.performClick(View.java:5639)
at android.view.View$PerformClick.run(View.java:22445)
at android.os.Handler.handleCallback(Handler.java:751)
at android.os.Handler.dispatchMessage(Handler.java:95)
at android.os.Looper.loop(Looper.java:159)
at android.app.ActivityThread.main(ActivityThread.java:6139)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:886)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:776)

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant