Casey Hillers
298d8c76ba
Revert "Remove references to Observatory ( #118577 )" ( #120929 )
...
This reverts commit 2df140f40d
.
2023-02-16 21:28:30 -08:00
Ben Konyi
2df140f40d
Remove references to Observatory ( #118577 )
...
Observatory is being deprecated for Dart 3.0 so it should no longer be
referenced in tooling messaging / flags.
See https://github.com/dart-lang/sdk/issues/50233
2023-02-13 14:29:30 -05:00
Christopher Fujino
1546fa08d3
[flutter_tools] toolExit on sdkmanager exit during doctor --android-licenses ( #120330 )
...
* tool exit on sdk manager exit and add test
* be more specific about error message
2023-02-09 18:34:02 +00:00
Christopher Fujino
aed9b4adce
Revert "Revert "Fix unable to find bundled Java version ( #119244 )" ( #119981 )" ( #120107 )
...
This reverts commit f7c2bd05f0
.
2023-02-07 21:42:20 +00:00
Christopher Fujino
b8f5394a5c
[flutter_tools] Fix Future error handling ArgumentError in doctor --android-licenses ( #119977 )
...
* wip
* write test
* make error handling printError
* remove diff
2023-02-05 07:06:19 +00:00
godofredoc
f7c2bd05f0
Revert "Fix unable to find bundled Java version ( #119244 )" ( #119981 )
...
This reverts commit 57fd50f84e
.
2023-02-04 02:57:53 +00:00
crasowas
57fd50f84e
Fix unable to find bundled Java version ( #119244 )
2023-02-03 18:04:04 -08:00
gmackall
57dc071f79
Adding 'is' to list of kotlin reserved keywords ( #116299 )
...
Co-authored-by: Gray Mackall <mackall@google.com>
2023-01-06 00:10:07 +00:00
Camille Simon
de357647be
[Android] Bump template AGP and NDK versions ( #116536 )
...
* Bump versions
* Fix gradle errors test
2022-12-20 22:51:10 +00:00
Michael Goderbauer
fdd2d7d64a
Sync analysis_options.yaml & cleanups ( #117327 )
2022-12-20 14:15:39 -08:00
Casey Hillers
7673108d7e
Revert "Speed up first asset load by encoding asset manifest in binary rather than JSON ( #113637 )" ( #116662 )
...
This reverts commit 56cad89b1e
.
2022-12-07 17:29:05 +00:00
Andrew Kolos
56cad89b1e
Speed up first asset load by encoding asset manifest in binary rather than JSON ( #113637 )
2022-12-05 10:39:10 -08:00
gaaclarke
2b0c895fa1
Updated the kotlinlang version url. ( #115782 )
...
* Updated the kotlinlang version url.
* fixed format for test
2022-11-21 21:47:25 +00:00
The one with the braid (she/her) | Dфҿ mit dem Zopf (sie/ihr)
2e432ec16b
chore: enable Flutter Android workflow on aarch64 ( #113829 )
...
- removes invalid arch check on Android workflow in order to enable Android development on any device supported
Signed-off-by: TheOneWithTheBraid <the-one@with-the-braid.cf>
Signed-off-by: TheOneWithTheBraid <the-one@with-the-braid.cf>
2022-11-10 22:09:28 +00:00
Alex Li
3d94b8fd1d
[tool] Install the corresponding APK in flutter run
( #113622 )
2022-10-19 02:44:30 +00:00
godofredoc
4fa91c949a
Revert "[tool] ⚡ ️ Install the corresponding APK in flutter run
( #112768 )" ( #113614 )
...
This reverts commit 0ad71e8727
.
2022-10-18 10:04:49 -07:00
Alex Li
0ad71e8727
[tool] ⚡ ️ Install the corresponding APK in flutter run
( #112768 )
2022-10-18 02:06:30 +00:00
Lau Ching Jun
34995ba96e
Make AndroidApk nullable in stopApp. ( #113353 )
2022-10-13 17:03:57 +00:00
Brett Morgan
c0f48ba6bf
Fix for Issue #112983 ( #112985 )
2022-10-09 05:27:38 +11:00
林军华
8e30cc9c56
Revert file naming convention of .aar files to support fuzzy matching in build.gradle ( #112149 )
2022-10-04 03:37:22 +00:00
Christopher Fujino
35f8724b14
[flutter_tools] fix AndroidSdk.reinitialize bad state error ( #111527 )
2022-09-16 03:49:30 +00:00
Jonah Williams
d6dd832d0f
[flutter_tools] migrate gradle errors and project test to null safety ( #110530 )
2022-08-29 19:47:16 +00:00
Michael Goderbauer
e27a19e3f8
Remove outdated ignores ( #108924 )
2022-08-03 23:37:05 +00:00
Jenn Magder
7c7ae991e5
Use hasNoRemainingExpectations
matcher for fake process manager in tool tests ( #108649 )
2022-07-30 02:02:05 +00:00
Jenn Magder
7f1a8f7948
Add usage event when iOS app is archived ( #108643 )
2022-07-29 22:44:06 +00:00
Gary Qian
7cfbdadc33
Reland "Upgrade Gradle and AGP versions to 7.5/7.2 and migrate benchmarks+examples" #108472 ( #108510 )
2022-07-28 19:38:07 -07:00
Kate Lovett
716533925b
Revert "Reland "Upgrade Gradle and AGP versions to 7.5/7.2 and migrate benchmarks+examples" #108355 ( #108472 )" ( #108488 )
...
This reverts commit 1f8c490c82
.
2022-07-27 17:20:20 -05:00
Gary Qian
1f8c490c82
Reland "Upgrade Gradle and AGP versions to 7.5/7.2 and migrate benchmarks+examples" #108355 ( #108472 )
2022-07-27 14:23:09 -07:00
Zachary Anderson
1e69683688
Revert "Reland "Upgrade Gradle and AGP versions to 7.5/7.2 and migrate benchmarks+examples" ( #108355 )" ( #108407 )
...
This reverts commit c4b3625d62
.
2022-07-26 19:30:28 -07:00
Gary Qian
c4b3625d62
Reland "Upgrade Gradle and AGP versions to 7.5/7.2 and migrate benchmarks+examples" ( #108355 )
2022-07-26 16:23:08 -07:00
Zachary Anderson
d155bc1bad
Revert "Upgrade Gradle and AGP versions to 7.5/7.2 and migrate examples/tests ( #108197 )" ( #108349 )
...
This reverts commit ca6cecf034
.
2022-07-25 22:20:37 -07:00
Gary Qian
ca6cecf034
Upgrade Gradle and AGP versions to 7.5/7.2 and migrate examples/tests ( #108197 )
2022-07-25 15:23:08 -07:00
Christopher Fujino
bcba43f503
[flutter_tools] Make android gradle builder test hermetic ( #107606 )
2022-07-14 20:08:07 +00:00
Jonah Williams
db829c1e20
[flutter_tools] migrate more unit tests to null safety ( #106153 )
2022-06-17 21:34:27 -07:00
Emmanuel Garcia
975e04ba6d
Move corrupted zip to a separate handler and ask user ( #105054 )
2022-06-03 10:08:08 -07:00
Emmanuel Garcia
3b20fb3f89
Retry builds when SSL exceptions are thrown ( #105078 )
2022-05-31 19:53:12 -07:00
Gary Qian
cc733660ed
Add link to more detailed multidex information. ( #104558 )
2022-05-26 13:05:08 -07:00
Michael Goderbauer
3fa355c97d
Remove dead code in tools tests ( #104567 )
2022-05-25 12:48:17 -07:00
Jenn Magder
a56c5e51ae
Migrate some test files to null safety ( #104469 )
2022-05-24 16:53:08 -07:00
Chris Sells
4c66e304d1
fixes 103234 to enable debugging Flutter apps on VR headset ( #104135 )
2022-05-20 21:58:09 -07:00
Emmanuel Garcia
0052566c7e
Show custom error message when Kotlin or Gradle bump is required ( #102421 )
2022-05-19 14:38:13 -07:00
Jonah Williams
2ad7ced916
[flutter_tools] pass --enable-impeller to android ( #104014 )
2022-05-17 15:52:09 -07:00
Alexandre Ardhuin
07f1c20474
add missing trailing commas in list/set/map literals ( #102585 )
2022-04-27 09:15:35 +02:00
Emmanuel Garcia
46cb9ede2f
Reduce Gradle log level in verbose output ( #102422 )
2022-04-25 10:30:40 -07:00
Elsabe Ros
606e91ad63
Use the maven-publish plugin to publish AAR files. ( #101891 )
2022-04-19 16:34:07 -07:00
Lau Ching Jun
c2dc92ca88
Default to the newer version path when checking Android Studio Java path ( #101862 )
2022-04-13 22:49:06 -07:00
Zachary Anderson
6190c5df09
Revert "Use the maven-publish plugin to publish AAR files. ( #101276 )" ( #101827 )
...
This reverts commit 2b0255f0d9
.
2022-04-13 08:12:07 -07:00
Elsabe Ros
2b0255f0d9
Use the maven-publish plugin to publish AAR files. ( #101276 )
2022-04-12 22:19:08 -07:00
Emmanuel Garcia
9e0f0fe9d7
Add Gradle stacktrace and debug log level to verbose builds ( #101734 )
2022-04-11 20:14:08 -07:00
Emmanuel Garcia
b528310f58
Specify Kotlin version in modules and refactor ( #101315 )
2022-04-07 13:20:33 -07:00
Gary Qian
ead5b1c2f4
Retire v1 embedding compatibility from automatic multidex support ( #100685 )
2022-03-31 10:24:42 -07:00
Emmanuel Garcia
5c6918933e
Migrate AGP and Gradle versions to 7.1.2/7.4 ( #99723 )
2022-03-30 20:30:09 -07:00
Tacca
c8538873c8
95533 min sdk error msgs enhancements ( #99550 )
2022-03-08 16:20:21 -08:00
Emmanuel Garcia
9cb60c9828
Revert "reads min/target sdk versions from localproperties" ( #99191 )
2022-02-28 11:41:22 -08:00
Tacca
37a1aaf8c1
reads min/target sdk versions from localproperties ( #98450 )
2022-02-24 12:16:15 -08:00
Emmanuel Garcia
c8266d34f4
Improve Gradle retry logic ( #96554 )
2022-02-18 13:54:41 -08:00
Ben Konyi
2a2f973120
Update flutter_tools to look for new VM service message ( #97683 )
...
* Update flutter_tools to look for new VM service message
The Dart SDK will soon move away from the current Observatory message:
"Observatory listening on ..."
To a new message that no longer references Observatory:
"Dart VM Service listening on ..."
This change updates all tests with mocks to check for the new message
and also adds support for the new message in ProtocolDiscovery.
See https://github.com/dart-lang/sdk/issues/46756
* Fix some parsing locations
* Fix analysis failures
* Update message
* Remove extra comment
* Update message
* Add globals prefix
2022-02-15 07:33:57 -08:00
Michael Tamm
1fcb076eb7
[flutter_tools] Fix bundle file not found when flavor contains upperc… ( #92660 )
2022-02-04 11:55:20 -08:00
Lau Ching Jun
d7688ca093
Change all instance of throwing strings to throw specific error classes. ( #97325 )
2022-02-02 10:45:18 -08:00
Emmanuel Garcia
683590d1c6
Add suggestion for compileSdkVersion warning ( #95369 )
2022-01-10 20:30:13 -08:00
Lau Ching Jun
7f0050f5b3
Add a new PrebuiltFlutterApplicationPackage interface. ( #95290 )
...
* Add a new PrebuiltFlutterApplicationPackage interface.
* Review feedback
* Rename bundleDir to uncompressedBundle
2022-01-05 07:54:57 -08:00
Emmanuel Garcia
79bc1bfa89
Add ability to wrap text messages in a box ( #94391 )
2021-12-15 13:19:11 -08:00
Jia Hao
2f80384a7f
[flutter_tools] Remove --enable-background-compilation ( #94012 )
2021-12-13 10:24:08 -08:00
Jenn Magder
b460d0ee34
Migrate emulators to null safety ( #92738 )
2021-11-18 22:13:06 -08:00
Jenn Magder
9e88fe328e
Remove globals_null_migrated.dart, move into globals.dart ( #92861 )
2021-11-01 17:18:03 -07:00
Jenn Magder
8865212254
Migrate doctor to null safety ( #92131 )
2021-11-01 12:13:02 -07:00
Jenn Magder
0c9a420583
Migrate android_device to null safety ( #92128 )
2021-10-29 17:19:33 -07:00
Emmanuel Garcia
4d79bb02c4
Bump Kotlin version in templates and projects ( #92052 )
2021-10-25 13:13:03 -07:00
Gary Qian
0407aa4480
Reland "Add multidex flag and automatic multidex support ( #90944 )" ( #92049 )
2021-10-19 02:20:39 -07:00
Zachary Anderson
a9c31eca48
Revert "Add multidex flag and automatic multidex support ( #90944 )" ( #91791 )
...
This reverts commit 1d9edde079
.
2021-10-13 23:09:50 -07:00
Gary Qian
1d9edde079
Add multidex flag and automatic multidex support ( #90944 )
2021-10-13 17:48:04 -07:00
Ian Hickson
61a0add286
Enable avoid_redundant_argument_values lint ( #91409 ) ( #91462 )
2021-10-08 09:25:14 -07:00
Zachary Anderson
b9d2177da0
Revert "Enable avoid_redundant_argument_values lint ( #91409 )" ( #91461 )
...
This reverts commit 5fd259be24
.
2021-10-07 21:11:07 -07:00
Ian Hickson
5fd259be24
Enable avoid_redundant_argument_values lint ( #91409 )
2021-10-07 20:13:02 -07:00
Zachary Anderson
5188df0821
Revert gradle roll ( #91459 )
...
* Revert "Mark last failing test after gradle update as flaky. (#91423 )"
This reverts commit 46a52d03bd
.
* Revert "fix android template for Gradle 7 (#91411 )"
This reverts commit 51d06d537f
.
* Revert "Add explicit version for mac and windows openjdk. (#91408 )"
This reverts commit bf429f2771
.
* Revert "Update the openjdk version used by linux android tests. (#91405 )"
This reverts commit 2144ab8b45
.
* Revert "Migrate to Gradle 7.0.2 / AGP 7.0.1 (#90642 )"
This reverts commit b6459f9b63
.
2021-10-07 19:42:24 -07:00
Taha Tesser
b6459f9b63
Migrate to Gradle 7.0.2 / AGP 7.0.1 ( #90642 )
2021-10-06 17:01:13 -07:00
Ian Hickson
2bab6514b0
Enable avoid_implementing_value_types
lint ( #91078 )
2021-10-04 13:48:04 -07:00
Christopher Fujino
61bce1d83b
[flutter_tools] remove non-null check from AndroidValidator ( #90090 )
2021-09-25 16:53:06 -07:00
Jonah Williams
fa0782b696
reassign jonahwilliams todos ( #88707 )
2021-08-23 12:27:07 -07:00
Taha Tesser
d72287522b
[tools] Fix Android Studio duplicate detection ( #88384 )
2021-08-18 02:02:03 -07:00
Darren Austin
b08366ce7b
Updated skipped tests for flutter_tools. ( #87925 )
...
* Updated skipped tests for flutter_tools.
* Turned the flaky overall_experience test off as it was still failing on CI.
2021-08-10 22:22:08 -07:00
Ahmed Ashour
92e02457d5
Handle reserved Kotlin keywords ( #86518 )
2021-08-02 14:35:05 -07:00
Taha Tesser
f9aa5842c2
[tools] Fix Android Studio Arctic Fox Java path on macOS ( #87267 )
2021-07-29 10:24:07 -07:00
Jenn Magder
2f91679058
Show Android SDK path in doctor on partial installation ( #87232 )
2021-07-28 19:14:02 -07:00
Emmanuel Garcia
e7a9adeeab
Remove AndroidX workarounds ( #86911 )
2021-07-23 17:41:04 -07:00
Taha Tesser
94f71f374f
[flutter_tools] Refactor Android Studio Detection on Windows (support 4.x and 202x releases detection) ( #86624 )
2021-07-20 12:16:03 -07:00
Zachary Anderson
09a38d7a17
Revert "Handle reserved Kotlin keywords ( #84973 )" ( #86512 )
...
This reverts commit a67f618a29
.
2021-07-15 14:43:53 -07:00
Ahmed Ashour
a67f618a29
Handle reserved Kotlin keywords ( #84973 )
2021-07-15 14:26:05 -07:00
Alexandre Ardhuin
80990c21e2
code formatting ( #85783 )
2021-07-07 23:06:05 -07:00
Filip Hracek
76d5e62f42
Add a more complete app template for Flutter (skeleton) ( #83530 )
2021-06-28 15:26:04 -07:00
Jenn Magder
2e5284a26b
Do not list Android or iOS devices when feature disabled ( #85145 )
2021-06-23 15:41:04 -07:00
Dan Field
febce13a94
Make retry logic more permissive for network errors ( #83965 )
2021-06-03 23:44:03 -07:00
Alexandre Ardhuin
32540774c0
enable lint noop_primitive_operations ( #83930 )
2021-06-03 17:34:10 -07:00
Jenn Magder
c4a2a3e92d
Migrate project.dart and all dependencies to null safety ( #83817 )
2021-06-02 18:41:12 -07:00
Anis Alibegić
c99ed373b3
Fixed large amount of spelling errors ( #83744 )
2021-06-02 10:14:06 -07:00
Jason Simmons
59f6cc7ac9
Add a trace-skia-allowlist flag for filtering Skia trace events ( #83507 )
2021-06-01 11:29:03 -07:00
Alexandre Ardhuin
34059eec2c
enable lint prefer_interpolation_to_compose_strings ( #83407 )
2021-06-01 11:14:06 -07:00
Taha Tesser
f9cd87e60a
[flutter_tools] Add documentation to "cmdline-tools component is missing" doctor validation error ( #83356 )
2021-05-26 10:59:02 -07:00
Jenn Magder
a04f45f97b
Migrate deferred_components_gen_snapshot_validator to null safety ( #83311 )
2021-05-25 11:14:03 -07:00
Jonah Williams
0f929f9f13
[flutter_tools] require cmdline-tools for android licenses ( #82560 )
2021-05-22 15:54:03 -07:00