-
Notifications
You must be signed in to change notification settings - Fork 134
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
builtin_types_conversion.dart "Method not found errors" #67
Comments
Yes, I'm also getting the same issue from yesterday. |
I tried the same in the previous flutter version 1.22.x and it worked. |
Hi! Thanks for your help! Thanks! @revrkk |
@emilyjonesr Can you run The minimum supported Flutter version is still 1.20.0, so actually, it should not be needed to use a newer version - although it should also work. Internally, we tested that the examples build fine with Flutter 1.20 and Dart 2.9.2 - as well as Flutter 1.22 and Dart 2.10.4. We always recommend to use the Dart version that is bundled with Flutter. |
@datasun Hi, yes here it is Thank you for your help. |
Thanks! @revrkk - The Dart version you use (2.10.4) is not matching your Flutter version (1.22.5), could you try to downgrade or upgrade? PS: We also added version pinning of the "ffi" dependency inside the HERE SDK's Flutter plugin. Hopefully, this can prevent such issues in the future. This should be available with the next release. |
@datasun Am having exact same issue - same 'method not found' etc. Have followed your suggestions and here is my flutter/ dart versions etc - any help is greatly appreciated |
@alexl246 You are using the preview / beta Flutter channel. Officially, we only support the stable channel, and also, only the minimum required version as listed in the user guide. However, with HERE SDK v4.6.5.0 also newer versions may work, as we made a fix to the ffi dependency. For now, either wait for the next HERE SDK release, or downgrade to the minimum supported Flutter version. |
Hi, For example, by using the open_file pluggin I've get this report while doing pub get:
So I guess the only way to fix this is updating (I'm using Flutter 2.0.2 stable channel.) |
@sajunt4 Thanks for reporting. We will look into this. Meanwhile, what exactly you mean by the dependency version mismatch? Can you maybe share the results you get from |
@datasun My flutter doctor: [√] Android toolchain - develop for Android devices (Android SDK version 30.0.3) [√] Chrome - develop for the web [√] Android Studio (version 4.1.0) [√] VS Code (version 1.54.3) [√] Connected device (3 available) • No issues found!` |
@sajunt4 Ok, thanks! Yes, basically, the HERE SDK uses FFI 0.1.3 (as it's indicated in the pubspec.yaml you can see in the plugin). Unfortunately, that means that the SDK is not compatible with plugins that already use FFI 1.0 We plan to upgrade to FFI 1.0 with one of the next releases. If there is a way to make a plugin compatible with different FFI versions, we could think about a solution, but apparently it seems that this is not possible - so, this problem is not only valid for the HERE SDK plugin. |
Hey @datasun , With Firebase having changed so much, it has become irreplaceable for our app that is already in Production. A new feature requires a basic Map to be shown to the user and we looked at Here SDK for that. It seems a lot of people are encountering this issue as well. Do you think it would be possible in near future to upgrade to using ffi 1.0.0? |
@sysquo-aditya Yes, we can confirm that FFI 1 support will come with the HERE SDK 4.8 release, which is supposed to be released in about four weeks. |
Hello!
I have been following the Get Started for HERE SDK for Flutter following the steps here: https://developer.here.com/documentation/flutter-sdk-explore/4.6.3.0/dev_guide/topics/quick-start.html#create-a-new-flutter-project-and-show-a-here-map
I have followed all of the steps, very carefully, multiple times, and while running on iOS simulator, after the Xcode build is done, I get the following errors from the builtin_types_conversion.dart file.
![Screen Shot 2021-03-08 at 2 51 29 PM](https://user-images.githubusercontent.com/58923694/110373735-d4f27b00-801d-11eb-8b41-786d73f1059f.png)
There are more but they all say the same "Method not found".
At the top of the builtin_types_conversion.dart file, it doesn't seem to recognize "intl" in the line: "import 'package:intl/locale.dart';"
I haven't touched the builtin_types_conversion.dart file and my pubspec.yaml file inside the here_sdk folder looks like this:
![Screen Shot 2021-03-08 at 3 04 26 PM](https://user-images.githubusercontent.com/58923694/110375232-b2f9f800-801f-11eb-8248-70f46980a02c.png)
The intl line under dependencies was originally just "intl:" when the problem started. I tried changing it to "intl: ^0.17.0" both with and without quotations and then running pub get, but that didn't work.
If you have any ideas on how to solve this or have any more insight into the problem, please let me know! Thanks!
The text was updated successfully, but these errors were encountered: