1
0
mirror of https://github.com/flutter/samples.git synced 2025-11-09 06:18:49 +00:00

Modifying readmes (#175)

This commit is contained in:
Andrew Brogdon
2019-12-09 14:54:26 -05:00
committed by GitHub
parent 9880ff0679
commit 8c27a25d50
2 changed files with 13 additions and 23 deletions

View File

@@ -50,8 +50,9 @@ them.
With the exception of `android_using_prebuilt_module`, the Android apps are With the exception of `android_using_prebuilt_module`, the Android apps are
ready to run once you've completed the `flutter packages get` commands listed ready to run once you've completed the `flutter packages get` commands listed
above. The iOS apps use CocoaPods, though, so you need to run this command above. Two of the iOS apps (`ios_fullscreen` and `ios_using_plugin`) use
within their project directories to install their dependencies: Cocoapods, though, so you need to run this command within their project
directories to install their dependencies:
```bash ```bash
pod install pod install
@@ -105,31 +106,25 @@ to be built.
**Building for `android_using_prebuilt_module`** **Building for `android_using_prebuilt_module`**
`flutter_module` can be built into an `aar` using either a debug or release To build `flutter_module` as an aar, run this command from the `flutter_module`
configuration. To build a debug `aar`, run this command from the directory:
`flutter_module` directory:
```bash
flutter build aar --debug
```
To build a release version of the `aar`, simply omit the debug flag:
```bash ```bash
flutter build aar flutter build aar
``` ```
The Android app is configured to import the appropriate `aar` based on its own It will produce `aar` files for debug, profile, and release mode. The Android
build configuration, so if you build a debug version of the app, it will look app is configured to import the appropriate `aar` based on its own build
for the debug `aar`, and likewise for a release build. configuration, so if you build a debug version of the app, it will look
for the debug `aar`, and so on.
If the `flutter_module` project is updated, the `aar` must be rebuilt via one of If the `flutter_module` project is updated, the `aar` files must be rebuilt via
the commands above in order for those changes to appear in the app. one of the commands above in order for those changes to appear in the app.
**Building for `ios_using_prebuilt_module`** **Building for `ios_using_prebuilt_module`**
`flutter_module` can be compiled into frameworks for `ios_using_prebuilt_module` To build `flutter_module` as a set of frameworks, run this command from the
by running this command from the `flutter_module` directory: `flutter_module` directory:
```bash ```bash
flutter build ios-framework --output=../ios_using_prebuilt_module/Flutter flutter build ios-framework --output=../ios_using_prebuilt_module/Flutter

View File

@@ -1,5 +0,0 @@
# Flutter frameworks folder
This folder is intended to store pre-compiled Frameworks for a Flutter app,
which are not (in this case) checked into source control. See the README that
ships with this app for details on how to create the frameworks this app uses.