From 2d285015a446f8dd657888163f67065c6228d8ff Mon Sep 17 00:00:00 2001 From: AndroidTraveler Date: Sat, 9 Mar 2019 16:34:25 +0800 Subject: [PATCH 1/2] Update README.md --- README.md | 19 ++++++++++++++++--- 1 file changed, 16 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index b0c8f3d..536da5e 100644 --- a/README.md +++ b/README.md @@ -4,14 +4,27 @@ ## Usage -1. Switch to the corresponding branch -2. Switch directory to flutter module +1. Clone respository to your local + +``` +git clone https://github.com/nesger/FlutterSample.git +``` + +2. Import project to Android Studio +3. Switch to the corresponding branch +4. Switch directory to flutter module ``` cd sub/my_flutter/ ``` -3. run +5. run + +``` +flutter packages get +``` + +6. run ``` flutter run From 3c55094ca1cd02fb401cbc4daefe370890999264 Mon Sep 17 00:00:00 2001 From: AndroidTraveler Date: Sat, 9 Mar 2019 16:37:22 +0800 Subject: [PATCH 2/2] Update README-zh-CN.md --- README-zh-CN.md | 19 ++++++++++++++++--- 1 file changed, 16 insertions(+), 3 deletions(-) diff --git a/README-zh-CN.md b/README-zh-CN.md index 6158c75..9baa30b 100644 --- a/README-zh-CN.md +++ b/README-zh-CN.md @@ -4,14 +4,27 @@ ## 用法 -1. 切换到对应分支 -2. 进入 flutter module 所在目录 +1. 拷贝仓库代码到你本地设备 + +``` +git clone https://github.com/nesger/FlutterSample.git +``` + +2. 将项目导入到 Android Studio +3. 切换到对应分支 +4. 进入 flutter module 所在目录 ``` cd sub/my_flutter/ ``` -3. 运行 +5. 执行下面命令 + +``` +flutter packages get +``` + +6. 运行 ``` flutter run