当前位置:网站首页>novel research
novel research
2022-08-09 12:21:00 【Leibniz infinity sml】
links
flutter
flutter2.8.1 windows环境搭建
flutter 2.8.1 for window10 环境搭建
set JAVA_HOME=d:\jdk1.8.0_111
set PATH=%JAVA_HOME%\bin;%PATH%
set PATH=F:\flutter_windows_2.8.1-stable\flutter\bin;%PATH%
set ANDROID_HOME=C:\Users\z\AppData\Local\Android\Sdk
set PATH=%PATH%;%ANDROID_HOME%\tools
set PATH=%PATH%;%ANDROID_HOME%\platform-tools\
set PUB_HOSTED_URL=https://pub.flutter-io.cn
set FLUTTER_STORAGE_BASE_URL=https://storage.flutter-io.cn
#尝试运行:以验证环境是否正常
#flutter doctor
%ANDROID_HOME%\tools\bin\sdkmanager.bat --install "cmdline-tools;latest"
flutter doctor --android-licenses
android sdk安装本项目所用的 api level 28
国内仓库加速 android/build.gradle
buildscript {
//...
//国内仓库加速
repositories {
maven{
url 'https://maven.aliyun.com/repository/google'}
maven{
url 'https://maven.aliyun.com/repository/jcenter'}
#google()
#jcenter()
}
//...
}
allprojects {
repositories {
//国内仓库加速
maven{
url 'https://maven.aliyun.com/repository/google'}
maven{
url 'https://maven.aliyun.com/repository/jcenter'}
#google()
#jcenter()
}
}
//...
flutter 运行app
#插上android手机, 打开调试模式
flutter devices
#应该有显示到该手机
git clone https://github.com/lwlizhe/flutter_novel.git
cd flutter_novel
git checkout dev_2.0
flutter run
#在手机上正常安装apk 并运行
边栏推荐
- Common gadgets of Shell (sort, uniq, tr, cut)
- About the handling of variable parameters in the Retrofit network request URL
- WebView injects Js code to realize large image adaptive screen click image preview details
- 位图与位运算
- 荣耀携手Blue Yonder,加快企业战略增长
- MySQL5.6到8.0的账号迁移
- 基于CAP组件实现补偿事务与幂等性保障
- 链表噩梦之一?5000多字带你弄清它的来龙去脉
- 8、IDEA提交代码出现: Fetch failed fatal: Could not read from remote repository
- 曼城推出可检测情绪的智能围巾,把球迷给整迷惑了
猜你喜欢
8、IDEA提交代码出现: Fetch failed fatal: Could not read from remote repository
Common gadgets of Shell (sort, uniq, tr, cut)
在北极都可以穿短袖了,温度飙升至32.5℃
箭头函数和普通函数的常见区别
【HCIP持续更新】IS-IS协议原理与配置
Flutter Getting Started and Advanced Tour (3) Text Widgets
西湖大学教授怎么看AI制药革命?|量子位智库圆桌实录
Flutter入门进阶之旅(五)Image Widget
世界第4疯狂的科学家,在103岁生日那天去世了
用 API Factory 产品生成 API 文档
随机推荐
Introduction to Flutter advanced trip Dialog&Toast (10)
Intranet penetration tool ngrok usage tutorial
ERP不规范,同事两行泪 (转载非原创)
MongoDB-查询中$all的用法介绍
AQS同步组件-FutureTask解析和用例
李开复花上千万投的缝纫机器人,团队出自大疆
大佬们,请教一下,我看官方文档中,sqlserver cdc只支持2012版之后的,对于sqlser
微服务架构的核心关键点
用 API Factory 产品生成 API 文档
K个结点的组内逆序调整
Go Affair, How to Become a Gopher and Find a Go Job in 7 Days, Part 1
系统提供的堆 VS 手动改写堆
[Microservice ~ Remote Call] Integrate RestTemplate, WebClient, Feign
The grep command Shell regular expressions, the three musketeers
Go-based web access parameters
使用RecyclerView实现三级折叠列表
数据挖掘-06
ABAP interview questions: how to use the System CALL interface of the ABAP programming language, direct execution ABAP server operating System's shell command?
900页数学论文证明旋转的黑洞不会爆炸,丘成桐:30多年来广义相对论首次重大突破...
报告:想学AI的学生数量已涨200%,老师都不够用了