Hi everyone, I am trying to run the example project in my smartphone. Although the build passed through the tokens verifications it fails later with the following message:
../mapbox_gl_platform_interface/lib/src/view_wrappers.dart:67:27: Error: The method 'setOffset' isn't defined for the class 'TextureAndroidViewController'.
'TextureAndroidViewController' is from 'package:flutter/src/services/platform_views.dart' ('/usr/local/flutter/packages/flutter/lib/src/services/platform_views.dart').
Try correcting the name to the name of an existing method, or defining a method named 'setOffset'.
await _controller.setOffset(position);
^^^^^^^^^
../mapbox_gl_platform_interface/lib/src/view_wrappers.dart:132:51: Error: The getter 'requiresViewComposition' isn't defined for the class 'TextureAndroidViewController'.
'TextureAndroidViewController' is from 'package:flutter/src/services/platform_views.dart' ('/usr/local/flutter/packages/flutter/lib/src/services/platform_views.dart').
Try correcting the name to the name of an existing getter, or defining a getter or field named 'requiresViewComposition'.
bool get requiresViewComposition => _controller.requiresViewComposition;
flutter doctor -v output:
[✓] Flutter (Channel stable, 2.10.5, on Mac OS X 10.15.7 19H15 darwin-x64, locale en-BR)
• Flutter version 2.10.5 at /usr/local/flutter
• Upstream repository https://github.com/flutter/flutter.git
• Framework revision 5464c5bac7 (12 months ago), 2022-04-18 09:55:37 -0700
• Engine revision 57d3bac3dd
• Dart version 2.16.2
• DevTools version 2.9.2
[✓] Android toolchain - develop for Android devices (Android SDK version 32.1.0-rc1)
• Android SDK at /Users/alcemirsantos/Library/Android/sdk
• Platform android-32, build-tools 32.1.0-rc1
• Java binary at: /Applications/Android Studio.app/Contents/jre/Contents/Home/bin/java
• Java version OpenJDK Runtime Environment (build 11.0.12+0-b1504.28-7817840)
• All Android licenses accepted.
[✗] Xcode - develop for iOS and macOS
✗ Xcode installation is incomplete; a full installation is necessary for iOS development.
Download at: https://developer.apple.com/xcode/download/
Or install Xcode via the App Store.
Once installed, run:
sudo xcode-select --switch /Applications/Xcode.app/Contents/Developer
sudo xcodebuild -runFirstLaunch
✗ CocoaPods not installed.
CocoaPods is used to retrieve the iOS and macOS platform side's plugin code that responds to your plugin usage on the Dart side.
Without CocoaPods, plugins will not work on iOS or macOS.
For more info, see https://flutter.dev/platform-plugins
To install see https://guides.cocoapods.org/using/getting-started.html#installation for instructions.
[✓] Chrome - develop for the web
• Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome
[✓] HTTP Host Availability
• All required HTTP hosts are available
! Doctor found issues in 1 category.
I noticed this code was recently added (#1273) to fix something else in Flutter 3.7. How can I address the issue? Is there a minimum requirement for Flutter?
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
Hi everyone, I am trying to run the example project in my smartphone. Although the build passed through the tokens verifications it fails later with the following message:
flutter doctor -v
output:I noticed this code was recently added (#1273) to fix something else in Flutter 3.7. How can I address the issue? Is there a minimum requirement for Flutter?