Android Studio and Flutter(VSCode) show the same problem sun.security.ec.ECKeyPairGenerator.isCurveSupported([B)Z - android-studio

Im currently developing an android app with flutter using VScode. So this problem happened after i update my windows from 1903 to 1909 yesterday. I tried to run and debug my app in vscode it shows:
"sun.security.ec.ECKeyPairGenerator.isCurveSupported([B)Z".
the same thing happen with Android Studio when im trying to test my code. Even the gradle sync in android studio failed with the same message (see the image below):
Error screenshot

Related

flutter error in running app in andriod studio

I have installed Android studio with the latest Jdk version and flutter SDK and configured it to my studio by installing flutter and dart plugin but when I run the sample code it doesn't run properly and shows some errors.
I am a newbie to programming so plz tell me solution how to fix that error and I also attached a screenshot of that error here

Android Studio not showing Chrome as Flutter device

I got a small problem which accured after reinstalling Android Studio:
Android Studio
Android Studio is not showing Chrome as Device for my Flutter Web project, while flutter doctor shows clearly everything is enabled correctly:
Flutter doctor
I can normally run the flutter project on google chrome using the console or VS Code, but Android Studio does not work. I already checked the Flutter and Dart plugin.
I would be glad if someone who maybe had the same issue or knows how to fix this gets back to me!
Best Regards
Clearly it is not the issue with flutter. It is an issue with your Android Studio installation. You can verify the same by navigating to the your project folder in the terminal (or command prompt) and type
flutter run -d Chrome.
NOTE: The above command works only if you are on master, beta or dev branch and you have already enabled your flutter web support by typing
flutter config --enable-web
I noticed that your path to Android Studio as: C:\Program Files\Android\ Android Studio1
It means that during installation the original Android Studio folder is not deleted. A duplicate folder has been created in the same location. Hence the Android sdk location is must be changed as well.
You can solve this by:
Uninstall Android Studio. Delete the folder at the above location. Reinstall Android Studio. Update sdk path in your sdk manager as well as in your environment variable. (recommended).
Update the sdk folder in the sdk manager as well as your environment variables.

Android Studio Error About Gradle And License

I'm using ubuntu and I am coding with flutter in android studio. When my run my first app, android studio give me this error.
I am already tried what error text told me.
Here's the error

Cannot create flutter project or run flutter project in Android studio. (flutter works fine)

I'm getting into flutter so I followed the install doc on the website and had no issue, installed the flutter and dart plug-ins on both Android Studio and Intelli J. The flutter doctor -v command results in the following
But yet when I try to create a new flutter project in Android Studio a folder is created with the project name but it is empty and I get the following in the event button on the welcome screen.
Error creating project
Flutter create command was unsuccessful
So I decided to create the project manually in gitbash where the create command worked perfectly.
I opened the project in Android Studio and discovered another problem even with the emulator running or phone attached the devices section of the run ribbon displays no device and always says loading in the dropdown when clicked.
So again I opened gitbash and in the project root folder type flutter run and the default flutter test app appeared on the emulator.
In Summary, Android studio can open but not create the project nor can it run it but the project can be run from gitbash on the emulator I launched from Android studio.
BTW: IntelliJ has a similar result when creating a project.
I have no idea what was causing the issue but a fresh install of Git seems to have resolved the issues.

Error in Android studio while trying to run Miwok app project

I am trying to learn about multi screen app. So I downloaded Miwok app from github and tried to import it to my android studio; but I get the error message:
The system can't find the file specified. In messages gradle sync of android studio. How to solve this?

Resources