Git Product home page Git Product logo

java.lang.RuntimeException: Unable to start activity ComponentInfo{com.mypackage/com.scanlibrary.ScanActivity}: java.lang.IllegalArgumentException: Couldn't find meta-data for provider with authority com.scanlibrary.provider about document_scanner_flutter HOT 5 OPEN

ishaquehassan avatar ishaquehassan commented on August 28, 2024
java.lang.RuntimeException: Unable to start activity ComponentInfo{com.mypackage/com.scanlibrary.ScanActivity}: java.lang.IllegalArgumentException: Couldn't find meta-data for provider with authority com.scanlibrary.provider

from document_scanner_flutter.

Comments (5)

kalloszsolty avatar kalloszsolty commented on August 28, 2024

Did you solve this issue with the provider tag: #9 ?

from document_scanner_flutter.

aiman5252 avatar aiman5252 commented on August 28, 2024

No, I need to use that provider tag to build the app, but it didn't solve this issue.

from document_scanner_flutter.

kalloszsolty avatar kalloszsolty commented on August 28, 2024

As far as I understand this is beacuse of the tools:replace="android:authorities"
What build error do you get if you remove the provider from the Manifest?
For me it builds, but if I try to use the same library in a sibling app of mine, I get the error:
[INSTALL_FAILED_CONFLICTING_PROVIDER: Scanning Failed.: Can't install because provider name com.scanlibrary.provider is already used

from document_scanner_flutter.

rajada1 avatar rajada1 commented on August 28, 2024

this #9 solved my problem

from document_scanner_flutter.

sanjeevinnobit avatar sanjeevinnobit commented on August 28, 2024

@aiman5252 please refer this #19 (comment)

from document_scanner_flutter.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.