-
Notifications
You must be signed in to change notification settings - Fork 319
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
Facing the issue in new version of android studio (Android Studio Ladybug | 2024.2.1 Patch 1) #7725
Comments
I have the exact same error |
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. |
The same issue, after migrating a flutter flow application fully completed, the new Android studio LadyBug patch2 presents the same problem, incompatibilities, and griddle issues. |
android studio prefect solution step -> 1 android/gradle/wrapper/gradle-wrapper.properties -> distributionUrl=https://services.gradle.org/distributions/gradle-8.4-all.zip stap -> 2 android/settings.gradle -> plugins { step -> 3 \android\app\build.gradle .... |
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: