mintware-de / flutter_barcode_reader

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

App is not launched on Android device. #114

Closed xcoinmakers-fukuda closed 4 years ago

xcoinmakers-fukuda commented 5 years ago

I have some issues. Please help... I tried to use this library.

With iOS device(both emulator and  actual machine), it works.

But with android device(same on ), it doesn't work. App was built but couldn't be started correctly, just displayed the scan screen directly. and on the console window, Waiting for observatory port to be available... was displayed.

And I have already applied the setting about AndroidX.

I changed files like below.

dependencies { implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:1.3.21" }


- android > app > src > main > AndroidManifest.xml
```xml
<uses-permission android:name="android.permission.CAMERA" />

<activity android:name="com.apptreesoftware.barcodescan.BarcodeScannerActivity"/>
bramburn commented 5 years ago

i had to change the SDK down to 16 to get it work.

ChenArno commented 5 years ago

i had to change the SDK down to 16 to get it work.

flutter sdk?

devtronic commented 4 years ago

I can not reproduce the problem in a new flutter project.