-
Notifications
You must be signed in to change notification settings - Fork 52
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
During Android build, CMake '3.18.1' was not found in SDK #48
Comments
I'm not gradle professional but in build.gradle, there's an explicit CMake version config. Line 45 in ee3494c
|
On 0.4.31, I removed the version spec. on build.gradle anyway. |
flutter/flutter #75600 seems very similar. |
And, it seems that I can specify CMake version like |
New flutter projects such as pdfrx's example already has the following gradle version. Not affected by the gradle issue anyway.
|
Gradle task assembleAppRelease failed with exit code 1
[CXX1300] CMake '3.18.1' was not found in SDK, PATH, or by cmake.dir property.
[CXX1301] - CMake '3.22.1' found in SDK did not satisfy requested version.
FAILURE: Build failed with an exception.
A problem occurred configuring project ':pdfrx'.
BUILD FAILED in 2s
Running Gradle task 'assemblePadRelease'...
Gradle task assemblePadRelease failed with exit code 1
flutter doctor --verbose
[✓] Flutter (Channel stable, 3.16.5, on macOS 13.4 22F66 darwin-arm64 (Rosetta), locale zh-Hans-CN)
• Flutter version 3.16.5 on channel stable at /Users/spring/flutter
• Upstream repository https://github.com/flutter/flutter.git
• Framework revision 78666c8dc5 (5 weeks ago), 2023-12-19 16:14:14 -0800
• Engine revision 3f3e560236
• Dart version 3.2.3
• DevTools version 2.28.4
• Pub download mirror https://pub.flutter-io.cn
• Flutter download mirror https://storage.flutter-io.cn
The text was updated successfully, but these errors were encountered: