Closed vitulgoyani closed 2 years ago
Could you provide the output of flutter pub get
from your project, the output of flutter doctor -v
and a copy of your pubspec.yaml
[✓] Flutter (Channel stable, 2.10.5, on macOS 11.6 20G165 darwin-x64, locale en-GB) • Flutter version 2.10.5 at /Users/vitul/Documents/Software/flutter • Upstream repository https://github.com/flutter/flutter.git • Framework revision 5464c5bac7 (3 weeks 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 30.0.3) • Android SDK at /Users/vitul/Library/Android/sdk • Platform android-32, build-tools 30.0.3 • Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java • Java version OpenJDK Runtime Environment (build 11.0.8+10-b944.6916264) • All Android licenses accepted.
[✓] Xcode - develop for iOS and macOS (Xcode 13.0) • Xcode at /Applications/Xcode.app/Contents/Developer • CocoaPods version 1.11.3
[✓] Chrome - develop for the web • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome
[✓] Android Studio (version 4.2) • Android Studio at /Applications/Android Studio.app/Contents • 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.8+10-b944.6916264)
[✓] VS Code (version 1.66.2) • VS Code at /Applications/Visual Studio Code.app/Contents • Flutter extension version 3.38.1
[✓] Connected device (3 available) • iPhone 8 (mobile) • C165026F-5E97-4421-B917-2B3441358221 • ios • com.apple.CoreSimulator.SimRuntime.iOS-12-4 (simulator) • macOS (desktop) • macos • darwin-x64 • macOS 11.6 20G165 darwin-x64 • Chrome (web) • chrome • web-javascript • Google Chrome 101.0.4951.54
[✓] HTTP Host Availability • All required HTTP hosts are available
• No issues found!
environment: sdk: ">=2.12.0 <3.0.0"
dependencies: flutter: sdk: flutter page_view_indicators: ^2.0.0 auto_size_text: ^2.1.0 url_launcher: ^6.0.8 webview_flutter: ^3.0.1 shared_preferences: ^2.0.6 dio: ^4.0.0 cached_network_image: ^3.0.0 flutter_cached_pdfview: asset_webview: ^0.0.5
Sorry, I'm not sure what the issue is. It works fine for me, so perhaps there is something specific to your project.
You may want to check the indentation of your pubspec.yaml
Where are you running the command? Are you running it from your own project? If you could provide an example that would be helpful. e.g. if you put a sample project that reproduces the error on github I'll be able to take a look.
Closing due to lack of repeatable steps to reproduce the issue. Feel free to provide more information.
i make build using "flutter build ios --release" and it is show me error
fatal error: module 'asset_webview' not found @import asset_webview;