Commit Graph

20 Commits

Author SHA1 Message Date
Michael Thomsen
0533ffc020 Upgrade build tools to latest Android Studio default (#8461) 2017-02-28 18:25:28 +01:00
Michael Thomsen
1e1f7703cc Revert "Revert "Update /examples/ to new gradle based build flow (#8173)"" (#8291) 2017-02-21 12:22:26 +00:00
Yegor
d6527451a0 Revert "Update /examples/ to new gradle based build flow (#8173)" (#8177)
This reverts commit 8da4778e1d.
2017-02-15 09:44:44 -08:00
Michael Thomsen
8da4778e1d Update /examples/ to new gradle based build flow (#8173)
* Update hello_world to new gradle based build flow

* Update flutter_gallery to gradle based build

* Align hello_services with new gradle based build

* Update platform_services to new gradle based build

* Upgrade stock to gradle based build
2017-02-15 17:13:10 +01:00
Jakob Andersen
b246c5e7e9 Make new project template gradle-based for Android. (#7902)
* Make new project template gradle-based for Android.

With this change, the 'new project' template uses the same gradle-based build for Android as the hello_services example. This has some implications on build performance, since we're now building a complete Android app instead of just combining a pre-compiled .dex with the Flutter assets.

The very first build is a little over 2x slower, since it needs to download gradle and build the build scripts before getting to the actual code. Subsequent builds with changes to the code are comparable to the old builds. Null builds are faster. Enabling the gradle daemon speeds up subsequent builds by around 5s.

* Move Flutter Gradle plugin to Flutter root.
2017-02-10 09:37:38 +01:00
Jakob Andersen
a0f0c42fe3 Update gradle example to support x86 in debug mode. (#7606)
* Update gradle example to support x86 in debug mode.

Changed the Flutter Gradle plugin a bit to better fit in with the
Android build.

Fixes #6136
Fixes #6864
Fixes #7539
2017-01-31 14:48:48 -08:00
Ryan Macnak
76460967e6 Adapt to refactoring of snapshot APIs in the Dart VM. (#7589) 2017-01-23 13:28:35 -08:00
Michael Thomsen
ef1d7a1929 Update gradle versions in hello_services to those currently shipped in Android Studio (#7587) 2017-01-23 19:00:09 +01:00
Jason Simmons
f2932b6a48 An Android instrumentation test using a FlutterView (#7262) 2016-12-14 16:01:56 -08:00
Collin Jackson
211fefc217 rename Sky to Flutter and add clarifying comment to template (#7165)
* s/sky/flutter/ in Android templates

* update engine.version with a compatible engine version

* replace more SkyActivity references with FlutterActivity
2016-12-06 16:03:32 -08:00
Jason Simmons
ee5a80a6af Remove obsolete references to "flutter refresh" in hello_services (#7093)
Fixes https://github.com/flutter/flutter/issues/6947
2016-11-30 09:49:43 -08:00
Jason Simmons
04e14f8be5 Fix obsolete reference to org.domokit.activity in hello_services (#6546)
See https://github.com/flutter/flutter/issues/6539
2016-10-26 16:59:38 -07:00
Eddy Ernesto del Valle Pino
ed6e7fa06f Ask if the app has location access before asking for location. (#5659) 2016-08-31 09:54:15 -07:00
Devon Carew
57b76a050f Hello services run (#4969)
* making flutter run work with gradle

* locate android studio

* add test for settings

* review comments
2016-07-19 20:00:02 -07:00
Jason Simmons
e0174c9dad Update hello_services for an engine API change (#4919) 2016-07-14 11:46:26 -07:00
Jason Simmons
fad7cf59e3 Update hello_services for a change to the message listener API (#4670) 2016-06-21 14:26:30 -07:00
Jason Simmons
3b9d8c5eb5 Call onPostResume to restart the animator in the example Android activity (#4634)
(onResume is now a no-op)

Fixes https://github.com/flutter/flutter/issues/4506
2016-06-20 13:06:10 -07:00
Adam Barth
5af67e1592 Add support for target to gradle build (#4420)
This lets you build something other than `lib/main.dart`.
2016-06-07 13:05:42 -07:00
Adam Barth
8f03ebe56b Teach FlutterPlugin.groovy about AOT builds (#4389)
The `flutter.buildMode` property now controls whether to build in debug,
profiling, or release.
2016-06-06 12:56:04 -07:00
Adam Barth
423a31f473 Merge hello_android into hello_services (#4366)
The hello_services example can now be built both for Android and iOS.
2016-06-03 16:15:03 -07:00