mintware-de / flutter_barcode_reader

A flutter plugin for reading 2D barcodes and QR codes.
MIT License
628 stars 464 forks source link

have you declared this activity in your AndroidManifest.xml? #26

Closed 12221010ll closed 6 years ago

12221010ll commented 6 years ago

when i click "scan" the app has crashed.

android.content.ActivityNotFoundException: Unable to find explicit activity class {com.met.metchain2/com.apptreesoftware.barcodescan.BarcodeScannerActivity}; have you declared this activity in your AndroidManifest.xml?

what that mean?

hetkpatel commented 5 years ago

I don't seem to know why, but I'm having this same issue. Did you by any chance figure out the solution?

cbyniiaii commented 5 years ago

flutter build apk adb install build/app/outputs/apk/release/app-release.apk It's work! But Hot load?

singi2016cn commented 5 years ago

when I click the scan,I have same problem.what can I do?

android.content.ActivityNotFoundException: Unable to find explicit activity class {com.hjly168.hjly/com.apptreesoftware.barcodescan.BarcodeScannerActivity}; have you decla
red this activity in your AndroidManifest.xml?
j1dopeman commented 5 years ago

I had this same error. I think the manifest changes don't get picked up. I deleted the build folder and then ran it again and it started working.

hugohfs commented 5 years ago

Deleting build folder works for me.

chunhunghan commented 5 years ago

Delete build folder works. Thank you all

kshivam1177 commented 5 years ago

Deleted .gradle folder and then ran it again and it started working. flutter_app/android/.gradle

chaochaox1990 commented 5 years ago

it work for me thanks

Loopex2019 commented 5 years ago

Thanks it worked for me

Ray-56 commented 5 years ago

Thanks it worked for me

lucascarvalho100 commented 5 years ago

it work for me thanks

tyh520life commented 4 years ago

when I click the scan,I have same problem.what can I do?

android.content.ActivityNotFoundException: Unable to find explicit activity class {com.hjly168.hjly/com.apptreesoftware.barcodescan.BarcodeScannerActivity}; have you decla
red this activity in your AndroidManifest.xml?

open in android studio , build project

halladaas commented 4 years ago

the app crashed before it even opened when i deleted the build.gradle file. is that what i was supposed to delete?