- 02 Aug, 2019 1 commit
-
-
Emmanuel Garcia authored
-
- 30 Jul, 2019 2 commits
-
-
Zachary Anderson authored
-
Zachary Anderson authored
-
- 29 Jul, 2019 1 commit
-
-
Zachary Anderson authored
-
- 23 Jul, 2019 3 commits
-
-
Emmanuel Garcia authored
`flutter build aar` This new build command works just like `flutter build apk` or `flutter build appbundle`, but for plugin and module projects. This PR also refactors how plugins are included in app or module projects. By building the plugins as AARs, the Android Gradle plugin is able to use Jetifier to translate support libraries into AndroidX libraries for all the plugin's native code. Thus, reducing the error rate when using AndroidX in apps. This change also allows to build modules as AARs, so developers can take these artifacts and distribute them along with the native host app without the need of the Flutter tool. This is a requirement for add to app. `flutter build aar` generates POM artifacts (XML files) which contain metadata about the native dependencies used by the plugin. This allows Gradle to resolve dependencies at the app level. The result of this new build command is a single build/outputs/repo, the local repository that contains all the generated AARs and POM files. In a Flutter app project, this local repo is used by the Flutter Gradle plugin to resolve the plugin dependencies. In add to app case, the developer needs to configure the local repo and the dependency manually in `build.gradle`: repositories { maven { url "<path-to-flutter-module>build/host/outputs/repo" } } dependencies { implementation("<package-name>:flutter_<build-mode>:1.0@aar") { transitive = true } }
-
Emmanuel Garcia authored
This reverts commit 11460b83.
-
Emmanuel Garcia authored
`flutter build aar` This new build command works just like `flutter build apk` or `flutter build appbundle`, but for plugin and module projects. This PR also refactors how plugins are included in app or module projects. By building the plugins as AARs, the Android Gradle plugin is able to use Jetifier to translate support libraries into AndroidX libraries for all the plugin's native code. Thus, reducing the error rate when using AndroidX in apps. This change also allows to build modules as AARs, so developers can take these artifacts and distribute them along with the native host app without the need of the Flutter tool. This is a requirement for add to app. `flutter build aar` generates POM artifacts (XML files) which contain metadata about the native dependencies used by the plugin. This allows Gradle to resolve dependencies at the app level. The result of this new build command is a single build/outputs/repo, the local repository that contains all the generated AARs and POM files. In a Flutter app project, this local repo is used by the Flutter Gradle plugin to resolve the plugin dependencies. In add to app case, the developer needs to configure the local repo and the dependency manually in `build.gradle`: repositories { maven { url "<path-to-flutter-module>build/host/outputs/repo" } } dependencies { implementation("<package-name>:flutter_<build-mode>:1.0@aar") { transitive = true } }
-
- 18 Jul, 2019 1 commit
-
-
Emmanuel Garcia authored
-
- 16 Jul, 2019 1 commit
-
-
Todd Volkert authored
Slight cleanup of file locations in flutter_tools to make it easier to see which files are responsible for data reporting.
-
- 09 Jul, 2019 1 commit
-
-
Jonah Williams authored
-
- 02 Jul, 2019 1 commit
-
-
Alexandre Ardhuin authored
* more ui-as-code * address review comments
-
- 27 Jun, 2019 1 commit
-
-
Alexandre Ardhuin authored
-
- 26 Jun, 2019 1 commit
-
-
Danny Tuppeny authored
* Add emulatorId to Android and iOS emulator devices * Update docs * Review tweaks * Add tests for AndroidConsole for getting avd names * Remove unused import * Remove duplicated header * Fix imports
-
- 25 Jun, 2019 1 commit
-
-
Alexandre Ardhuin authored
-
- 24 Jun, 2019 1 commit
-
-
Danny Tuppeny authored
-
- 19 Jun, 2019 3 commits
-
-
Jonah Williams authored
-
Danny Tuppeny authored
-
Emmanuel Garcia authored
-
- 18 Jun, 2019 3 commits
-
-
Emmanuel Garcia authored
This reverts commit 358b9bd3.
-
Jonah Williams authored
-
Jonah Williams authored
-
- 17 Jun, 2019 1 commit
-
-
Emmanuel Garcia authored
-
- 11 Jun, 2019 2 commits
-
-
Emmanuel Garcia authored
This is done via `flutter build bundle`. As a consequence, this PR introduces a new way to disable analytics via the `FLUTTER_SUPPRESS_ANALYTICS` env flag.
-
- 10 Jun, 2019 1 commit
-
-
Emmanuel Garcia authored
* Gradle generates ELF shared libraries instead of AOT snapshots. * `flutter build apk/appbundle` supports multiple `--target-platform` and defaults to `android-arm` and `android-arm64`. * `flutter build apk` now has a flag called `--split-per-abi`.
-
- 09 Jun, 2019 2 commits
-
-
Jonah Williams authored
Revert "Generate ELF shared libraries and allow multi-abi libs in APKs and App bundles (#33696)" (#34121)
-
Emmanuel Garcia authored
* Gradle generates ELF shared libraries instead of AOT snapshots. * `flutter build apk/appbundle` supports multiple `--target-platform` and defaults to `android-arm` and `android-arm64`. * `flutter build apk` now has a flag called `--split-per-abi`.
-
- 08 Jun, 2019 2 commits
-
-
Jonah Williams authored
-
Ben Konyi authored
-
- 07 Jun, 2019 1 commit
-
-
Zachary Anderson authored
-
- 06 Jun, 2019 1 commit
-
-
Alexander Aprelev authored
* Whitelist adb.exe heap corruption exit code. In android platform tools 29.0.0 adb.exe shell seems to be exiting with heap corruption exit code, otherwise producing results as expected. This PR whitelists this exit code on Windows. Fixes https://github.com/flutter/flutter/issues/33938. * Fix condition * Fix 'shell am start' command * Fix stop command * Refactor into runAdbMostlyChecked(Sync/Async) * runAdbMostlyChecked -> runAdbChecked
-
- 03 Jun, 2019 1 commit
-
-
Zachary Anderson authored
-
- 30 May, 2019 1 commit
-
-
Jason Simmons authored
Use Dart's new direct ELF generator to package AOT blobs as shared libraries in Android APKs (#33611) This is a replacement for the old implementation of --build-shared-library that emits an AOT assembly snapshot and feeds it to the Android NDK toolchain.
-
- 13 May, 2019 1 commit
-
-
Jason Simmons authored
Some parts of the appbundle build process were based on the logic for building APK packages. However, these steps (copying to a directory shared by all build variants, and calculating a SHA) are not necessary for an appbundle.
-
- 02 May, 2019 2 commits
-
-
Jonah Williams authored
This reverts commit e5459942.
-
Jonah Williams authored
-
- 29 Apr, 2019 1 commit
-
-
Jonah Williams authored
-
- 26 Apr, 2019 1 commit
-
-
Danny Tuppeny authored
* Allow adb stdout to contain the port number without failing * Add tests that port forwarder correctly responds to known ADB output
-
- 25 Apr, 2019 2 commits
-
-
Jonah Williams authored
-
Jonah Williams authored
-