#
problems with flutter_google_cast-master

Hello, I needed to remove the entire flutter_google_cast-master folder because it appears to have indexing errors, but I believe the files are missing or broken.

Asked 1 day ago on October 14, 2025 5:23 AM Comments 9 times


  1. Generic placeholder image

    Wawa replied

    I did exactly as you asked but I'm facing the following problems and I can't solve it?

     

    1-../../.pub-cache/hosted/pub.dev/fetch_client-1.1.4/lib/src/fetch_response.dart:9:57: Error: Type 'BaseResponseWithUrl' not found.

    class FetchResponse extends StreamedResponse implements BaseResponseWithUrl {

     

    2-lib/widget/custome_height_picker.dart:83:17: Error: No named parameter with the name 'labels'. 

    labels: _listHeightText,

     

    3- pub-cache/hosted/pub.dev/flutter_toggle_tab-1.5.1/lib/flutter_toggle_tab.dart:35:9: Context: Found this candidate, but the arguments don't match. 

    const FlutterToggleTab({

     

    In my country, Brazil, there is no RazorPay. Could you show me how to disable it completely?

  2. Generic placeholder image

    Ameliya replied

     

    Hello,
     
    in pubspec.yaml file 
    Set the version for the health package as shown below:
     
    health: 13.1.3
    and share which versions are you using for dotted_border and flutter_toggle_tab.

    after chnaging health package version number, run
    - flutter clean
    then delete pubspec.lock file.
    then run flutter pub get.
     
    Then run the project.
     
    Thanks & regards
    - Ameliya
  3. Generic placeholder image

    Wawa replied

    I installed the version you requested (Flutter version 3.35.2). But the problem seems to have gotten much worse. I can compile for iOS normally, but it doesn't compile for Android, and when it does, it closes immediately. Can you check what's wrong with the Android code?

     

    error: cannot find symbol class Registrardevice_info-2.0.3 Android/Gradle Level (Failure 1) This is the classic error from removing V1 Embedding (the old plugin format). The device_info-2.0.3 plugin is very old and uses the PluginRegistry.Registrar API, which was removed from Flutter (even in version 3.35.2).

     

    Execution failed for task ':device_info:compileDebugJavaWithJavac' device_info-2.0.3 Android/Gradle Level (Failure 1) Gradle fails because it cannot compile the Java/Kotlin code for the device_info plugin.

     

    Couldn't find constructor 'GoogleSignIn'. / The getter 'accessToken' isn't defined... lib/service/auth_service.dart The google_sign_in package (version 7.2.0) has had a major (breaking) change. The class constructor and access to the accessToken have changed.

     

    The method 'Health' isn't defined... lib/components/step_count_component.dart:37 The health package has been updated and the class/constructor name has changed.

     

    No named parameter with the name 'color'. lib/screens/add_post_screen.dart (The) dotted_border package has been updated and removed the color parameter from the constructor.

     

    No named parameter with the name 'labels'. lib/widget/custome_height_picker.dart:83 (The) flutter_toggle_tab package has been updated and removed the labels parameter from the constructor.

  4. Generic placeholder image

    Ameliya replied

     

    Hello,


    After that, if you get any issues, please share the full error log.

    Thanks & regards
    - Ameliya
  5. Generic placeholder image

    Ameliya replied

     

    Hello,
     
    Flutter version - 3.35.2. 
    After setting this run
    - flutter clean
    - flutter pub get.
    Then try to run.

    Thanks & regards
    - Ameliya
  6. Generic placeholder image

    Wawa replied

    I'm using the same version of Android Studio - Android Studio Narwhal | 2025.1.1 Patch 1 and Flutter - 3.32.2 One of these payment plugins is experiencing native launch issues on Android and is causing apps to crash.

    Note: /Users/wagnergomes/.pub-cache/hosted/pub.dev/flutter_paytabs_bridge-2.7.2/android/...

    Note: /Users/wagnergomes/.pub-cache/hosted/pub.dev/razorpay_flutter-1.4.0/android/...

    Note: /Users/wagnergomes/.pub-cache/hosted/pub.dev/my_fatoorah_payment_flutter-1.1.3/android/...

     

     

     

    ATTACHED FILES

  7. Generic placeholder image

    Ameliya replied

    Hello,
     
    Android Studio - Android Studio Narwhal | 2025.1.1 Patch 1  or after that.
    Flutter - 3.35.2

    Thanks & regards
    - Ameliya
  8. Generic placeholder image

    Wawa replied

    Tell me which version of Flutter I have to use and Android Studio because I can't compile the app for either Android or iOS.

    [✓] Flutter (Channel stable, 3.35.6, on macOS 15.4.1 24E263 darwin-x64, locale

        pt-BR)

    [✓] Android toolchain - develop for Android devices (Android SDK version 36.0.0)

    [✓] Xcode - develop for iOS and macOS (Xcode 16.3)

    [✓] Chrome - develop for the web

    [✓] Android Studio (version 2025.1)

    [✓] IntelliJ IDEA Community Edition (version 2024.3.4.1)

    [✓] VS Code (version 1.105.0)

    [✓] Connected device (2 available)

        ! Error: Browsing on the local area network for iPhone. Ensure the device is

          unlocked and attached with a cable or associated with the same local area

          network as this Mac.

          The device must be opted into Developer Mode to connect wirelessly. (code

          -27)

    [✓] Network resources

     

    No issues found!

    wagnergomes@MBP-de-Wagner ~ % 

  9. Generic placeholder image

    Ameliya replied

     

    Hello,

    The flutter_google_cast-master folder is actually a modified version of the package that’s already integrated into the project. You don’t need to open or index it separately — it’s included just so the app can run properly with the custom casting feature.

    If your IDE shows indexing errors, it’s likely because of how Flutter or Android Studio indexes local packages. You can safely ignore those warnings, or simply:

    1. Run flutter clean

    2. Then flutter pub get

    3. Finally, restart your IDE

    After these steps, everything should build and run normally.
    Please do not delete the flutter_google_cast-master folder, as it contains the required source files for Chromecast functionality.

    If you’re still seeing any issues after doing that, please share a screenshot or error log.

     

    Thanks & regards
    - Ameliya
Recent Tickets
river is not receiving ri... 8 months ago on January 29, 2025 9:03 AM problem with update files... 1 day ago on October 14, 2025 5:45 AM problems with flutter_goo... 1 day ago on October 14, 2025 5:23 AM Issues with installation... 1 month ago on September 12, 2025 10:37 AM in-app purchases are prem... 1 month ago on September 5, 2025 4:34 AM Flutter Brain Tree packag... 1 month ago on September 4, 2025 5:20 PM App rejected in Apple Sto... 1 month ago on September 3, 2025 10:01 AM I would like to know how ... 1 month ago on August 29, 2025 1:45 AM error - Mighty Web Webvie... 1 month ago on August 27, 2025 9:21 AM Google notification We wi... 1 month ago on August 27, 2025 1:32 AM