FlutterEbookApp
FlutterEbookApp copied to clipboard
Can't run this app first time
Target of URI doesn't exist: 'package:flutter/material.dart'. Try creating the file referenced by the URI, or Try using a URI for a file that does exist.
Try to run flutter analyze
in the project root or flutter doctor
same question , run flutter analyze :
zhuangwendadeMacBook-Pro:FlutterEbookApp-master nonacosa$ flutter analyze
Because flutter_ebook_app depends on iridium_reader_widget from path which doesn't exist (could not find package iridium_reader_widget at "../iridium/reader_widget"), version solving failed.
Running "flutter pub get" in FlutterEbookApp-master...
pub get failed (66; Because flutter_ebook_app depends on iridium_reader_widget from path which doesn't exist (could not find package iridium_reader_widget at "../iridium/reader_widget"), version solving
failed.)
zhuangwendadeMacBook-Pro:FlutterEbookApp-master nonacosa$
https://codemagic.io/app/5e230defc5faa60315b1df62/build/628c24a623ff14297e053991
same question , run flutter analyze :
zhuangwendadeMacBook-Pro:FlutterEbookApp-master nonacosa$ flutter analyze Because flutter_ebook_app depends on iridium_reader_widget from path which doesn't exist (could not find package iridium_reader_widget at "../iridium/reader_widget"), version solving failed. Running "flutter pub get" in FlutterEbookApp-master... pub get failed (66; Because flutter_ebook_app depends on iridium_reader_widget from path which doesn't exist (could not find package iridium_reader_widget at "../iridium/reader_widget"), version solving failed.) zhuangwendadeMacBook-Pro:FlutterEbookApp-master nonacosa$
I solve the issue by going to the pubspec.yaml file on line 40 and change path: ../iridium/reader_widget to path: ../iridium/reader_widget
hope it helps
This is fixed now https://github.com/JideGuru/FlutterEbookApp/commit/9d5235d34bc6031a45577b2cd55cbfef322aef0a