java.lang.NoClassDefFoundError AndroidFrameworkDetector
See original GitHub issueWhat happened
Just open intelij Idea on an existing project after I starting my pc…
Version information
IntelliJ IDEA 2020.2.3
• Flutter plugin io.flutter 51.0.3-dev.4
• Dart plugin 202.7319.5
Error getting Flutter sdk information.
Exception
null
java.lang.NoClassDefFoundError: org/jetbrains/android/facet/AndroidFrameworkDetector
at io.flutter.ProjectOpenActivity.excludeAndroidFrameworkDetector(ProjectOpenActivity.java:93)
at io.flutter.ProjectOpenActivity.runActivity(ProjectOpenActivity.java:62)
at com.intellij.ide.startup.impl.StartupManagerImpl.runActivity(StartupManagerImpl.java:300)
at com.intellij.ide.startup.impl.StartupManagerImpl.lambda$runPostStartupActivities$4(StartupManagerImpl.java:226)
at com.intellij.openapi.extensions.impl.ExtensionPointImpl.processWithPluginDescriptor(ExtensionPointImpl.java:298)
at com.intellij.openapi.extensions.ExtensionPointName.processWithPluginDescriptor(ExtensionPointName.java:158)
at com.intellij.ide.startup.impl.StartupManagerImpl.runPostStartupActivities(StartupManagerImpl.java:220)
at com.intellij.openapi.progress.impl.CoreProgressManager.lambda$runProcess$2(CoreProgressManager.java:170)
at com.intellij.openapi.progress.impl.CoreProgressManager.registerIndicatorAndRun(CoreProgressManager.java:629)
at com.intellij.openapi.progress.impl.CoreProgressManager.executeProcessUnderProgress(CoreProgressManager.java:581)
at com.intellij.openapi.progress.impl.ProgressManagerImpl.executeProcessUnderProgress(ProgressManagerImpl.java:60)
at com.intellij.openapi.progress.impl.CoreProgressManager.runProcess(CoreProgressManager.java:157)
at com.intellij.openapi.progress.util.BackgroundTaskUtil.runUnderDisposeAwareIndicator(BackgroundTaskUtil.java:254)
at com.intellij.ide.startup.impl.StartupManagerImpl.lambda$projectOpened$1(StartupManagerImpl.java:154)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
at java.base/java.util.concurrent.Executors$PrivilegedThreadFactory$1$1.run(Executors.java:668)
at java.base/java.util.concurrent.Executors$PrivilegedThreadFactory$1$1.run(Executors.java:665)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.util.concurrent.Executors$PrivilegedThreadFactory$1.run(Executors.java:665)
at java.base/java.lang.Thread.run(Thread.java:834)
Caused by: java.lang.ClassNotFoundException: org.jetbrains.android.facet.AndroidFrameworkDetector PluginClassLoader[PluginDescriptor(name=Flutter, id=io.flutter, path=C:\Users\engue\AppData\Roaming\JetBrains\IntelliJIdea2020.2\plugins\flutter-intellij-kokoro, version=51.0.3-dev.4)] com.intellij.ide.plugins.cl.PluginClassLoader@6be4cf0
at com.intellij.ide.plugins.cl.PluginClassLoader.loadClass(PluginClassLoader.java:95)
at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:522)
... 21 more
Issue Analytics
- State:
- Created 3 years ago
- Comments:6 (1 by maintainers)
Top Results From Across the Web
Failed resolution of: Landroid/support/v4/os/BuildCompat ...
NoClassDefFoundError in Java comes when Java Virtual Machine is not able to find a particular class at runtime which was available at compile...
Read more >NoClassDefFoundError - Android Developers
java.util.concurrent.atomic ... junit.framework ... Public constructors. NoClassDefFoundError(). Constructs a NoClassDefFoundError with no detail message.
Read more >Weird Android junit test failure java.lang.NoClassDefFoundError
Solution · Click File menu. · Click Project Structure. · Click SDK Location in left side navigation. · Set JDK Location to output...
Read more >NoClassDefFoundError - PSPDFKit
If you're getting java.lang.NoClassDefFoundError inside com.android.internal.os.ZygoteInit.main , this usually means the native library couldn't be loaded.
Read more >Error:java.lang.ClassNotFoundException: com.android.tools ...
ClassNotFoundException : com.android.tools.lint.detector.api.Detector$UastScanner thats the error but with a successful apk build.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Seems to be fixed with the new plugin version
It’s an old issue, upgrading intellij with then new version fix the issue.