当前位置:网站首页>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 并运行
边栏推荐
猜你喜欢

Here comes the question: Can I successfully apply for 8G memory on a machine with 4GB physical memory?

00后写个暑假作业,被监控成这笔样

ABAP 面试题:如何使用 ABAP 编程语言的 System CALL 接口,直接执行 ABAP 服务器所在操作系统的 shell 命令?

Scala Advanced (7): Collection Content Summary (Part 1)

告别手摇织布机的AI时代

苹果Meta都在冲的Pancake技术,中国VR团队YVR竟抢先交出产品答卷

金融业“限薪令”出台/ 软银出售过半阿里持仓/ DeepMind新实验室成立... 今日更多新鲜事在此...

曼城推出可检测情绪的智能围巾,把球迷给整迷惑了

How to upload local file trial version in binary mode in ABAP report

脱光衣服待着就能减肥,当真有这好事?
随机推荐
Here comes the question: Can I successfully apply for 8G memory on a machine with 4GB physical memory?
Reading and writing after separation, performance were up 100%
#物联网征文#小熊派设备开发实战
腾讯发布第二代四足机器人Max,梅花桩上完成跳跃、空翻
在北极都可以穿短袖了,温度飙升至32.5℃
一甲子,正青春,CCF创建六十周年庆典在苏州举行
超越CLIP的多模态模型,只需不到1%的训练数据!南加大最新研究来了
Fragment中嵌套ViewPager数据空白页异常问题分析
ansible-cmdb友好展示ansible收集主机信息
Resolved IndentationError: unindent does not match any oute r indentation Level
MySQL 原理与优化,Group By 优化 技巧
保存Simulink仿真模型为图片或者PDF的方法
Flutter入门进阶之旅(十)Dialog&Toast
Compensation transaction and idempotency guarantee based on CAP components
Adalvo acquires its first branded product, Onsolis
中科院打脸谷歌:普通电脑追上量子优越性,几小时搞定原本要一万年的计算...
Rust从入门到精通04-数据类型
AQS同步组件-FutureTask解析和用例
ViewPager fragments of nested data blank page abnormal problem analysis
ABAP 报表中如何以二进制方式上传本地文件试读版
