You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
expected: Install a google font for app_theme from google_fonts
actual result: FAILURE: Build failed with an exception.
Steps to reproduce:
add google_fonts: ^6.2.1 package to pubspec.yaml , click -> Pub get ; to install referenced Package
result: No error reported!
Build & Run the App
ANDROID : Pixel 7 pro API 33 Emulator
result:
FAILURE: Build failed with an exception.
What went wrong:
Execution failed for task ':path_provider_android:compileDebugJavaWithJavac'.
Could not resolve all files for configuration ':path_provider_android:androidJdkImage'.
Failed to transform core-for-system-modules.jar to match attributes {artifactType=_internal_android_jdk_image, org.gradle.libraryelements=jar, org.gradle.usage=java-runtime}.
> Execution failed for JdkImageTransform: /Users/mark/Library/Android/sdk/platforms/android-34/core-for-system-modules.jar.
> Error while executing process /Applications/Android Studio.app/Contents/jbr/Contents/Home/bin/jlink with arguments {--module-path /Users/mark/.gradle/caches/transforms-3/d9e926982c2c139ff9125eb7b6be4144/transformed/output/temp/jmod --add-modules java.base --output /Users/mark/.gradle/caches/transforms-3/d9e926982c2c139ff9125eb7b6be4144/transformed/output/jdkImage --disable-plugin system-modules}
Try:
Run with --stacktrace option to get the stack trace.
Run with --info or --debug option to get more log output.
Run with --scan to get full insights.
Get more help at https://help.gradle.org.
BUILD FAILED in 2s
Error: Gradle task assembleDebug failed with exit code 1
Build & Run the App
iPhone 16 Pro Max - iOS 18.1
run app success!
NO ERRORS were detected!
Relevant log output
% flutter doctor -v
[✓] Flutter (Channel stable, 3.24.5, on macOS 15.1.1 24B91 darwin-arm64, locale en-US)
• Flutter version 3.24.5 on channel stable at /Users/mark/development/flutter
• Upstream repository https://github.com/flutter/flutter.git
• Framework revision dec2ee5c1f (3 weeks ago), 2024-11-13 11:13:06 -0800
• Engine revision a18df97ca5
• Dart version 3.5.4
• DevTools version 2.37.3
[✓] Android toolchain - develop for Android devices (Android SDK version 35.0.0)
• Android SDK at /Users/mark/Library/Android/sdk
• Platform android-35, build-tools 35.0.0
• ANDROID_HOME = /Users/mark/Library/Android/sdk
• Java binary at: /Applications/Android Studio.app/Contents/jbr/Contents/Home/bin/java
• Java version OpenJDK Runtime Environment (build 21.0.3+-79915917-b509.11)
• All Android licenses accepted.
[✓] Xcode - develop for iOS and macOS (Xcode 16.1)
• Xcode at /Applications/Xcode.app/Contents/Developer
• Build 16B40
• CocoaPods version 1.15.2
[✓] Chrome - develop for the web
• Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome
[✓] Android Studio (version 2024.2)
• 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 21.0.3+-79915917-b509.11)
[✓] VS Code (version 1.93.1)
• VS Code at /Users/mark/Downloads/Visual Studio Code.app/Contents
• Flutter extension version 3.102.0
[✓] Connected device (7 available)
• sdk gphone64 arm64 (mobile) • emulator-5554 • android-arm64 • Android 14 (API 34) (emulator)
• sdk gphone64 arm64 (mobile) • emulator-5556 • android-arm64 • Android 13 (API 33) (emulator)
• Marco ’s iPhone (mobile) • 00008110-000578AE0A60401E • ios • iOS 18.1.1 22B91
• iPhone 16 Pro Max (mobile) • FC531B84-7A4D-4335-B1AF-11D3BEB0E516 • ios • com.apple.CoreSimulator.SimRuntime.iOS-18-1 (simulator)
• macOS (desktop) • macos • darwin-arm64 • macOS 15.1.1 24B91 darwin-arm64
• Mac Designed for iPad (desktop) • mac-designed-for-ipad • darwin • macOS 15.1.1 24B91 darwin-arm64
• Chrome (web) • chrome • web-javascript • Google Chrome 131.0.6778.108
[✓] Network resources
• All expected network resources are available.
• No issues found!
The text was updated successfully, but these errors were encountered:
Package
google_fonts
Existing issue?
What happened?
Expected vs actual result:
expected: Install a google font for app_theme from google_fonts
actual result: FAILURE: Build failed with an exception.
Steps to reproduce:
FAILURE: Build failed with an exception.
Execution failed for task ':path_provider_android:compileDebugJavaWithJavac'.
BUILD FAILED in 2s
Error: Gradle task assembleDebug failed with exit code 1
Relevant log output
The text was updated successfully, but these errors were encountered: