flutter_google_ml_vision icon indicating copy to clipboard operation
flutter_google_ml_vision copied to clipboard

defaultConfig contains custom BuildConfig fields, but the feature is disabled.

Open apoorvpandey opened this issue 10 months ago • 0 comments

Build logs: Resolving dependencies... Downloading packages... async 2.11.0 (2.13.0 available) boolean_selector 2.1.1 (2.1.2 available) characters 1.3.0 (1.4.0 available) clock 1.1.1 (1.1.2 available) collection 1.19.0 (1.19.1 available) fake_async 1.3.1 (1.3.3 available) leak_tracker 10.0.7 (10.0.9 available) leak_tracker_flutter_testing 3.0.8 (3.0.9 available) matcher 0.12.16+1 (0.12.17 available) material_color_utilities 0.11.1 (0.12.0 available) meta 1.15.0 (1.16.0 available) path 1.9.0 (1.9.1 available) source_span 1.10.0 (1.10.1 available) stack_trace 1.12.0 (1.12.1 available) stream_channel 2.1.2 (2.1.4 available) string_scanner 1.3.0 (1.4.1 available) term_glyph 1.2.1 (1.2.2 available) test_api 0.7.3 (0.7.4 available) vm_service 14.3.0 (15.0.0 available) Got dependencies! 19 packages have newer versions incompatible with dependency constraints. Try flutter pub outdated for more information. Launching lib/main.dart on Pixel 4a in debug mode... Running Gradle task 'assembleDebug'...

FAILURE: Build failed with an exception.

  • What went wrong: A problem occurred configuring project ':google_ml_vision'.

defaultConfig contains custom BuildConfig fields, but the feature is disabled. To enable the feature, add the following to your module-level build.gradle: android.buildFeatures.buildConfig true

  • Try:

Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights. Get more help at https://help.gradle.org.

BUILD FAILED in 589ms Error: Gradle task assembleDebug failed with exit code 1

Flutter version: Flutter (Channel stable, 3.27.1, on macOS 15.3.1 24D70 darwin-arm64, locale en-US)

apoorvpandey avatar Feb 13 '25 19:02 apoorvpandey