Closed a1573595 closed 1 month ago
@YkSix Could you take a look at this when you have a chance? Thanks!
@a1573595 , Thanks for reporting it. Please try the following approach and see if it works for you. Thanks.
android.defaults.buildfeatures.buildconfig=true
if it's missingFor example:
@a1573595 , Thanks for reporting it. Please try the following approach and see if it works for you. Thanks.
- File: ${app_project}/android/gradle.properties
- Please add
android.defaults.buildfeatures.buildconfig=true
if it's missingFor example:
It can be compiled, thank you.
What did you do?
Just import in my Flutter pubspec.yaml and update Android minSdk to 24.
What did you expect?
Compile Success.
What happened actually?
Your environment?
flutter_line_sdk: ^2.3.8 Android Gradle: gradle-8.4-all
[✓] Flutter (Channel stable, 3.24.3, on macOS 14.7 23H124 darwin-arm64, locale zh-Hant-TW) [✓] Android toolchain - develop for Android devices (Android SDK version 35.0.0) [✓] Xcode - develop for iOS and macOS (Xcode 16.0) [✓] Android Studio (version 2024.1) [✓] Network resources
• No issues found!
Sample project
Use Flutter 3.24.3 to create a new Flutter project(Gradle 8) and import flutter_line_sdk, even the default counter cannot be compiled, in gradle-7.6.3-all work well.