Reland "Bump to AGP 8.1/Gradle 8.3 (almost) everywhere" (#146307)

Relands https://github.com/flutter/flutter/pull/146181.

Just 3 commits:
1. a revert of the revert
2. the fix described in https://github.com/flutter/flutter/pull/146181#issuecomment-2038238869
3. updating two postsubmit tests from Java 11 to 17, as that is required for this new AGP version.

I've verified that `flutter build apk --flavor paid --debug` fails in `dev/integration_tests/flavors/` with the error in ci without (2), and succeeds with it. 

I've also verified that the `dev/benchmarks/complex_layout` app builds successfully with Java 17.

That covers all the postsubmits that failed according [to the dashboard](https://flutter-dashboard.appspot.com/#/build).
This commit is contained in:
Gray Mackall
2024-04-05 12:09:20 -07:00
committed by GitHub
parent 643848aa99
commit 22e0c89f0a
106 changed files with 2391 additions and 2013 deletions

View File

@@ -17,6 +17,7 @@ if (localPropertiesFile.exists()) {
}
android {
namespace = "com.yourcompany.platforminteraction"
compileSdk flutter.compileSdkVersion
compileOptions {

View File

@@ -2,8 +2,7 @@
Use of this source code is governed by a BSD-style license that can be
found in the LICENSE file. -->
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.yourcompany.platforminteraction">
<manifest xmlns:android="http://schemas.android.com/apk/res/android">
<!-- The INTERNET permission is required for development. Specifically,
flutter needs it to communicate with the running application