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.
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