Skip to content

Commit

Permalink
Include fragment support in Android build to allow use of FragmentAct…
Browse files Browse the repository at this point in the history
…ivity in FlutterActivity (flutter#9036)
  • Loading branch information
collinjackson authored Mar 27, 2017
1 parent 9192f67 commit 6bf0ceb
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions packages/flutter_tools/gradle/flutter.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -137,6 +137,11 @@ class FlutterPlugin implements Plugin<Project> {
}
}

project.dependencies {
// FlutterActivity extends FragmentActivity
compile 'com.android.support:support-fragment:24.2.0+'
}

project.extensions.create("flutter", FlutterExtension)
project.afterEvaluate this.&addFlutterTask

Expand Down

0 comments on commit 6bf0ceb

Please sign in to comment.