Closed Jerry202027 closed 5 months ago
I keep encountering this building error
I have tried both version 17 and 1.8 like below in app/build.gradle
none of them works.
Once I remove line sdk in pubspec.yaml, I could build my project successfully with ver 17 and 1.8.
[✓] Flutter (Channel stable, 3.16.9, on macOS 14.4 23E214 darwin-arm64, locale en-TW) • Flutter version 3.16.9 on channel stable at /Users/bowei/fvm/versions/3.7.0 • Upstream repository https://github.com/flutter/flutter.git • Framework revision 41456452f2 (9 weeks ago), 2024-01-25 10:06:23 -0800 • Engine revision f40e976bed • Dart version 3.2.6 • DevTools version 2.28.5
[✓] Android toolchain - develop for Android devices (Android SDK version 34.0.0) • Android SDK at /Users/bowei/Library/Android/sdk • Platform android-34, build-tools 34.0.0 • Java binary at: /Applications/Android Studio.app/Contents/jre/Contents/Home/bin/java • Java version OpenJDK Runtime Environment (build 11.0.13+0-b1751.21-8125866) • All Android licenses accepted.
[✓] Xcode - develop for iOS and macOS (Xcode 15.3) • Xcode at /Applications/Xcode.app/Contents/Developer • Build 15E204a • CocoaPods version 1.15.2
[✓] Chrome - develop for the web • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome
[✓] Android Studio (version 2021.3) • Android Studio at /Applications/Android Studio.app/Contents • Flutter plugin can be installed from: 🔨 https://plugins.jetbrains.com/plugin/9212-flutter • Dart plugin can be installed from: 🔨 https://plugins.jetbrains.com/plugin/6351-dart • Java version OpenJDK Runtime Environment (build 11.0.13+0-b1751.21-8125866)
[✓] VS Code (version 1.73.1) • VS Code at /Users/bowei/Desktop/Visual Studio Code.app/Contents • Flutter extension version 3.60.0
⣟[✓] Connected device (3 available) • SM G9960 (mobile) • RFCR1155DYX • android-arm64 • Android 13 (API 33) • macOS (desktop) • macos • darwin-arm64 • macOS 14.4 23E214 darwin-arm64 • Chrome (web) • chrome • web-javascript • Google Chrome 123.0.6312.59
[✓] Network resources • All expected network resources are available.
• No issues found!
Help me please, my boss is gonna kill me...
I keep encountering this building error![Screenshot 2024-03-26 at 6 53 38 PM](https://github.com/line/flutter_line_sdk/assets/66984904/ef3a5150-425c-47a5-a4a5-454407ff3e01)
What did you do?
I have tried both version 17 and 1.8 like below in app/build.gradle![Screenshot 2024-03-26 at 6 48 35 PM](https://github.com/line/flutter_line_sdk/assets/66984904/97ad3ab2-1192-4c5a-b4f7-e907addfb58a)
none of them works.
Once I remove line sdk in pubspec.yaml, I could build my project successfully with ver 17 and 1.8.
Your environment?
[✓] Flutter (Channel stable, 3.16.9, on macOS 14.4 23E214 darwin-arm64, locale en-TW) • Flutter version 3.16.9 on channel stable at /Users/bowei/fvm/versions/3.7.0 • Upstream repository https://github.com/flutter/flutter.git • Framework revision 41456452f2 (9 weeks ago), 2024-01-25 10:06:23 -0800 • Engine revision f40e976bed • Dart version 3.2.6 • DevTools version 2.28.5
[✓] Android toolchain - develop for Android devices (Android SDK version 34.0.0) • Android SDK at /Users/bowei/Library/Android/sdk • Platform android-34, build-tools 34.0.0 • Java binary at: /Applications/Android Studio.app/Contents/jre/Contents/Home/bin/java • Java version OpenJDK Runtime Environment (build 11.0.13+0-b1751.21-8125866) • All Android licenses accepted.
[✓] Xcode - develop for iOS and macOS (Xcode 15.3) • Xcode at /Applications/Xcode.app/Contents/Developer • Build 15E204a • CocoaPods version 1.15.2
[✓] Chrome - develop for the web • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome
[✓] Android Studio (version 2021.3) • Android Studio at /Applications/Android Studio.app/Contents • Flutter plugin can be installed from: 🔨 https://plugins.jetbrains.com/plugin/9212-flutter • Dart plugin can be installed from: 🔨 https://plugins.jetbrains.com/plugin/6351-dart • Java version OpenJDK Runtime Environment (build 11.0.13+0-b1751.21-8125866)
[✓] VS Code (version 1.73.1) • VS Code at /Users/bowei/Desktop/Visual Studio Code.app/Contents • Flutter extension version 3.60.0
⣟[✓] Connected device (3 available) • SM G9960 (mobile) • RFCR1155DYX • android-arm64 • Android 13 (API 33) • macOS (desktop) • macos • darwin-arm64 • macOS 14.4 23E214 darwin-arm64 • Chrome (web) • chrome • web-javascript • Google Chrome 123.0.6312.59
[✓] Network resources • All expected network resources are available.
• No issues found!
Help me please, my boss is gonna kill me...