Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

A problem occurred configuring project ':sms_autofill'. #210

Open
Jules369-ZM opened this issue Nov 13, 2023 · 1 comment
Open

A problem occurred configuring project ':sms_autofill'. #210

Jules369-ZM opened this issue Nov 13, 2023 · 1 comment

Comments

@Jules369-ZM
Copy link

Jules369-ZM commented Nov 13, 2023

FAILURE: Build failed with an exception.

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

Could not create an instance of type com.android.build.api.variant.impl.LibraryVariantBuilderImpl.
Namespace not specified. Specify a namespace in the module's build file. See https://d.android.com/r/tools/upgrade-assistant/set-namespace for information about setting the namespace.

steps to reproduce this
pubspec.yaml

environment:
sdk: ">=3.1.2<4.0.0"

dependencies:
action_slider: ^0.7.0
audioplayers: ^5.2.0
auto_size_text: ^3.0.0
avatar_glow: ^2.0.2
bloc: ^8.1.2
country_pickers: ^2.0.0
dio: ^5.3.3
dotted_border: ^2.1.0
equatable: ^2.0.5
file_picker: ^6.0.0
firebase_analytics: ^10.5.1
firebase_core: ^2.17.0
firebase_crashlytics: ^3.3.7
firebase_messaging: ^14.6.9
firebase_remote_config: ^4.3.2
fl_chart: ^0.64.0
flutter:
sdk: flutter
flutter_background_service: ^5.0.0
flutter_background_service_android: ^6.0.1
flutter_bloc: ^8.1.3
flutter_countdown_timer: ^4.1.0
flutter_local_notifications: ^16.1.0
flutter_localizations:
sdk: flutter
flutter_polyline_points_plus: ^3.0.0
flutter_pw_validator: ^1.6.0
flutter_svg: ^2.0.7
flutter_volume_controller: ^1.3.1
font_awesome_flutter: ^10.6.0
geocoding: ^2.1.1
geolocator: ^10.1.0
google_fonts: ^6.1.0
google_maps_flutter: ^2.5.0
google_maps_flutter_android: ^2.5.3
image_picker: ^1.0.4
in_app_review: ^2.0.6
intl: ^0.18.1
location: ^5.0.3
package_info_plus: ^4.1.0
permission_handler: ^11.0.1
phone_numbers_parser: ^8.0.0
pinput: ^3.0.1
rxdart: ^0.27.7
share_plus: ^7.1.0
sms_autofill: ^2.3.0
url_launcher: ^6.1.14
vibration: ^1.8.3

dev_dependencies:
bloc_test: ^9.1.5
flutter_test:
sdk: flutter
mocktail: ^1.0.1
very_good_analysis: ^5.1.0

flutter:
uses-material-design: true
generate: true

app/build.gradle

minSdkVersion 21
compileSdkVersion 34

project/build.gradle

ext.kotlin_version = '1.9.20'
classpath 'com.android.tools.build:gradle:8.1.0'

gradle-wrapper.properties

#Fri Jun 23 08:50:38 CEST 2017
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
#distributionUrl=https://services.gradle.org/distributions/gradle-7.5-all.zip
distributionUrl=https://services.gradle.org/distributions/gradle-8.4-all.zip

it is able to run in debug mode but gives the above errors in release mode

@denniksam
Copy link

Got the same after changing Graddle tools to 8.x.x
With 7.x.x no problems

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants