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
Wawa
replied
4 hours ago on October 15, 2025 6:39 PM
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?
Ameliya
replied
17 hours ago on October 15, 2025 5:52 AM
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
Wawa
replied
17 hours ago on October 15, 2025 5:27 AM
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.
Ameliya
replied
18 hours ago on October 15, 2025 4:50 AM
Hello,
After that, if you get any issues, please share the full error log.
Thanks & regards - Ameliya
Ameliya
replied
18 hours ago on October 15, 2025 4:47 AM
Hello,
Flutter version - 3.35.2. After setting this run
- flutter clean
- flutter pub get.
Then try to run.
Thanks & regards - Ameliya
Wawa
replied
18 hours ago on October 15, 2025 4:44 AM
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.
[✓] 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:26 AM
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:
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.
If you’re still seeing any issues after doing that, please share a screenshot or error log.
Wawa replied 4 hours ago on October 15, 2025 6:39 PM
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?
ATTACHED FILES
Ameliya replied 17 hours ago on October 15, 2025 5:52 AM
and share which versions are you using for dotted_border and flutter_toggle_tab.
after chnaging health package version number, run
- Ameliya
Wawa replied 17 hours ago on October 15, 2025 5:27 AM
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.
Ameliya replied 18 hours ago on October 15, 2025 4:50 AM
After that, if you get any issues, please share the full error log.
Thanks & regards
- Ameliya
Ameliya replied 18 hours ago on October 15, 2025 4:47 AM
After setting this run
Thanks & regards
- Ameliya
Wawa replied 18 hours ago on October 15, 2025 4:44 AM
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
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:13 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:26 AM
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:
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.If you’re still seeing any issues after doing that, please share a screenshot or error log.
- Ameliya