Skip to content

package:camera_android:0.10.8 breaks framework tests #126710

@christopherfujino

Description

@christopherfujino

I believe the change for this happened in https://github.com/flutter/packages/pull/3822/files#diff-2d52b2f7f5cade86264e5d4a9e40b52a90d78eef1b38af8914c90a822d238bd1

Here is an example integration test that failed: https://logs.chromium.org/logs/flutter/buildbucket/cr-buildbucket/8781280338522918225/+/u/run_test.dart_for_tool_integration_tests_shard_and_subshard_2_4/test_stdout

[+2499 ms] Compiling build file '/b/s/w/ir/x/w/.pub-cache/hosted/pub.dev/camera_android-0.10.8/android/build.gradle' using BuildScriptTransformer.
[ +299 ms] Creating configuration androidTestUtil
[        ] Warning: The plugin camera_android requires Android SDK version 33.
[        ] For more information about build configuration, see https://docs.flutter.dev/deployment/android#reviewing-the-gradle-build-configuration.
[   +1 ms] Deprecated Gradle features were used in this build, making it incompatible with Gradle 8.0.
[        ] You can use '--warning-mode all' to show the individual deprecation warnings and determine if they come from your own scripts or plugins.
[        ] See https://docs.gradle.org/7.6.1/userguide/command_line_interface.html#sec:command_line_warnings
[ +491 ms] Running Gradle task 'assembleDebug'... (completed in 80.5s)
[   +3 ms] "flutter apk" took 81,025ms.
[  +13 ms] ensureAnalyticsSent: 0ms
[        ] Running 0 shutdown hooks
[        ] Shutdown hooks complete
[   +3 ms] exiting with code 1

[ +100 ms] FAILURE: Build failed with an exception.
[   +2 ms] * Where:
[        ] Build file '/b/s/w/ir/x/w/.pub-cache/hosted/pub.dev/camera_android-0.10.8/android/build.gradle' line: 52
[        ] * What went wrong:
[        ] A problem occurred evaluating project ':camera_android'.
[        ] > Could not set unknown property 'baseline' for task ':camera_android:lint' of type com.android.build.gradle.tasks.LintGlobalTask.

In the pub roll #126367

I am going to temporarily pin this package to un-block the roll.

Metadata

Metadata

Labels

platform-androidAndroid applications specificallytoolAffects the "flutter" command-line tool. See also t: labels.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions