#
problem with update files for android

There are several problems with the code for Android. I will send you the error logs. In addition, the application starts compiling and closes. I have already deleted the flutter_google_cast-master folder. For iOS, it worked and I was able to compile, but for Android, there are other problems with the update. Can you check? wagnergomes@MBP-de-Wagner mightyfitness_flutter-1 % flutter run

Launching lib/main.dart on sdk gphone64 x86 64 in debug mode...

warning: [options] source value 8 is obsolete and will be removed in a future release

warning: [options] target value 8 is obsolete and will be removed in a future release

warning: [options] To suppress warnings about obsolete options, use -Xlint:-options.

warning: [options] source value 8 is obsolete and will be removed in a future release

warning: [options] target value 8 is obsolete and will be removed in a future release

warning: [options] To suppress warnings about obsolete options, use -Xlint:-options.

warning: [options] source value 8 is obsolete and will be removed in a future release

warning: [options] target value 8 is obsolete and will be removed in a future release

warning: [options] To suppress warnings about obsolete options, use -Xlint:-options.

warning: [options] source value 8 is obsolete and will be removed in a future release

warning: [options] target value 8 is obsolete and will be removed in a future release

warning: [options] To suppress warnings about obsolete options, use -Xlint:-options.

warning: [options] source value 8 is obsolete and will be removed in a future release

warning: [options] target value 8 is obsolete and will be removed in a future release

warning: [options] To suppress warnings about obsolete options, use -Xlint:-options.

Note: Some input files use unchecked or unsafe operations.

Note: Recompile with -Xlint:unchecked for details.

3 warnings

Note: /Users/wagnergomes/.pub-cache/hosted/pub.dev/flutter_paytabs_bridge-2.7.2/android/src/main/java/com/paymentsdk/flutter_paymentsdk_bridge/FlutterPaytabsBridgePlugin.java uses or overrides a deprecated API.

Note: Recompile with -Xlint:deprecation for details.

3 warnings

3 warnings

3 warnings

warning: [options] source value 8 is obsolete and will be removed in a future release

warning: [options] target value 8 is obsolete and will be removed in a future release

warning: [options] To suppress warnings about obsolete options, use -Xlint:-options.

warning: [options] source value 8 is obsolete and will be removed in a future release

warning: [options] target value 8 is obsolete and will be removed in a future release

warning: [options] To suppress warnings about obsolete options, use -Xlint:-options.

Note: /Users/wagnergomes/.pub-cache/hosted/pub.dev/my_fatoorah_payment_flutter-1.1.3/android/src/main/kotlin/com/myfatoorahflutter/my_fatoorah_flutter/crossplatform/MyfatoorahModule.java uses or overrides a deprecated API.

Note: Recompile with -Xlint:deprecation for details.

Note: Some input files use unchecked or unsafe operations.

Note: Recompile with -Xlint:unchecked for details.

Note: Some input files use unchecked or unsafe operations.

Note: Recompile with -Xlint:unchecked for details.

3 warnings

Note: /Users/wagnergomes/.pub-cache/hosted/pub.dev/razorpay_flutter-1.4.0/android/src/main/java/com/razorpay/razorpay_flutter/RazorpayDelegate.java uses or overrides a deprecated API.

Note: Recompile with -Xlint:deprecation for details.

3 warnings

/Users/wagnergomes/.pub-cache/hosted/pub.dev/sqflite_android-2.4.1/android/src/main/java/com/tekartik/sqflite/LocaleUtils.java:48: warning: [deprecation] Locale(String,String,String) in Locale has been deprecated

        return new Locale(language, country, variant);

               ^

/Users/wagnergomes/.pub-cache/hosted/pub.dev/sqflite_android-2.4.1/android/src/main/java/com/tekartik/sqflite/Utils.java:92: warning: [deprecation] Locale(String,String,String) in Locale has been deprecated

        return new Locale(language, country, variant);

               ^

Note: Some input files use or override a deprecated API.

Note: Recompile with -Xlint:deprecation for details.

/Users/wagnergomes/.pub-cache/hosted/pub.dev/sqflite_android-2.4.1/android/src/main/java/com/tekartik/sqflite/Database.java:204: warning: [deprecation] getId() in Thread has been deprecated

        return id + "," + thread.getName() + "(" + thread.getId() + ")";

                                                         ^

3 warnings

Note: Some input files use or override a deprecated API.

Note: Recompile with -Xlint:deprecation for details.

Note: Some input files use unchecked or unsafe operations.

Note: Recompile with -Xlint:unchecked for details.

3 warnings

warning: [options] source value 8 is obsolete and will be removed in a future release

warning: [options] target value 8 is obsolete and will be removed in a future release

warning: [options] To suppress warnings about obsolete options, use -Xlint:-options.

Note: /Users/wagnergomes/.pub-cache/hosted/pub.dev/google_mobile_ads-5.3.1/android/src/main/java/io/flutter/plugins/googlemobileads/AdMessageCodec.java uses or overrides a deprecated API.

Note: Recompile with -Xlint:deprecation for details.

3 warnings

Note: Some input files use or override a deprecated API.

Note: Recompile with -Xlint:deprecation for details.

Running Gradle task 'assembleDebug'...                             81,8s

✓ Built build/app/outputs/flutter-apk/app-debug.apk

Installing build/app/outputs/flutter-apk/app-debug.apk...        2.848ms

Asked 1 day ago on October 14, 2025 5:45 AM Comments 3 times


  1. 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
  2. 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 ~ % 

  3. Generic placeholder image

    Ameliya replied

     

    Hello,
     
    Please make sure you are using
     
    Flutter - 3.35
    Android studio -  Latest version..

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


    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