I have created a project by flutter create myresume command and run on chrome. It's working fine(both release and debug mode). But when I host it (use this command flutter build web --release) to my shared-server then it's content has broken, text is showing like box.
Expected results:
Actual results:
Logs
my flutter analyze output here
Analyzing myresume...
No issues found! (ran in 1.7s)
my flutter doctor -v output here
[✓] Flutter (Channel stable, 2.2.1, on macOS 11.4 20F71 darwin-x64, locale en-BD)
• Flutter version 2.2.1 at /usr/local/Caskroom/flutter/2.0.2/flutter
• Framework revision 02c026b03c (9 days ago), 2021-05-27 12:24:44 -0700
• Engine revision 0fdb562ac8
• Dart version 2.13.1
[✓] Android toolchain - develop for Android devices (Android SDK version 30.0.2)
• Android SDK at /Users/abir/Library/Android/sdk
• Platform android-30, build-tools 30.0.2
• 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 at /Applications/Xcode.app/Contents/Developer
• Xcode 12.5, Build version 12E262
• CocoaPods version 1.10.1
[✓] 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.56.2)
• VS Code at /Applications/Visual Studio Code.app/Contents
• Flutter extension version 3.23.0
[✓] Connected device (1 available)
• Chrome (web) • chrome • web-javascript • Google Chrome 89.0.4389.114
! Error: Abir’s iPad is not connected. Xcode will continue when Abir’s iPad is connected. (code -13)
• No issues found!
I din't modify any code. Just create project and upload. Where is the problem ? How can I fix this ?


Aucun commentaire:
Enregistrer un commentaire