Closed cipchk closed 1 year ago
@plateaukao Can you check this?
Hi @cipchk
The error seems to be that the libraries you used that depend on both kotlin and java version for the viewmodel library. Please try to fix it by adding below config in project level build.gradle
:
configurations {
all {
exclude group: 'androidx.lifecycle', module: 'lifecycle-viewmodel-ktx'
}
}
Since this is more like App itself dependency issue which is not under LINE sdk scope, it might be quicker and easier to find solutions on Internet (for example, stackoverflow). Suggest you to search for solutions first if you meet similar questions too. Thanks.
If you think it’s more of LINE SDK’s issue, please provide sample projects that can reproduce the issue, so that we could feedback to you more quickly.
I have the same problem, but I don't know how to solve it
@cipchk How did you solve this problem
@tsairene answer has solved my problem.
@cipchk Although I can't solve this problem in this way, thank you all the same
Is it a security issue?
If you believe you have discovered a vulnerability or have an issue related to security, please DO NOT open a public issue. Instead, send us a mail to dl_oss_dev@linecorp.com.
What did you do?
What did you expect?
What happened actually?
Your environment?
Flutter 3.3.6 • channel stable • https://github.com/flutter/flutter.git Framework • revision 6928314d50 (2 days ago) • 2022-10-25 16:34:41 -0400 Engine • revision 3ad69d7be3 Tools • Dart 2.18.2 • DevTools 2.15.0
build.gradle
compileSdkVersion 33 minSdkVersion 21 targetSdkVersion 33
Sample project
Steps to reproduce:
flutter build apk