首页 技术 正文
技术 2022年11月15日
0 收藏 844 点赞 3,952 浏览 1146 个字

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

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

搭建 flutter 开发环境

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

官网链接

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

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

以上下载及安装教程,

安装过程中的坑

#sdkmanager is not a commend

请将你本机的 andriod-SDK\andriod\tools\bin 和 andriod-SDK\andriod\platform-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

#其他

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

相关推荐
python开发_常用的python模块及安装方法
adodb:我们领导推荐的数据库连接组件bsddb3:BerkeleyDB的连接组件Cheetah-1.0:我比较喜欢这个版本的cheeta…
日期:2022-11-24 点赞:878 阅读:9,501
Educational Codeforces Round 11 C. Hard Process 二分
C. Hard Process题目连接:http://www.codeforces.com/contest/660/problem/CDes…
日期:2022-11-24 点赞:807 阅读:5,915
下载Ubuntn 17.04 内核源代码
zengkefu@server1:/usr/src$ uname -aLinux server1 4.10.0-19-generic #21…
日期:2022-11-24 点赞:569 阅读:6,748
可用Active Desktop Calendar V7.86 注册码序列号
可用Active Desktop Calendar V7.86 注册码序列号Name: www.greendown.cn Code: &nb…
日期:2022-11-24 点赞:733 阅读:6,505
Android调用系统相机、自定义相机、处理大图片
Android调用系统相机和自定义相机实例本博文主要是介绍了android上使用相机进行拍照并显示的两种方式,并且由于涉及到要把拍到的照片显…
日期:2022-11-24 点赞:512 阅读:8,143
Struts的使用
一、Struts2的获取  Struts的官方网站为:http://struts.apache.org/  下载完Struts2的jar包,…
日期:2022-11-24 点赞:671 阅读:5,306