zoukankan      html  css  js  c++  java
  • flutter 安装过程遇到的坑

    Flutter是一个移动应用程序的软件开发工具包(SDK),用一个代码库构建高性能、高保真的iOS和Android应用程序。目标是使开发人员能够为Android和iOS提供自然的高质量的应用,在滚动行为、排版、图标等方面实现零差异。

    学习Flutter不需要Android或iOS的开发经验,因为Flutter程序使用Dart语言编写,如果您使用过Java或JavaScript等语言,轻易就能上手,只要有面向对象语言的经验,即使不是程序员也能开发Flutter应用程序!

    搭建 flutter 开发环境

    因为众所周知的原因,希望你能够翻墙后(自行搭梯子)进行下面的操作。

    官网链接

    要搭建一个 flutter 的开发环境,你需要:

    • 下载 flutter 官方 SDK
    • 安装 JAVA SDK(v1.8.0)
    • 安装 Android studio

    以上下载及安装教程,

    安装过程中的坑

    #sdkmanager is not a commend

    请将你本机的 andriod-SDKandriod oolsin 和 andriod-SDKandriodplatform-tools 写入系统环境变量的 PATH 中。

    #Android license status unknown. #16025

    这是非常多人会遇到的一个 issue,如果你已经按照上面的步骤安装成功,那么请确认你的 JAVA SDK 版本是否高于 v8,如果是,请降级到 1.8.0。

    这是因为 android sdk 不兼容 java 9 及以上版本。

    In general JAXB APIs are considered to be Java EE APIs, and therefore are no longer contained on the default class path in Java SE 9. Java 9 introduces the concepts of modules, and by default the java.se aggregate module is available on the class path (or rather, module path). As the name implies, the java.se aggregate module does not include the Java EE APIs that have been traditionally bundled with Java 6/7/8. Fortunately, these Java EE APIs that were provided in JDK 6/7/8 are still in the JDK, but they just aren't on the class path by default. The extra Java EE APIs are provided in the following modules

    #其他

    在安装过程中,可能第一次安装会失败,请多试几次。

  • 相关阅读:
    Linux随笔 DNS搭建
    总算亲自看见了一个网站被黑后的页面。
    [转]XP如何禁止媒体文件预览
    用Word2007发Blog的配置方法(多图)。
    C#通过http访问olap
    测试Word2007
    用IronPython作为.Net的脚本语言。
    用批处理写的显示磁盘剩余空间的小程序。
    事开机时Num Lock键打开。
    快捷方便的对js文件进行语法检查。
  • 原文地址:https://www.cnblogs.com/fayin/p/10011983.html
Copyright © 2011-2022 走看看