flutter-geocoding
flutter-geocoding copied to clipboard
PlatformException Issue on a Flutter
Please check the following before submitting a new issue.
- [X] I have searched the existing issues.
- [X] I have carefully read the documentation and verified I have added the required platform specific configuration.
Please select affected platform(s)
- [X] Android
- [ ] iOS
Steps to reproduce
Position position = await Geolocator.getCurrentPosition(); List<Placemark> placemarks =await placemarkFromCoordinates(position.latitude, position.longitude);
Expected results
{addressName: dummy address , streetName: dummy Street }
Actual results
PlatformException(IO_ERROR, fail, null, null)
Code sample
Code sample
Position position = await Geolocator.getCurrentPosition(); List<Placemark> placemarks =await placemarkFromCoordinates(position.latitude, position.longitude);
Screenshots or video
Screenshots or video demonstration
[Upload media here]
Version
geocoding 3.0.0
Flutter Doctor output
Doctor output
[√] Flutter (Channel stable, 3.22.0, on Microsoft Windows [Version 10.0.19045.4412], locale en-US) • Flutter version 3.22.0 on channel stable at D:\Omobio\HSADRP_\flutter • Upstream repository https://github.com/flutter/flutter.git • Framework revision 5dcb86f68f (11 days ago), 2024-05-09 07:39:20 -0500 • Engine revision f6344b75dc • Dart version 3.4.0 • DevTools version 2.34.3
[√] Windows Version (Installed version of Windows is version 10 or higher)
[√] Android toolchain - develop for Android devices (Android SDK version 34.0.0) • Android SDK at C:\Users\namal.l\AppData\Local\Android\Sdk • Platform android-34, build-tools 34.0.0 • ANDROID_HOME = C:\Users\namal.l\AppData\Local\Android\Sdk • ANDROID_SDK_ROOT = C:\Users\namal.l\AppData\Local\Android\Sdk • Java binary at: C:\Program Files\Android\Android Studio\jre\bin\java • Java version OpenJDK Runtime Environment (build 11.0.10+0-b96-7249189) • All Android licenses accepted.
[√] Chrome - develop for the web • Chrome at C:\Program Files\Google\Chrome\Application\chrome.exe
[X] Visual Studio - develop Windows apps X Visual Studio not installed; this is necessary to develop Windows apps. Download at https://visualstudio.microsoft.com/downloads/. Please install the "Desktop development with C++" workload, including all of its default components
[√] Android Studio (version 2020.3) • Android Studio at C:\Program Files\Android\Android Studio • Flutter plugin can be installed from: https://plugins.jetbrains.com/plugin/9212-flutter • Dart plugin can be installed from: https://plugins.jetbrains.com/plugin/6351-dart • Java version OpenJDK Runtime Environment (build 11.0.10+0-b96-7249189)
[√] VS Code, 64-bit edition (version 1.82.2) • VS Code at C:\Program Files\Microsoft VS Code • Flutter extension version 3.88.0
[√] Connected device (4 available) • JNY LX2 (mobile) • DKTUT20115000377 • android-arm64 • Android 10 (API 29) • Windows (desktop) • windows • windows-x64 • Microsoft Windows [Version 10.0.19045.4412] • Chrome (web) • chrome • web-javascript • Google Chrome 124.0.6367.208 • Edge (web) • edge • web-javascript • Microsoft Edge 124.0.2478.97
[√] Network resources