Closed themisir closed 4 years ago
Did you add the camera permissions to the manifest.xml?
Yes, here's AndroidManifest.xml
file.
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="**REDACTED**">
<uses-permission android:name="android.permission.CAMERA" />
<uses-permission android:name="android.permission.INTERNET"/>
<uses-permission android:name="android.permission.ACCESS_FINE_LOCATION"/>
<uses-permission android:name="android.permission.ACCESS_BACKGROUND_LOCATION" />
<uses-permission android:name="android.permission.WAKE_LOCK"/>
<uses-permission android:name="android.permission.FOREGROUND_SERVICE"/>
<uses-feature android:name="android.hardware.camera" />
Hm, I think it's flutter related issue, https://github.com/flutter/flutter/issues/46952 same thing happened to other camera packages too.
It seems like the old version was fine, but I had a problem upgrading it to 3.0.0
Is there a solution
It seems like the old version was fine, but I had a problem upgrading it to 3.0.0
Same problem for me and after capture a code dont return ScanResult
3.0.1 still throws this error
E/libc (27996): Access denied finding property "vendor.camera.hal1.packagelist"
I have the same problem as well. Barcode scan 3.0.1 - Flutter v1.17.1 - Android 10.
E/libc ( 2279): Access denied finding property "vendor.camera.hal1.packagelist"
Does this guide solves the problem? https://github.com/flutter/flutter/wiki/Upgrading-pre-1.12-Android-projects
It does, @devtronic! Thank you very much!
P.S.: For others having the same issue, it might be easier to erase your Android/iOS folders and simply use flutter create
to restore everything; provided you have some kind of source control to restore all relevant changes you previously made.
@devtronic I'm having this issue using a POCOPHONE F1 (Android). I've tried to do your guide from
Does this guide solves the problem? https://github.com/flutter/flutter/wiki/Upgrading-pre-1.12-Android-projects
and I was not successfully. If I understood correctly, my MainActivity should look like this (correct me if I'm wrong):
package packge_name
import io.flutter.embedding.android.FlutterActivity
class MainActivity: FlutterActivity() {
}
@devtronic my flutter proyect is post 1.12 and i have this issue on OP7 device, however in a pixel 2 it doesn't happens. I will update with more details later. i downgrade to 2.0.2 it raise the warning. both Android 10.
In versions prior to 3.0, although the warning constantly comes out, the scan works, however, in versions after 3, when the scan returns, nothing happens, no errors nothing.
I DownGrade to version 2.0.2
Hii,
This code will help definitely: if (ContextCompat.checkSelfPermission(this, Manifest.permission.CAMERA) != PackageManager.PERMISSION_GRANTED) { ActivityCompat.requestPermissions(this, new String[] {Manifest.permission.CAMERA}, 50); }
I am.also getting the same error plz help me
I am.also getting the same error plz help me
Upgrading flutter version helped me. (I just upgraded flutter sdk, created a new project and moved all source files to new project folder)
Thank you so much
On Sun, 27 Sep, 2020, 5:22 PM Misir Jafarov, notifications@github.com wrote:
I am.also getting the same error plz help me
Upgrading flutter version helped me. (I just upgraded flutter sdk, created a new project and moved all source files to new project folder)
— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/mintware-de/flutter_barcode_reader/issues/212#issuecomment-699625345, or unsubscribe https://github.com/notifications/unsubscribe-auth/AREVR55X47SUDTWUHKQC4SDSH4RRFANCNFSM4MKWI7SA .
I am still facing the below issue. I m using Flutter 1.20.4.. Can someone help on this?..
E/libc ( 9114): Access denied finding property "vendor.camera.aux.packagelist"
Use 0.1.3 and go to terminal and upgrade the flutter ask
On Mon, 28 Sep, 2020, 6:41 PM bharathiselvan, notifications@github.com wrote:
I am still facing the below issue. I m using Flutter 1.20.4.. Can someone help on this?.. E/libc ( 9114): Access denied finding property "vendor.camera.aux.packagelist"
— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/mintware-de/flutter_barcode_reader/issues/212#issuecomment-699996633, or unsubscribe https://github.com/notifications/unsubscribe-auth/AREVR5YGWV4CIS54D2WCQSLSICDOTANCNFSM4MKWI7SA .
Flutter sdk
On Mon, 28 Sep, 2020, 6:43 PM Darling Madhu, darlingmadhu444@gmail.com wrote:
Use 0.1.3 and go to terminal and upgrade the flutter ask
On Mon, 28 Sep, 2020, 6:41 PM bharathiselvan, notifications@github.com wrote:
I am still facing the below issue. I m using Flutter 1.20.4.. Can someone help on this?.. E/libc ( 9114): Access denied finding property "vendor.camera.aux.packagelist"
— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/mintware-de/flutter_barcode_reader/issues/212#issuecomment-699996633, or unsubscribe https://github.com/notifications/unsubscribe-auth/AREVR5YGWV4CIS54D2WCQSLSICDOTANCNFSM4MKWI7SA .
I have already upgraded to latest version of flutter 1.2.04 and created a new project, but still getting this error..
I have already upgraded to latest version of flutter 1.2.04 and created a new project, but still getting this error..
I could only wish you a good luck.
Add the activity to manifest file
On Tue, 29 Sep, 2020, 12:06 AM Misir Jafarov, notifications@github.com wrote:
I have already upgraded to latest version of flutter 1.2.04 and created a new project, but still getting this error..
I could only wish you a good luck.
— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/mintware-de/flutter_barcode_reader/issues/212#issuecomment-700209644, or unsubscribe https://github.com/notifications/unsubscribe-auth/AREVR573PGXXZ4LAFECA5HTSIDJRNANCNFSM4MKWI7SA .
I'm getting lots of this kind of messages on android studio output when scanner is open.
It doesn't breaks something but I wanna know that is the issue on project side or package side?
pubspec.yaml
flutter doctor