ios simulator open book crash
iOS
Crash - Fatal error: Unexpectedly found nil while unwrapping an Optional value: file /Users/menglingyu/development/flutter/.pub-cache/hosted/pub.flutter-io.cn/epub_viewer-0.1.9/ios/Classes/SwiftEpubKittyPlugin.swift, line 79
flutter doctor
Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel stable, 1.20.4, on Mac OS X 10.15.1 19B88, locale zh-Hans-CN)
[✗] Android toolchain - develop for Android devices
✗ Unable to locate Android SDK.
Install Android Studio from: https://developer.android.com/studio/index.html
On first launch it will assist you in installing the Android SDK components.
(or visit https://flutter.dev/docs/get-started/install/macos#android-setup for detailed instructions).
If the Android SDK has been installed to a custom location, set ANDROID_SDK_ROOT to that location.
You may also want to add it to your PATH environment variable.
[✓] Xcode - develop for iOS and macOS (Xcode 11.3.1)
[!] Android Studio (not installed)
[✓] VS Code (version 1.52.0)
ios simulator open book crash iOS Crash - Fatal error: Unexpectedly found nil while unwrapping an Optional value: file /Users/menglingyu/development/flutter/.pub-cache/hosted/pub.flutter-io.cn/epub_viewer-0.1.9/ios/Classes/SwiftEpubKittyPlugin.swift, line 79
pubspec.yaml ... version: 1.0.0+1
environment: sdk: ">=2.7.0 <3.0.0" ... epub_viewer: dependency: "direct main" description: name: epub_viewer url: "https://pub.flutter-io.cn" source: hosted version: "0.1.9"
flutter doctor Doctor summary (to see all details, run flutter doctor -v): [✓] Flutter (Channel stable, 1.20.4, on Mac OS X 10.15.1 19B88, locale zh-Hans-CN) [✗] Android toolchain - develop for Android devices ✗ Unable to locate Android SDK. Install Android Studio from: https://developer.android.com/studio/index.html On first launch it will assist you in installing the Android SDK components. (or visit https://flutter.dev/docs/get-started/install/macos#android-setup for detailed instructions). If the Android SDK has been installed to a custom location, set ANDROID_SDK_ROOT to that location. You may also want to add it to your PATH environment variable.
[✓] Xcode - develop for iOS and macOS (Xcode 11.3.1) [!] Android Studio (not installed) [✓] VS Code (version 1.52.0)
[✓] Connected device (1 available)
! Doctor found issues in 2 categories.