Git Product home page Git Product logo

zhihudaily's Introduction

Zhihu

知乎日报和每日一读之Flutter小APP 仅供学习使用,请勿用于商业用途。

flutter环境说明MacOS为例

下载:

https://flutter.dev/docs/development/tools/sdk/releases?tab=macos

解压 unzip ~/Downloads/flutter_macos_v1.7.8+hotfix.3-stable.zip

增加flutter环境

export PATH="$PATH:`pwd`/flutter/bin”
export PATH="$PATH:/Users/***/Documents/flutter/bin"

flutter环境是否缺失检查

flutter precache
flutter doctor

推荐使用pub国内镜像

export PUB_HOSTED_URL=https://pub.flutter-io.cn
export FLUTTER_STORAGE_BASE_URL=https://storage.flutter-io.cn

IDE Android Studio

下载:

https://developer.android.google.cn/studio

默认tools androd-sdk安装目录

/Users/***/Library/Android/

在android studio 开启的configure中配置插件

Flutter plugin
Dart plugin

pub搜索地址

https://pub.flutter-io.cn

模拟器

打开iOS模拟器

open -a Simulator

项目启动

1:打开iOS/Android模拟器

2:flutter run

截图

截图1

)

截图2

截图3

截图4

截图5

zhihudaily's People

Contributors

yky138495 avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.