MacOS Catalina上的颤振安装

2024-03-03 09:59
文章标签 安装 macos catalina 颤振

本文主要是介绍MacOS Catalina上的颤振安装,希望对大家解决编程问题提供一定的参考价值,需要的开发者们随着小编来一起学习吧!

System Requirements:Operating Systems: macOS (64-bit)Disk Space: 2.8 GB (does not include disk space for IDE/tools).Tools: bash, curl, git 2.x, mkdir, rm, unzip, which, zip

系统需求:作业系统:macOS(64位元)磁碟空间:2.8 GB(不包含IDE /工具的磁碟空间)工具:bash,curl,git 2.x,mkdir,rm,解压缩,其中,zip

download Flutter from https://flutter.dev/docs/get-started/install/macos

从https://flutter.dev/docs/get-started/install/macos下载Flutter

Image for post
https://flutter.dev/docs/get-started/install/macos https://flutter.dev/docs/get-started/install/macos
Image for post
download flutter
下载扑

Unzip the folder

解压缩文件夹

for the following steps please turn on the path bar ( finder->view-> show path bar/ option+ cmd+p)

对于以下步骤,请打开路径栏(finder-> view-> show path bar / option + cmd + p )

Image for post
double click on the zip file to unzip
双击压缩文件以解压缩

go to Users/YourUsername and create a new folder called “Dev” for example

转到Users / YourUsername并创建一个名为“ Dev”的新文件夹

Image for post

copy the unzipped Flutter folder to the new “Dev” folder

将解压缩的Flutter文件夹复制到新的“ Dev”文件夹

Image for post

open Spotlight (cmd+ spacebar) and search “terminal”,click enter to open it

打开Spotlight( cmd +空格键 )并搜索“终端”,单击Enter将其打开

Image for post

open the terminal and go to the preferences cmd+ ,change Shells open with to /bin/zshI use the Homebrew profile, to have a better contrast

打开终端并转到首选项cmd +,将Shells open with更改为/ bin / zsh我使用Homebrew配置文件,以获得更好的对比度

Image for post
hit enter
点击进入

open the terminal, type: vim~/ .zshrc (enter)

打开终端,输入: vim〜/ .zshrc(输入)

Image for post

open the flutter website, and copy the following line: export PATH=”$PATH[PATH_TO_FLUTTER_GIT_DIRECTORY]/flutter/bin”

打开flutter网站,然后复制以下行: export PATH =“ $ PATH [PATH_TO_FLUTTER_GIT_DIRECTORY] / flutter / bin”

Image for post

Open the terminal window and type “i” to edit and insert a new linedelete everything in […..] -> export PATH=”$PATH: …/flutter/bin

打开终端窗口,输入“ i”以编辑并插入新行,删除[…..]-> export PATH =“ $ PATH:…/ flutter / bin ”中的所有内容

Image for post

we have extracted the flutter folder into the Users/Username/Dev folder beforenow open the terminal and point to the flutter/bin folder -> $Home/Dev/flutter/bin

我们先将flutter文件夹解压缩到Users / Username / Dev文件夹中,然后再打开终端并指向flutter / bin文件夹-> $ Home / Dev / flutter / bin

Image for post

hit the Esc key, and type: wq!

Esc键 ,然后键入:wq!

Image for post

close the current terminal window, and create a new one (cmd+n)run flutter — version, to check if flutter is installed

关闭当前的终端窗口,并创建一个新的( cmd + n )运行flutter — version ,以检查是否已安装flutter

Image for post
Image for post

now download Android Studio from https://developer.android.com/studio and install the dmg

现在从https://developer.android.com/studio下载Android Studio并安装dmg

Image for post
Image for post

now run Android Studio ( standard setup)

现在运行Android Studio(标准设置)

Image for post

after installation, click on the configure button and open the Preferences

安装后,单击配置按钮并打开首选项

Image for post

Go to Plugins and install the Flutter Plugin

转到插件并安装Flutter插件

Image for post

I changed the font size (Font) so that the code will be more readable and also the theme to Darcula

我更改了字体大小( Font ),以使代码更具可读性,并且使Darcula的主题更清晰

Image for post

IMPORTANT STEP:Go to System Settings-> Android SDK -> SDK Tools and UNCHECK “HIDE OBSOLETE PACKAGES”Install the Android SDK Tools (Obsolete)

重要步骤:转到系统设置-> Android SDK-> SDK工具,然后取消选中“隐藏过时的软件包”安装Android SDK工具(已淘汰)

Image for post

restart Android Studio and start new Flutter project

重新启动Android Studio并启动新的Flutter项目

Image for post

choose Flutter Application

选择Flutter应用程序

Image for post

check if the Flutter SDK path is correct

检查Flutter SDK路径是否正确

Image for post
Image for post

click on finish and run the AVD Manager -> Tools/AVD Manager

单击完成并运行AVD Manager->工具/ AVD Manager

Image for post

Create a new device

创建一个新设备

Image for post
Image for post

Select an Android Version and download it

选择一个Android版本并下载

Image for post
Image for post

Run your virtual device with the triangle button under Actions

使用“操作”下的三角形按钮运行虚拟设备

Image for post

good job! we are done with the android part, go to Android Studio and run the program (^R)

做得好! 我们已经完成了android部分,转到Android Studio并运行程序(^ R)

Image for post
Image for post

Install Xcode and run it afterwards at least one time ( Appstore)

安装Xcode并随后至少运行一次(Appstore)

Image for post

create a new terminal and insert following lines:sudo xcode-select — switch/Applications/Xcode.app/Contents/Developer sudo xcodebuild -runFirstLaunch

创建一个新终端并插入以下行: sudo xcode-select —开关/Applications/Xcode.app/Contents/Developer sudo xcodebuild -runFirstLaunch

Image for post

you might need to install cocoapods: $ sudo gem install cocoapods

您可能需要安装cocoapods: $ sudo gem install cocoapods

Image for post

open the ios simulator with the terminal, type :open -a Simulator

使用终端打开ios模拟器,输入:open -a Simulator

Image for post

run the simulator and start the application in Android Studio

运行模拟器并在Android Studio中启动应用程序

Image for post

if you want you can install Flutter in VSCode

如果您愿意,可以在VSCode中安装Flutter

Image for post

now open the terminal and run flutter doctor -v to if everything works fine

现在打开终端并运行flutter doctor -v到一切正常

Image for post

故障排除 (Trouble shooting)

  • you might need to accept the android licenses :

    您可能需要接受android许可证:

    you might need to accept the android licenses : flutter doctor — android-licenses

    您可能需要接受android许可证: flutter doctor — android-licenses

Image for post

谢谢阅读, (Thanks for reading,)

https://github.com/congnguyendinh0

https://github.com/congnguyendinh0

https://www.linkedin.com/in/congnguyendinh0/

https://www.linkedin.com/in/congnguyendinh0/

翻译自: https://medium.com/swlh/flutter-installation-on-macos-catalina-dfcbbbec09c9

原文地址:https://blog.csdn.net/weixin_26727575/article/details/108497369
http://www.taodudu.cc/news/show-8479342.html

相关文章:

  • 颤振稳定性叶瓣图_使用块阵模式进行颤振场验证
  • 机械工程学报-封面研究-基于自适应变分模态分解与功率谱熵差的机器人铣削加工颤振类型辨识
  • 颤振稳定性叶瓣图_在屏幕之间导航—颤振
  • 使用人工智能自动测试颤振应用程序
  • 颤振稳定性叶瓣图_颤振异步redux graphql
  • matlab动力学共振颤振研究
  • 颤振稳定性叶瓣图_颤振主题系统
  • 颤振稳定性叶瓣图_颤振性能优化
  • 双路颤振频率Hz可设置比例阀放大器
  • 深度聚类paper汇总
  • paperwithcode
  • AAAI2021 accepted paper list
  • 使用Tex 撰写paper-TexStudio设置默认字体样式大小等
  • Raphael学习之Paper常用API(四)
  • 如何写paper
  • Paper:txyz_ai(一款帮助科研人员阅读PDF论文ChatGPT利器)的简介、安装、使用方法之详细攻略
  • 抑郁症康复日记
  • 计算机抑郁症与干涉相关的,抑郁症
  • matlab 自带的数据集fisheriris
  • 【文末福利】为什么我们要掌握Linux系统编程?
  • 什么是TCP的混合型自时钟
  • 炮打洋鬼子创作总结
  • oracle 过滤字段中的中文,不再洋不洋土不土
  • field list什么意思_闲话Python之range()到底是个什么玩意儿
  • AI全栈大模型工程师(二十二)什么是模型训练
  • 什么是mysql锁_简单理解MySQL锁
  • 什么是MAS : 一种目标管理工具和方法
  • 什么是接口API
  • python函数一般不能_Python程序中对一个函数的调用不能出现在该函数的定义之前...
  • 打字练习软件 Type Fu mac中文版技能介绍
  • 这篇关于MacOS Catalina上的颤振安装的文章就介绍到这儿,希望我们推荐的文章对编程师们有所帮助!


    原文地址:https://blog.csdn.net/weixin_26727575/article/details/108497369
    本文来自互联网用户投稿,该文观点仅代表作者本人,不代表本站立场。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如若转载,请注明出处:http://www.chinasem.cn/article/769267

    相关文章

    JAVA中安装多个JDK的方法

    《JAVA中安装多个JDK的方法》文章介绍了在Windows系统上安装多个JDK版本的方法,包括下载、安装路径修改、环境变量配置(JAVA_HOME和Path),并说明如何通过调整JAVA_HOME在... 首先去oracle官网下载好两个版本不同的jdk(需要登录Oracle账号,没有可以免费注册)下载完

    Java JDK1.8 安装和环境配置教程详解

    《JavaJDK1.8安装和环境配置教程详解》文章简要介绍了JDK1.8的安装流程,包括官网下载对应系统版本、安装时选择非系统盘路径、配置JAVA_HOME、CLASSPATH和Path环境变量,... 目录1.下载JDK2.安装JDK3.配置环境变量4.检验JDK官网下载地址:Java Downloads

    SQL server数据库如何下载和安装

    《SQLserver数据库如何下载和安装》本文指导如何下载安装SQLServer2022评估版及SSMS工具,涵盖安装配置、连接字符串设置、C#连接数据库方法和安全注意事项,如混合验证、参数化查... 目录第一步:打开官网下载对应文件第二步:程序安装配置第三部:安装工具SQL Server Manageme

    Python中win32包的安装及常见用途介绍

    《Python中win32包的安装及常见用途介绍》在Windows环境下,PythonWin32模块通常随Python安装包一起安装,:本文主要介绍Python中win32包的安装及常见用途的相关... 目录前言主要组件安装方法常见用途1. 操作Windows注册表2. 操作Windows服务3. 窗口操作

    gitlab安装及邮箱配置和常用使用方式

    《gitlab安装及邮箱配置和常用使用方式》:本文主要介绍gitlab安装及邮箱配置和常用使用方式,具有很好的参考价值,希望对大家有所帮助,如有错误或未考虑完全的地方,望不吝赐教... 目录1.安装GitLab2.配置GitLab邮件服务3.GitLab的账号注册邮箱验证及其分组4.gitlab分支和标签的

    MySQL MCP 服务器安装配置最佳实践

    《MySQLMCP服务器安装配置最佳实践》本文介绍MySQLMCP服务器的安装配置方法,本文结合实例代码给大家介绍的非常详细,对大家的学习或工作具有一定的参考借鉴价值,需要的朋友参考下... 目录mysql MCP 服务器安装配置指南简介功能特点安装方法数据库配置使用MCP Inspector进行调试开发指

    在Windows上使用qemu安装ubuntu24.04服务器的详细指南

    《在Windows上使用qemu安装ubuntu24.04服务器的详细指南》本文介绍了在Windows上使用QEMU安装Ubuntu24.04的全流程:安装QEMU、准备ISO镜像、创建虚拟磁盘、配置... 目录1. 安装QEMU环境2. 准备Ubuntu 24.04镜像3. 启动QEMU安装Ubuntu4

    Python UV安装、升级、卸载详细步骤记录

    《PythonUV安装、升级、卸载详细步骤记录》:本文主要介绍PythonUV安装、升级、卸载的详细步骤,uv是Astral推出的下一代Python包与项目管理器,主打单一可执行文件、极致性能... 目录安装检查升级设置自动补全卸载UV 命令总结 官方文档详见:https://docs.astral.sh/

    苹果macOS 26 Tahoe主题功能大升级:可定制图标/高亮文本/文件夹颜色

    《苹果macOS26Tahoe主题功能大升级:可定制图标/高亮文本/文件夹颜色》在整体系统设计方面,macOS26采用了全新的玻璃质感视觉风格,应用于Dock栏、应用图标以及桌面小部件等多个界面... 科技媒体 MACRumors 昨日(6 月 13 日)发布博文,报道称在 macOS 26 Tahoe 中

    Nexus安装和启动的实现教程

    《Nexus安装和启动的实现教程》:本文主要介绍Nexus安装和启动的实现教程,具有很好的参考价值,希望对大家有所帮助,如有错误或未考虑完全的地方,望不吝赐教... 目录一、Nexus下载二、Nexus安装和启动三、关闭Nexus总结一、Nexus下载官方下载链接:DownloadWindows系统根