line / flutter_line_sdk

A Flutter plugin that lets developers access LINE's native SDKs in Flutter apps with Dart.
https://developers.line.biz/
Apache License 2.0
213 stars 42 forks source link

Could not find androidx.lifecycle:lifecycle-extensions:2.5.0. #93

Closed amlzq closed 5 months ago

amlzq commented 7 months ago

What did you do?

I depend on flutter_line_sdk: ^2.3.6, and then ran my android app.

What did you expect?

Compiled and passed.

What happened actually?

Build output "Could not find androidx.lifecycle:lifecycle-extensions:2.5.0.".

This is because my app depends on androidx.lifecycle 2.5.0, and line-sdk-android 5.9.1 depends on androidx.lifecycle 2.2.0. According to gradle's rules for resolving dependency conflicts, all androidx.lifecycle artifacts of line-sdk-android 5.9.1 are upgraded to 2.5.0. Unfortunately, starting from androidx.lifecycle 2.3.0, lifecycle-extensions is no longer published, So the above problem occurs.

Your environment?

flutter_line_sdk 2.3.6 androidx.lifecycle 2.5.0