Skip to content
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

Missing essential plugin: org.jetbrains.android #81

Closed
ajcasagrande opened this issue Nov 14, 2020 · 32 comments
Closed

Missing essential plugin: org.jetbrains.android #81

ajcasagrande opened this issue Nov 14, 2020 · 32 comments

Comments

@ajcasagrande
Copy link

ajcasagrande commented Nov 14, 2020

Snap version 4.1.1.0
OS: Ubuntu 18.04

$ snap run android-studio

2020-11-14 09:29:27,296 [    687]   WARN - llij.ide.plugins.PluginManager - Problems found loading plugins:
  The Compose (id=androidx.compose.plugins.idea, path=/snap/android-studio/97/android-studio/plugins/android-compose-ide-plugin) plugin Non-optional dependency plugin org.jetbrains.kotlin is disabled
  The Android (id=org.jetbrains.android, path=/snap/android-studio/97/android-studio/plugins/android) plugin Non-optional dependency plugin org.jetbrains.kotlin is disabled
  The App Links Assistant (id=com.google.urlassistant, path=/snap/android-studio/97/android-studio/plugins/url-assistant) plugin depends on plugin "org.jetbrains.android" that failed to load
  The Test Recorder (id=com.google.gct.test.recorder, path=/snap/android-studio/97/android-studio/plugins/test-recorder) plugin depends on plugin "org.jetbrains.android" that failed to load
  The Firebase Services (id=com.google.services.firebase, path=/snap/android-studio/97/android-studio/plugins/firebase) plugin depends on plugin "org.jetbrains.android" that failed to load
  The Firebase Services (id=com.google.services.firebase, path=/snap/android-studio/97/android-studio/plugins/firebase) plugin requires "Test Recorder" plugin to be enabled
  The Google Developers Samples (id=com.google.cluestick.studioclient, path=/snap/android-studio/97/android-studio/plugins/google-samples) plugin depends on plugin "org.jetbrains.android" that failed to load
  The Firebase App Indexing (id=com.google.appindexing, path=/snap/android-studio/97/android-studio/plugins/google-appindexing) plugin depends on plugin "org.jetbrains.android" that failed to load
  The Firebase App Indexing (id=com.google.appindexing, path=/snap/android-studio/97/android-studio/plugins/google-appindexing) plugin requires "App Links Assistant" plugin to be enabled
  The Android NDK Support (id=com.android.tools.ndk, path=/snap/android-studio/97/android-studio/plugins/android-ndk) plugin depends on plugin "org.jetbrains.android" that failed to load
  The Android APK Support (id=com.android.tools.apk, path=/snap/android-studio/97/android-studio/plugins/android-apk) plugin depends on plugin "org.jetbrains.android" that failed to load
  The Android APK Support (id=com.android.tools.apk, path=/snap/android-studio/97/android-studio/plugins/android-apk) plugin requires "Android NDK Support" plugin to be enabled
  The Firebase Testing (id=com.google.gct.testing, path=/snap/android-studio/97/android-studio/plugins/firebase-testing) plugin depends on plugin "org.jetbrains.android" that failed to load
  The Google Cloud Tools For Android Studio (id=com.google.gct, path=/snap/android-studio/97/android-studio/plugins/google-cloud-tools-as) plugin depends on plugin "org.jetbrains.android" that failed to load 
2020-11-14 09:29:27,312 [    703]  ERROR - llij.ide.plugins.PluginManager - Missing essential plugins: org.jetbrains.android 
com.intellij.ide.plugins.PluginManagerCore$EssentialPluginMissingException: Missing essential plugins: org.jetbrains.android
	at com.intellij.ide.plugins.PluginManagerCore.checkEssentialPluginsAreAvailable(PluginManagerCore.java:1638)
	at com.intellij.ide.plugins.PluginManagerCore.initializePlugins(PluginManagerCore.java:1695)
	at com.intellij.ide.plugins.PluginManagerCore.loadAndInitializePlugins(PluginManagerCore.java:1917)
	at com.intellij.ide.plugins.PluginManagerCore.lambda$initPlugins$6(PluginManagerCore.java:1319)
	at java.util.concurrent.CompletableFuture.uniApply(CompletableFuture.java:616)
	at java.util.concurrent.CompletableFuture$UniApply.tryFire(CompletableFuture.java:591)
	at java.util.concurrent.CompletableFuture.postComplete(CompletableFuture.java:488)
	at java.util.concurrent.CompletableFuture$AsyncSupply.run(CompletableFuture.java:1609)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
	at java.lang.Thread.run(Thread.java:748)
2020-11-14 09:29:27,315 [    706]  ERROR - llij.ide.plugins.PluginManager - Android Studio 4.1.1  Build #AI-201.8743.12.41.6953283 
2020-11-14 09:29:27,315 [    706]  ERROR - llij.ide.plugins.PluginManager - JDK: 1.8.0_242-release; VM: OpenJDK 64-Bit Server VM; Vendor: JetBrains s.r.o 
2020-11-14 09:29:27,315 [    706]  ERROR - llij.ide.plugins.PluginManager - OS: Linux 

Corrupted Installation: Missing essential plugin:

  org.jetbrains.android

Please reinstall Android Studio from scratch.

image

@ajcasagrande
Copy link
Author

Apparently this was a system configuration issue. Somehow the kotlin plugin was disabled in my ~/.config/Google/AndroidStudio4.1/disabled_plugins.txt file.

@chetansharma10
Copy link

How can I fix this.

@ajcasagrande
Copy link
Author

How can I fix this.

In my case all I had to do was open the file ~/.config/Google/AndroidStudio4.1/disabled_plugins.txt and delete the line that referenced Kotlin. Note that the file path may be different based on your version of AS.

@chetansharma10
Copy link

chetansharma10 commented Jan 4, 2021 via email

@Sagar-2-99
Copy link

in my mac i haven't found this file so plz help me

@Sagar-2-99
Copy link

Sagar-2-99 commented May 1, 2021 via email

@NunoFernandesofficial
Copy link

in my mac i haven't found this file so plz help me

only way is to reinstall the Big Sur???

@spike
Copy link

spike commented May 18, 2021

in my mac i haven't found this file so plz help me

On a mac, open your finder, type disabled_plugins.txt in the search box of your finder.

On my mine, it was located at MYUSERNAME > Library > Application Support > Google > AndroidStudioxx

Then just remove the line that references org.jetbrains.kotlin

By the way, the Library folder in your home user directory is a hidden folder. If you can't see it in your finder, that's the reason why.

@effiedude
Copy link

Donot deleate or disable any plugin that installed by studio

@simarjeet30
Copy link

I am getting this error even after so many reinstallations from scratch .I even deleted disable_plugin.txt file ,but still getting the same error .If anyone knows about it ,Please respond.
image

@chetansharma10
Copy link

chetansharma10 commented Aug 19, 2021 via email

@simarjeet30
Copy link

Okay thanks

@erperejildo
Copy link

erperejildo commented Aug 29, 2021

I don't have any Google folder within .config

@gargbindu
Copy link

In case of MacOS, you can find the disabled_plugins file using the command given below.

find ~/Library -name disabled_plugins.txt

In my case next command in terminal helped to find bad files
find ~/Library -name disabled_plugins.txt

I found these files and deleted all of them and fixed the issue.

/Users/ashwanigarg/Library/Application Support/Google/AndroidStudio4.2/disabled_plugins.txt
/Users/ashwanigarg/Library/Application Support/Google/AndroidStudio4.1/disabled_plugins.txt
/Users/ashwanigarg/Library/Application Support/Google/AndroidStudio2020.3/disabled_plugins.txt

@erperejildo
Copy link

erperejildo commented Aug 30, 2021

the trick for me was running mdfind disabled_plugins.txt on MacOS

@om26er
Copy link
Member

om26er commented Aug 30, 2021

On Linux, please try if deleting ~/.config/Google/AndroidStudio* works

@harsh0035
Copy link

only search your pc disabled_plugins.txt and open file location then disabled_plugins.txt delete

@roterobben
Copy link

On Linux, please try if deleting ~/.config/Google/AndroidStudio* works

YEAH that's it => worked great on Ubuntu THANKS

@snapcrafters snapcrafters deleted a comment from islamideveloper Nov 24, 2021
@Kronos-2701
Copy link

the trick for me was running mdfind disabled_plugins.txt on MacOS

Hey , can't find anything like that in M1 Mac .

Help Pls.

@Link8636
Copy link

Link8636 commented Jan 6, 2022

Can't find disabled_plugins.txt on Windows 10

@suyash-purwar
Copy link

For Windows 10/11
Delete this file
C:\Users\YourUserName\AppData\Roaming\Google\AndroidStudioPreview4.X\disabled_plugins.txt

Worked fine for me!

@Gurukorgi
Copy link

mine is throwing a whole bunch of errors as follows
missing essetial plugins
com.android.tools.design
com.intelij.java
com.intelij.java,ide
org.jetbrains.android

@semedo-nob
Copy link

android studio st can someone give me a little help here

@Maxidromm
Copy link

Have the same issue, any help please ?
studio eror

@semedo-nob
Copy link

semedo-nob commented Oct 24, 2023 via email

@Maxidromm
Copy link

Will try now, thanks !

@Maxidromm
Copy link

Maxidromm commented Oct 24, 2023

It works yeah 👍🏻, Thank you !!!

@semedo-nob
Copy link

semedo-nob commented Oct 24, 2023 via email

@Agetachew1
Copy link

I disabled koltlin in order to have java as a default but it gave me the same error that you see above.

  1. naviate to your plugins:
    cd ~/Library/Application\ Support/Google/AndroidStudio2022.3/plugins
    If you don't see Kotlin as a plugin then you need to go to jetBrains Plugin and download it and once you extract it drag and drop it in the current plugins folder. It doesn't matter if it is comparable.
  2. try opening it again if it is not working then. run this code.
    bash
    rm -rf /Users/gabenezer/Library/Preferences/Google/AndroidStudio*
    rm -rf /Users/gabenezer/Library/Preferences/com.google.android.studio.plist
    rm -rf /Users/gabenezer/Library/Application\ Support/Google/AndroidStudio*
    rm -rf /Users/gabenezer/Library/Caches/Google/AndroidStudio*
    rm -rf /Users/gabenezer/Library/Logs/Google/AndroidStudio*

then try opening it again.
This worked for me.

@semedo-nob
Copy link

semedo-nob commented Oct 29, 2023 via email

@semedo-nob
Copy link

semedo-nob commented Jan 3, 2024 via email

@cuishuang
Copy link

cuishuang commented Feb 29, 2024

Mac OS:

cd /Users/xxxxx/Library/Application\ Support/JetBrains/

rm -rf XXXXX

reinstall

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests