Giter VIP home page Giter VIP logo

Comments (6)

darshankawar avatar darshankawar commented on June 26, 2024

@CaoGiaHieu-dev
Since the error is pointing to google_mlkit_face_detector which is third party package, does the same error occur if you only use path_provider or any other Flutter's first party package ?

from flutter.

CaoGiaHieu-dev avatar CaoGiaHieu-dev commented on June 26, 2024

Yes . It have same error with other package

from flutter.

CaoGiaHieu-dev avatar CaoGiaHieu-dev commented on June 26, 2024

@darshankawar here the log when i using path provider

Logs
2024-05-28 08:39:18.620 12702-13593 flutter                 com.example.example_android          I  PlatformException(channel-error, Unable to establish connection on channel., null, null)
2024-05-28 08:39:18.620 12702-13593 flutter                 com.example.example_android          I  #0      PathProviderApi.getApplicationSupportPath (package:path_provider_android/messages.g.dart:65:7)
                                                                                                    <asynchronous suspension>
                                                                                                    #1      getApplicationSupportDirectory (package:path_provider/path_provider.dart:78:24)
                                                                                                    <asynchronous suspension>
                                                                                                    #2      _localPath (package:google_fonts/src/file_io_desktop_and_mobile.dart:39:21)
                                                                                                    <asynchronous suspension>
                                                                                                    #3      _localFile (package:google_fonts/src/file_io_desktop_and_mobile.dart:44:16)
                                                                                                    <asynchronous suspension>
                                                                                                    #4      saveFontToDeviceFileSystem (package:google_fonts/src/file_io_desktop_and_mobile.dart:15:16)
                                                                                                    <asynchronous suspension>

from flutter.

darshankawar avatar darshankawar commented on June 26, 2024

Thanks for the update. Is it only occuring while following the instructions that are specific without Android Studio only ?
If you follow https://docs.flutter.dev/add-to-app/android/project-setup?tab=with-android-studio, can you check if you still get same error ?

from flutter.

CaoGiaHieu-dev avatar CaoGiaHieu-dev commented on June 26, 2024

i did that aslo a still . get same error

from flutter.

CaoGiaHieu-dev avatar CaoGiaHieu-dev commented on June 26, 2024

i resolved it . close now .
it because the flutter package i use set minifyEnabled = true so when import it cannot found plugin

from 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.