Hello Guys, How are you all? Hope You all Are Fine. Today I am just trying to run my flutter app in android studio but I am facing following error Could not open settings generic class cache for settings file in flutter. So Here I am Explain to you all the possible solutions here.
Without wasting your time, Let’s start This Article to Solve This Error.
How Could not open settings generic class cache for settings file Error Occurs ?
I am just trying to run my flutter app in android studio but I am facing following error.
Could not open settings generic class cache for settings file 'C:\Users\ssc\Airbns\MyProject\android\settings.gradle' (C:\Users\loran.gradle\caches\6.8.2\scripts\4mawlyb2l5e9tefyvnpxva1kg).
How To Solve Could not open settings generic class cache for settings file Error ?
- How To Solve Could not open settings generic class cache for settings file Error ?
To Solve Could not open settings generic class cache for settings file Error If You are using java 12, 13 Or Any Version execpt Java 8 Then You just have to unistall java and reinstall java 8 version. By using java 8 will solve this error. Second solution is Here Java JDK 16 is the one that seems to lead to this issue try downgrading by downloading a lower version of JDK preferable JDK 8 or 11.
- Could not open settings generic class cache for settings file
To Solve Could not open settings generic class cache for settings file Error If You are using java 12, 13 Or Any Version execpt Java 8 Then You just have to unistall java and reinstall java 8 version. By using java 8 will solve this error. Second solution is Here Java JDK 16 is the one that seems to lead to this issue try downgrading by downloading a lower version of JDK preferable JDK 8 or 11.
Solution 1: Just install Java 8 Instead of whatever You are using
If You are using java 12, 13 Or Any Version execpt Java 8 Then You just have to unistall java and reinstall java 8 version. By using java 8 will solve this error.
Solution 2: Downgrade Java JDK to 8
Here Java JDK 16 is the one that seems to lead to this issue try downgrading by downloading a lower version of JDK preferable JDK 8 or 11.
Summary
It’s all About this issue. Hope all solution helped you a lot. Comment below Your thoughts and your queries. Also, Comment below which solution worked for you?
Also, Read
- Exception in thread “main” java.lang.NoClassDefFoundError: javax/xml/bind/annotation/XmlSchema Flutter
- java.lang.IllegalArgumentException: Component class com.google.android.gms.wallet.ocr.CardRecognitionShimProxyActivity
- xcodebuild: WARNING: Using the first of multiple matching destinations
- Exception in thread “main” java.lang.NoClassDefFoundError: javax/xml/bind/annotation/XmlSchema in flutter
- cmdline-tools component is missing Error in Flutter