question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

qrmobilevision QrCameraC1.java uses or overrides a deprecated API

See original GitHub issue

I 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:closed
  • Created 4 years ago
  • Reactions:3
  • Comments:6 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
rmtmckenziecommented, Aug 29, 2019

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.

0reactions
rmtmckenziecommented, Apr 11, 2020

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.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found