qrmobilevision QrCameraC1.java uses or overrides a deprecated API
See original GitHub issueI execute
flutter build apk
Then
Note: /Users/my_user/flutter/.pub-cache/hosted/pub.dartlang.org/qr_mobile_vision-0.2.2/android/src/main/java/com/github/rmtmckenzie/qrmobilevision/QrCameraC1.java uses or overrides a deprecated API. Note: Recompile with -Xlint:deprecation for details.
The apk is generated but with this message.
Very thanks for the very good library!
Issue Analytics
- State:
- Created 4 years ago
- Reactions:3
- Comments:6 (3 by maintainers)
Top Results From Across the Web
Flutter: Java uses or overrides a deprecated API
Flutter: Java uses or overrides a deprecated API ... I've been trying to use the auth, firestore firebase in an Android / IOS...
Read more >flutter_qr_mobile_vision - bytemeta
qrmobilevision QrCameraC1.java uses or overrides a deprecated API. agueroveraalvaro. agueroveraalvaro CLOSED · Updated 2 years ago ...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
But on anything android 6+, the deprecated code isn’t called, so it shouldn’t cause any issues beyond the annoying warning and possibly failing some linting/etc checks.
Unfortunately there’s not much I can do to remove this warning in your build so long as I’m trying to support pre-cameraV2 api devices. This shouldn’t cause any actual errors or affect your build in any way other than showing the warning though.