美文网首页
flutter初体验

flutter初体验

作者: 朝西的生活 | 来源:发表于2019-04-06 21:19 被阅读0次

安装

笔者环境是ubuntu 16.64 X64, 机器上已经搭建好安卓环境, 整个过程安装比较顺利

  • 安装安卓环境
  • flutter 运行环境
  1. 下载 flutter SDK,
  2. 新建flutter目录并解压sdk到目录
mkdir -p /opt/flutter && cd /opt/flutter
tar xf ~/Downloads/flutter_linux_v1.0.0-stable.tar.xz
  1. 将flutter环境变量加入到zshrc/bashrc中
vi ~/.zshrc
export PATH=$PATH:/opt/flutter/flutter/bin
source ~/.zshrc
  1. 运行flutter诊断
flutter doctor

optouts:

➜  ~ flutter doctor
Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel stable, v1.0.0, on Linux, locale en_US.UTF-8)
[✓] Android toolchain - develop for Android devices (Android SDK 28.0.0)
[✓] Android Studio (version 3.1)
    ✗ Flutter plugin not installed; this adds Flutter specific functionality.
    ✗ Dart plugin not installed; this adds Dart specific functionality.
[!] VS Code (version 1.29.1)
[✓] Connected device (1 available)

! Doctor found issues in 1 category.

  • 编辑器
    笔者用的VS Code, 需要安装flutterdart两个插件(安装flutter会自动安装dart)
    参考:flutter官网

相关文章

  • Flutter环境搭建

    谷歌Flutter官方网站Flutter中文网Flutter社区中文资源Flutter初体验(一)——Mac 安装...

  • Flutter-从入门到项目 03: Flutter初体验

    Flutter-从入门到项目 03: Flutter初体验 Flutter 专题目录直通车: [https://w...

  • Flutter系列(2)Dart语言基础

    Flutter的开发语言是Dart语言的,这篇文章就说说Dart语言基础 一、Dart 初体验 在flutter项...

  • Flutter 安装之初体验

    Flutter 安装之初体验 Flutter 是 Google 开源的 UI 工具包,帮助开发者通过一套代码库高效...

  • flutter开发体验总结

    flutter开发初体验 flutter目前最火的混合开发技术,作为苦逼的移动开发人员了解下总是没有错的,针对最近...

  • Flutter初体验

    一.关于Flutter Flutter是谷歌的移动UI框架,可以快速在iOS和Android上构建高质量的原生用户...

  • Flutter 初体验

    一、flutter介绍 flutter关联词 flutter诞生: 工具:Android Studio和xcode...

  • Flutter初体验

    一、环境搭建 1.window安装flutter,本人是Android开发,确保自己电脑以及安装过jdk以及sdk...

  • Flutter初体验

    Flutter 和 React-native 一样,用于开发移动端app,在开源中国上看到这个东东,抽个周末接触一...

  • Flutter初体验

    记录遇到的问题 1.error: Building for iOS Simulator, but the link...

网友评论

      本文标题:flutter初体验

      本文链接:https://www.haomeiwen.com/subject/ujazcqtx.html