Skip to content

flutter->plugins roller is blocked on build-all-plugins Android error #101377

@stuartmorgan-g

Description

@stuartmorgan-g

Starting about 6 days ago—I believe with #99723 but haven't fully bisected to see if it was broken before that (it certainly is broken at that commit, and worked earlier that day, and that's the most obvious candidate for changing the behavior of build-all-plugins since it uses the template)—the flutter->plugins roller started failing build-all-plugins persistently on Android:

/tmp/cirrus-ci-build/all_plugins/android/app/src/debug/AndroidManifest.xml:27:9-33:20 Error:
	android:exported needs to be explicitly specified for element <activity#androidx.test.core.app.InstrumentationActivityInvoker$EmptyActivity>. Apps targeting Android 12 and higher are required to specify an explicit value for `android:exported` when the corresponding component has an intent filter defined. See https://developer.android.com/guide/topics/manifest/activity-element#exported for details.
/tmp/cirrus-ci-build/all_plugins/android/app/src/debug/AndroidManifest.xml:34:9-40:20 Error:
	android:exported needs to be explicitly specified for element <activity#androidx.test.core.app.InstrumentationActivityInvoker$EmptyFloatingActivity>. Apps targeting Android 12 and higher are required to specify an explicit value for `android:exported` when the corresponding component has an intent filter defined. See https://developer.android.com/guide/topics/manifest/activity-element#exported for details.
FAILURE: Build failed with an exception.

It looks like this is an issue with an upstream dependency that we just haven't rolled recently enough to get the fix: android/android-test#896

Metadata

Metadata

Labels

P1High-priority issues at the top of the work listc: contributor-productivityTeam-specific productivity, code health, technical debt.packageflutter/packages repository. See also p: labels.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions