g123k / flutter_app_badger

Support to update the app badge on the launcher (both for Android and iOS)
https://pub.dev/packages/flutter_app_badger
Apache License 2.0
308 stars 161 forks source link

build release apk error #20

Closed Dorbmon closed 4 years ago

Dorbmon commented 4 years ago

I use flutter_app_badger: ^1.1.2. I got this error when I build release apk:

FAILURE: Build failed with an exception.

  • What went wrong: Task 'assembleAarRelease' not found in root project 'flutter_app_badger'.

  • Try: Run gradlew tasks to get a list of available tasks. 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 1s

The plugin flutter_app_badger could not be built due to the issue above.

Dorbmon commented 4 years ago

And this is my pubspec.yml

  shared_preferences: ^0.5.1
  open_file: ^3.0.1
  quick_actions: ^0.4.0+2
  community_material_icon: ^3.5.95
  flutter_weather_icons: ^1.0.2
  weather_icons: ^2.0.0
  dio: 3.0.8
  flutter_markdown: ^0.3.3
  image_picker: ^0.6.3+1
  provider: ^4.0.4
  url_launcher: ^5.4.1
  toast: ^0.1.5
  pull_to_refresh: ^1.5.7
  path_provider: ^1.6.5
  permission_handler: '^4.2.0+hotfix.3'
  webview_flutter: ^0.3.19+7
  r_calendar: ^0.1.6
  flutter_app_badger: ^1.1.2
  badges: ^1.1.0
  flutter_html: ^0.11.1
  markdown: ^2.1.3
  flutter_local_notifications: ^1.2.0+3
  local_auth: ^0.6.1+3
  sliding_up_panel: ^1.0.0
  vibrate: ^0.0.4
  flutter_password_strength: ^0.1.4
  flutter_svg: ^0.17.3+1
  share_extend: "^1.1.1"
  screenshot: ^0.1.1
  pin_input_text_field: ^3.0.1
Dorbmon commented 4 years ago

It is a plugin crash.