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
Ameliya replied 18 hours ago on October 15, 2025 4:13 AM
Thanks & regards
- Ameliya
Wawa replied 1 day ago on October 14, 2025 1:16 PM
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 ~ %
Ameliya replied 1 day ago on October 14, 2025 8:31 AM
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:
Run
flutter clean
Then
flutter pub get
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