mirror of
https://github.com/flutter/samples.git
synced 2026-03-21 20:08:16 +00:00
The android_view add_to_app sample is currently broken. It does not build: * AGP version is incompatible. * MIN_SDK is below Flutter min * Flutter plugin module was renamed awhile ago: https://github.com/flutter/samples/pull/2714
android_view
An example of an Android app that integrates a Flutter add-to-app module at a view level.
tl;dr
If you're just looking to get up and running quickly, these bash commands will fetch packages and set up dependencies (note that the above commands assume you're building for both iOS and Android, with both toolchains installed):
#!/bin/bash
set -e
cd flutter_module_using_plugin/
flutter pub get
# For Android builds:
open -a "Android Studio" ../android_view # macOS only
# Or open the ../android_fullscreen folder in Android Studio for other platforms.
Getting Started
For more information about Flutter, check out flutter.dev.
For instructions on how to integrate Flutter modules into your existing applications, see Flutter's add-to-app documentation.