Status Update
Comments
vm...@google.com <vm...@google.com>
vm...@google.com <vm...@google.com> #2
As a workaround I'll suggest to try to delete the AS
Windows: %APPDATA%\Google\AndroidStudio<VERSION>
MacOs: ~/Library/Application\ Support/Google/AndroidStudio<VERSION>
Linux: ~/.config/Google/AndroidStudio<VERSION>
gh...@google.com <gh...@google.com> #3
A more targeted workaround is to delete just the disabled_plugins.txt
file under the configuration directory; see
gh...@google.com <gh...@google.com> #4
Renaud, FYI this issue is no longer expected to be related to the Kotlin plugin in the common case, because ag/24807254 ensures the Kotlin IDE plugin stays enabled.
These reports seem a lot more common than usual recently, we should figure out why.
Meanwhile, the upstream "root cause" bug is still open:
gh...@google.com <gh...@google.com> #5
For reference, here are the plugins currently required by the Android plugin:
com.android.tools.idea.smali
com.intellij.gradle
com.intellij.properties
intellij.webp
JUnit
org.intellij.groovy
org.intellij.intelliLang
org.jetbrains.kotlin
org.jetbrains.plugins.gradle
org.toml.lang
Disabling any of these plugin may break Android Startup startup.
JetBrains has the same problem in PyCharm (
gh...@google.com <gh...@google.com> #6
Starting in Ladybug.2 Canary4, this problem will be mitigated in two ways:
- All dependencies of the Android plugin will be marked 'essential', meaning they cannot be disabled.
- As a last resort, if the IDE fails to start due to "missing essential plugins", the list of disabled plugins will be cleared automatically.
We may try to backport mitigation #2 into Ladybug.1 Patch 1 as well.
In the meantime, for older versions, the easiest workaround is to delete
an...@google.com <an...@google.com> #7
Thank you for your patience while our engineering team worked to resolve this issue. A fix for this issue is now available in:
- Android Studio Ladybug Feature Drop | 2024.2.2 Canary 4
- Android Gradle Plugin 8.8.0-alpha04
We encourage you to try the latest update.
If you notice further issues or have questions, please file a new bug report.
Thank you for taking the time to submit feedback — we really appreciate it!
an...@google.com <an...@google.com> #8
The fixes for this issue are now also available in:
- Android Studio Ladybug | 2024.2.1 Patch 1
- Android Gradle Plugin 8.7.1
We encourage you to try the latest update.
If you notice further issues or have questions, please file a new bug report.
Description
STEPS TO REPRODUCE:
1. Install Android Studio
2. Deactivate a couple plugging (groovey, gitlab, copyright, ...)
3. When prompted to restart, it does not. Program doe4s not open anymore.
4. Reinstall program, same error.
5. Eliminate manually android folder in windows, and .gradle. Reinstall, still same error.
6. Can no longer work, I will have to ask for a new clean windows install.
ATTACH SCREENSHOTS/RECORDINGS OF THE ISSUE
Internal error. Please refer to
com.intellij.ide.plugins.EssentialPluginMissingException: Missing essential plugins: com.android.tools.design, org.jetbrains.android
at com.intellij.ide.plugins.PluginManagerCore.checkEssentialPluginsAreAvailable(PluginManagerCore.kt:577)
at com.intellij.ide.plugins.PluginManagerCore.initializePlugins(PluginManagerCore.kt:644)
at com.intellij.ide.plugins.PluginManagerCore$initializeAndSetPlugins$2.invokeSuspend(PluginManagerCore.kt:830)
at com.intellij.ide.plugins.PluginManagerCore$initializeAndSetPlugins$2.invoke(PluginManagerCore.kt)
at com.intellij.ide.plugins.PluginManagerCore$initializeAndSetPlugins$2.invoke(PluginManagerCore.kt)
at kotlinx.coroutines.intrinsics.UndispatchedKt.startUndispatchedOrReturn(Undispatched.kt:78)
at kotlinx.coroutines.BuildersKt__Builders_commonKt.withContext(Builders.common.kt:167)
at kotlinx.coroutines.BuildersKt.withContext(Unknown Source)
at com.intellij.platform.diagnostic.telemetry.impl.TracerKt.span(tracer.kt:56)
at com.intellij.idea.Main$startApp$2$1$1.span(Main.kt:92)
at com.intellij.diagnostic.CoroutineTracerShim.span$default(CoroutineTracerShim.kt:31)
at com.intellij.ide.plugins.PluginManagerCore.initializeAndSetPlugins$intellij_platform_core_impl(PluginManagerCore.kt:829)
at com.intellij.ide.plugins.PluginDescriptorLoader$scheduleLoading$pluginSetDeferred$1.invokeSuspend(PluginDescriptorLoader.kt:377)
at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:108)
at kotlinx.coroutines.scheduling.CoroutineScheduler.runSafely(CoroutineScheduler.kt:584)
at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.executeTask(CoroutineScheduler.kt:793)
at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.runWorker(CoroutineScheduler.kt:697)
at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run(CoroutineScheduler.kt:684)
-----
Your JRE: 17.0.11+0--11852314 amd64 (JetBrains s.r.o.)
C:\Program Files\Android\Android Studio\jbr
------------------
IMPORTANT: Please read
all required information.
------------------
Studio Build: Latest 24.1.21.2
Version of Gradle Plugin:
Version of Gradle:
Version of Java:
OS: windows 11