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
Thanks for the feedback! If your issue is related to the Flutter framework itself,
please open an issue at github.com/flutter/flutter.
Steps to Reproduce
Please tell us what you were doing and what went wrong
Version info
Please paste the output of running flutter doctor -v here (available from the command
line or from Tools > Flutter > Flutter Doctor). It will provide the version of the
Flutter framework as well as of the IntelliJ plugin.
Packages are not working in the new version of Android Studio and the app is not running in emulator and other device. It was working properly in the old version of Android Studio but in new version https://pub.dev/ (package ) he is not working
Launching lib/main.dart on sdk gphone64 x86 64 in debug mode...
Running Gradle task 'assembleDebug'...
Picked up _JAVA_OPTIONS: -Dawt.useSystemAAFontSettings=on -Dswing.aatext=true
warning: [options] source value 8 is obsolete and will be removed in a future release
warning: [options] target value 8 is obsolete and will be removed in a future release
warning: [options] To suppress warnings about obsolete options, use -Xlint:-options.
3 warnings
Picked up _JAVA_OPTIONS: -Dawt.useSystemAAFontSettings=on -Dswing.aatext=true
Picked up _JAVA_OPTIONS: -Dawt.useSystemAAFontSettings=on -Dswing.aatext=true
Picked up _JAVA_OPTIONS: -Dawt.useSystemAAFontSettings=on -Dswing.aatext=true
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: /home/prafulpatnecha/Android/Sdk/platforms/android-34/core-for-system-modules.jar.
> Error while executing process /usr/local/android-studio/jbr/bin/jlink with arguments {--module-path /home/prafulpatnecha/.gradle/caches/transforms-3/4a46fc89ed5f9adfe3afebf74eb8bfeb/transformed/output/temp/jmod --add-modules java.base --output /home/prafulpatnecha/.gradle/caches/transforms-3/4a46fc89ed5f9adfe3afebf74eb8bfeb/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 5s
Error: Gradle task assembleDebug failed with exit code 1
The text was updated successfully, but these errors were encountered:
I regularly encounter such issues. Often solved it for me, opening the android folder (File→Open..→android) as a separate project. Probably not necessary: I regularly update to newer Android Gradle plugin version, when recommended in that view.
Then using the project structure dialog, but only for the “app”, did set the SDK to 34 in my case and the tool's entry to the fitting version 34.0.0, Source comp rests in 1.8. Did not touch the other modules like path_provider_android. Then positioned the cursor on app in project view. Did Go to Build→Make Module 'android.app'. I played around with the errors until it build successfully.
Thanks for the feedback! If your issue is related to the Flutter framework itself,
please open an issue at
github.com/flutter/flutter.
Steps to Reproduce
Please tell us what you were doing and what went wrong
Version info
Please paste the output of running
flutter doctor -v
here (available from the commandline or from
Tools > Flutter > Flutter Doctor
). It will provide the version of theFlutter framework as well as of the IntelliJ plugin.
Packages are not working in the new version of Android Studio and the app is not running in emulator and other device. It was working properly in the old version of Android Studio but in new version https://pub.dev/ (package ) he is not working
Launching lib/main.dart on sdk gphone64 x86 64 in debug mode...
Running Gradle task 'assembleDebug'...
Picked up _JAVA_OPTIONS: -Dawt.useSystemAAFontSettings=on -Dswing.aatext=true
warning: [options] source value 8 is obsolete and will be removed in a future release
warning: [options] target value 8 is obsolete and will be removed in a future release
warning: [options] To suppress warnings about obsolete options, use -Xlint:-options.
3 warnings
Picked up _JAVA_OPTIONS: -Dawt.useSystemAAFontSettings=on -Dswing.aatext=true
Picked up _JAVA_OPTIONS: -Dawt.useSystemAAFontSettings=on -Dswing.aatext=true
Picked up _JAVA_OPTIONS: -Dawt.useSystemAAFontSettings=on -Dswing.aatext=true
FAILURE: Build failed with an exception.
Execution failed for task ':path_provider_android:compileDebugJavaWithJavac'.
BUILD FAILED in 5s
Error: Gradle task assembleDebug failed with exit code 1
The text was updated successfully, but these errors were encountered: