my-blog icon indicating copy to clipboard operation
my-blog copied to clipboard

[Vssue]Flutter-base01

Open shenghy opened this issue 6 years ago • 27 comments

https://jspang.com/posts/2019/01/20/flutter-base.html

shenghy avatar Apr 15 '19 06:04 shenghy

胖胖哥你好,好多图片都裂开了

jiyuwangqi avatar Apr 23 '19 05:04 jiyuwangqi

胖哥 mac系统怎么实现vscode 开启虚拟机;还有用android studio出现网格以及苹果和安卓系统切换

DarranFan avatar Apr 26 '19 12:04 DarranFan

膜拜一下👍👍👍

dllcnx avatar Apr 27 '19 11:04 dllcnx

图片都挂了,只能看视频了

SunOfHomeBoy avatar May 05 '19 03:05 SunOfHomeBoy

我在安装完flutter环境后运行,flutter run 的时候报了个这个错误,胖哥看看是怎么回事那: Error connecting to the service protocol: HttpException: Connection closed before full header was received, uri = http://127.0.0.1:58507/Mlnb5nJVOEI=/ws

zjfcool avatar May 17 '19 07:05 zjfcool

胖哥,求救,我今天刚刚按照你的视频搭建教程,本事就是前端,遇到了 Error connecting to the service protocol: HttpException: Connection closed before full header was received, uri = http://127.0.0.1:63924/UtlsijZOsPU=/ws 完全看不懂啊,想哭

strogt avatar May 17 '19 09:05 strogt

flutter run 错误:Error connecting to the service protocol: HttpException: Connection closed before full header was received, uri = http://127.0.0.1:55542/judVR-318EE=/ws 有谁遇到过吗?我建议翻墙到外国网站,检索一下解决办法.....。我换成iOS的模拟器了,android studio的模拟器的这个问题就不发生了。我的iOS模拟器是XCode开启的.

15128238220 avatar May 19 '19 03:05 15128238220

@strogt

胖哥,求救,我今天刚刚按照你的视频搭建教程,本事就是前端,遇到了 Error connecting to the service protocol: HttpException: Connection closed before full header was received, uri = http://127.0.0.1:63924/UtlsijZOsPU=/ws 完全看不懂啊,想哭

我研究了一下,可能是你的虚拟机安卓版本太高,换个8的试试

impassionate avatar May 22 '19 10:05 impassionate

@15128238220

flutter run 错误:Error connecting to the service protocol: HttpException: Connection closed before full header was received, uri = http://127.0.0.1:55542/judVR-318EE=/ws 有谁遇到过吗?我建议翻墙到外国网站,检索一下解决办法.....。我换成iOS的模拟器了,android studio的模拟器的这个问题就不发生了。我的iOS模拟器是XCode开启的.

安卓的这个问题可能是你的虚拟机系统版本高,9好像会有问题,8没有

impassionate avatar May 22 '19 10:05 impassionate

@strogt

胖哥,求救,我今天刚刚按照你的视频搭建教程,本事就是前端,遇到了 Error connecting to the service protocol: HttpException: Connection closed before full header was received, uri = http://127.0.0.1:63924/UtlsijZOsPU=/ws 完全看不懂啊,想哭 你把那个系统改低一点就好,比如Android 8.1,今天也遇到了,问了别人就是这样解决的

orange-eat-watermelon avatar May 28 '19 09:05 orange-eat-watermelon

给力的一米

yaya2212 avatar May 29 '19 12:05 yaya2212

入群答案不对么。 执行flutter -h时提示no such file or directory。 flutter sdk路径是/Users/xxx/Documents/flutter/bin:$PATH。 请问这是什么问题?

zhaoyx avatar Jun 03 '19 03:06 zhaoyx

我是win7的,安装了flutter,然后双击flutter_console.bat根本打不开,弹框一闪又自动关闭了,cmd运运行flutter -h,说不是内部命令

xu-Aurora avatar Jun 05 '19 02:06 xu-Aurora

console.log("mark")

yokochen222 avatar Jun 13 '19 02:06 yokochen222

胖哥可以出一期mac的环境配置视频吗

hongliping123 avatar Jun 15 '19 09:06 hongliping123

@orange-eat-watermelon

@strogt

胖哥,求救,我今天刚刚按照你的视频搭建教程,本事就是前端,遇到了 Error connecting to the service protocol: HttpException: Connection closed before full header was received, uri = http://127.0.0.1:63924/UtlsijZOsPU=/ws 完全看不懂啊,想哭 你把那个系统改低一点就好,比如Android 8.1,今天也遇到了,问了别人就是这样解决的

我是在-Tools-AVD Manager里,把 Nexus_5X_API_28 从版本29换成28,才好的……搞了几个小时,分享出来让看到的人少走弯路吧

JoannaGong avatar Jun 18 '19 08:06 JoannaGong

Android Studio 插件明明下过了,重启过了,可是doctor的时候还是报错说没下,重新下过几次了,还是这种情况。。。

nanyawei avatar Jun 26 '19 07:06 nanyawei

图片都裂了啊 咋整

ll931230 avatar Jul 02 '19 06:07 ll931230

创建模拟器的时候提示

No system images installed for this target

Hbuilderx avatar Jul 04 '19 09:07 Hbuilderx

@DarranFan

胖哥 mac系统怎么实现vscode 开启虚拟机;还有用android studio出现网格以及苹果和安卓系统切换

给你两个链接:

  1. https://developer.android.com/studio/run/emulator-commandline
  2. https://www.telerik.com/blogs/launch-android-emulators-ios-simulators-command-line

lexgooo avatar Jul 06 '19 05:07 lexgooo

作为Helloworld 程序,是不是把整体原理讲一讲

  • 工程目录结构,比如工程里的ios android module有什么用,干啥的,其他yaml文件干啥的
  • 入口函数
  • 整个流程
  • 内部原理简述

keyescgm avatar Jul 18 '19 07:07 keyescgm

关于虚拟机,百度能找到的只有夜神,和雷电,当然AS.VS上也有自己的虚拟机,开发可以使用,版本测试的话建议使用雷电,亲测有用

在 2019-08-02 15:08:22,"elaine" [email protected] 写道:

胖哥~还有各位大神,小女子第一次按照视频一路边看边搭建下来,到bat文件C:\Users\Administrator\AppData\Local\Android\Sdk\emulator\emulator.exe -netdelay none -netspeed full -avd Nexus_5X_API_28,替换成自己的 D:\AndroidSDK\emulator\emulator.exe -netdelay none -netspeed full -avd Nexus_5X_API_29, 双击模拟器起不起来,会是什么原因?跪求帮助~~

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub, or mute the thread.

strogt avatar Aug 08 '19 08:08 strogt

vscode装了 dart后耗内存,怎么破?

slj20 avatar Sep 02 '19 03:09 slj20

flutter run不成功,报了下面错误,怎么解决啊?我百度了一下,把那些链接改为阿里链接,但是没有效果。

  • Error running Gradle: ProcessException: Process "C:\Users\12555\Desktop\cai\android\gradlew.bat" exited abnormally:

FAILURE: Build failed with an exception.

  • Where: Build file 'C:\Users\12555\Desktop\cai\android\build.gradle' line: 12

  • What went wrong: A problem occurred evaluating root project 'android'.

Could not get unknown property 'flutter' for DefaultExternalModuleDependency{group='com.android.tools.build', name='gradle', version='3.2.1', configuration='default'} of type org.gradle.api.internal.artifacts.dependencies.DefaultExternalModuleDependency.

  • Try: Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.

  • Get more help at https://help.gradle.org

BUILD FAILED in 2s Command: C:\Users\12555\Desktop\cai\android\gradlew.bat app:properties

Please review your Gradle project setup in the android/ folder.

AzureCLM avatar Sep 16 '19 10:09 AzureCLM

[√] Flutter (Channel beta, v1.9.1+hotfix.4, on Microsoft Windows [Version 10.0.18362.356], locale zh-CN)

[√] Android toolchain - develop for Android devices (Android SDK version 28.0.3) [√] Android Studio (version 3.1) [!] IntelliJ IDEA Ultimate Edition (version 2018.2) X Flutter plugin not installed; this adds Flutter specific functionality. X Dart plugin not installed; this adds Dart specific functionality. [!] Connected device ! No devices available

! Doctor found issues in 2 categories.

胖哥,我这个错误怎么回事,一直找不到解决方法

zll000 avatar Oct 01 '19 11:10 zll000

vscode开发flutter没有代码语法提示啊,有安装flutter和dart插件,也有重启编辑器,就是敲代码时任何提示都没有,只能一个个字母敲,有什么解决的办法嘛?

xu-Aurora avatar Nov 06 '19 01:11 xu-Aurora

胖哥 运行flutter run 报错 No connected devices. 是什么原因呀

jinpanpan-github avatar Nov 09 '19 13:11 jinpanpan-github