jaumard / sms_autofill

Flutter plugin to provide SMS code autofill support
MIT License
293 stars 188 forks source link

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

Open Jules369-ZM opened 1 year ago

Jules369-ZM commented 1 year ago

FAILURE: Build failed with an exception.

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 commented 10 months ago

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