Reputation: 6073
I have just updated to Android Studio 4.1 Canary 9, but I am getting the following error:
Missing essential plugin:
org.jetbrains.android
Please reinstall Android Studio from scratch.
I've tried reinstalling Android Studio from scratch, as the error says, but nothing changes.
Upvotes: 249
Views: 142206
Reputation: 22138
2023/06 Update
Just delete this file (or delete the last disabled plugin(s) in this file):
C:\Users\%USERNAME%\.AndroidStudio<version>\config\disabled_plugins.txt
If you can't find this address try this on Windows:
C:\Users\%USERNAME%\AppData\Roaming\Google\AndroidStudio<version>\disabled_plugins.txt
If you are using Windows 11 The App data folder is hidden and needs to be prompted(search how to take out the missing app data folder in Windows 11) Then go to the exact location as earlier mentioned and delete that file
Delete or modify this file through this address:
/Users/%USERNAME%/Library/Application Support/Google/AndroidStudio<version>/disabled_plugins.txt
Delete or modify this file through this address:
/home/%USERNAME%/.config/share/Google/AndroidStudio<version>/disabled_plugins.txt
Upvotes: 396
Reputation: 2699
For MAC Monterrey:
rm -rf /Users/[*your_user*]/LibraryApplication\ Support/Google/AndroidStudio2021.3/disabled_plugins.txt
Upvotes: 1
Reputation: 41
the same issue happened for me when i disbaled the Groovy, Kotlen, C and C++ using Android Studio Dolphin 2021.3.1 in windows 10 Enterprise LTSC 64bis, and i have solved the problem by closing Android Studio then deleting the file below:
C:\Users[your user name]\AppData\Roaming\Google\AndroidStudio2021.3\disabled_plugins.txt
then reopening Android Studio, also i did Repair IDE from File menu
Upvotes: 2
Reputation: 348
All answers related with disabled_plugins.txt is right, but it is enough to just delete the line (it is not necessary to delete this file. Thus, previously disabled plugins will remain disabled.)
Upvotes: 3
Reputation: 1219
On Mac OS
~/Library/Application Support/Google/AndroidStudioXXXX.X
disabled_plugins.txt
Upvotes: 111
Reputation: 51
I had the same issue due to disabling the kotlin plugin.
Solution:
C:\Users\username\AppData\Roaming\Google
C:\Users\username\AppData\Local\Google
Delete the entire google folder at these two locations then it will work and This solution works for me.
Upvotes: 2
Reputation: 307
2022 - for MacOs Catalina:
Finder / Users / *your_username / Library / Application Support / Google / AndroidStudio20021+ / disable_plugins.txt /
find and delete this line "org.jetbrains.kotlin" or delete the line causing your problem
Upvotes: 14
Reputation: 1387
Ok, none of the above worked for me, and I was actually going quite insane... Until I finally found THIS video:
https://www.youtube.com/watch?v=0MbXG8qwmMA
and realized that I'd been deleting in the WRONG .AndroidStudio directory!! š There is a .AndroidStudio4.0 folder in the path described in other answers here, and I just didn't look carefully enough at the name... Because of course, my Android Studio version is 4.1, not 4.0! š And they've moved those files to a different location, which is probably why this problem arises in the first place...
So my correct location of the error-causing file is now:
C:\Users\...\AppData\Roaming\Google\AndroidStudio4.1\disabled_plugins.txt
Try it, or otherwise just look for a folder with the correct version name in it, or just search your entire user directory for the file name! My Android Studio works again now! š
Upvotes: 1
Reputation: 6465
On Mac OS
in terminal helped to find bad files find ~/Library -name disabled_plugins.txt
in terminal run rm '/Users/xxxx/Library/Application Support/Google/AndroidStudio2021.2/disabled_plugins.txt'
Delete File
restart Android Studio
Upvotes: 7
Reputation: 159
If you are using JetBrains Tool Box to install just find the disabled_plugins.txt file on the path below: C:\Users[YOUR USERNAME]\AppData\Roaming\Google\AndroidStudio2021.1
Upvotes: 2
Reputation: 667
For Android Studio 4.2+ this happens when you disable the Properties Pluggin or Groovy Plugin, you can remove these entries from the disabled_pluggins.txt. For Windows users the file is located at:
C:\Users\{username}\AppData\Roaming\Google\AndroidStudioPreview4.X\disabled_plugins.txt
Provide your username in the {username} field in the above address, alternatively, you could just delete this file as the other answers mention!
Upvotes: 3
Reputation: 562
Got to C:Drive and delete disabled_plugins.txt file
C:\Users\YourUserName\AppData\Roaming\Google\AndroidStudioVersion\disabled_plugins.txt
If you don't find watch this video https://youtu.be/sMzAw6xaiZU that I made.
Upvotes: 8
Reputation: 135
In mac os use Cmd+Shift+. to show hidden files and when find disabled_plugins.txt
Upvotes: 2
Reputation: 634
For MacOS BigSur
Root/Users/{your_user}/Library/Application Support/Google/AndroidStudio{version}/disabled_plugins.txt
Searching for the file won't work.
Gain access to root through Shift+cmd+g
Show hidden files using Shift+cmd+. (Library will most likely be hidden inside your user folder)
Upvotes: 7
Reputation: 143
It seems you disabled your plugins before, so find and edit
disabled_plugins.txt
and delete the plugin you want to enable it.
In windows, the location of file is :
C:\Users\<UserName>\AppData\Roaming\Google\AndroidStudio...
Upvotes: 6
Reputation: 17303
for Android Studio AndroidStudio2020.3
just remove this file:
disabled_plugins.txt
from this path:
C:\Users\YOUR_USERNAME\AppData\Roaming\Google\AndroidStudio2020.3
Upvotes: 3
Reputation: 76679
On Linux, when disabling all plugins, this may happen (Artic Fox). The path is (or may be):
~/.config/Google/AndroidStudio2020.3/disabled_plugins.txt
Commenting out entries with a #
is possible, in order to leave specific plugins disabled.
Upvotes: 11
Reputation: 2314
I found this solution helpful after upgrade to Android Studio Arctic Fox 2020.3.1 Canary 2 from Jetbrains Toolbox.
Navigate to user -> make Library package visible(it's hidden in most cases) -> Application support -> Google -> delete the old directories of android studio
Upvotes: -1
Reputation: 132
Library -> Application support -> Google -> AndroidStudio4.2 -> disabled_plugins.txt
For MAC Mojave
Upvotes: 7
Reputation: 5865
For me, it happened because I disabled JUnit. You should not disable basic android studio plugins.
so remove those plugins from disabled_plugins.txt under the following directory for windows
C:\Users\your_user_name\AppData\Roaming\Google\AndroidStudio_your_version\disabled_plugins.txt
and removed basic android plugins names from there.
For me, it was under
C:\Users\mirza\AppData\Roaming\Google\AndroidStudio4.2
If you are not sure how many and which plugin you should remove then do a trial and error method, which mean removing one plugin from the file and starting an android studio. Do this until the studio starts without andy error
Upvotes: 0
Reputation: 823
Error Reason: This issue occurs after disablingĀ one or moreĀ plugin (example: Kotlin) from Android Studio 4.xĀ settings (Android Studio -> Preferences ā> Plugins ā> Uncheck the Kotlin plugin -> Apply -> Ok ā> Restart the Android Studio ==> ERROR prompt
Solution (Mac Specific): Remove the ādisabled_plugins.txtā file
Upvotes: 3
Reputation: 499
This issue happens because of two reasons.
Solution is simple.
C:\Users\Numan\AppData\Roaming\Google\AndroidStudio4.1
Just go to the latest Android Studio Version, and find the text document file named as disabled_plugins. Now open it, and delete the lines which you think has been disabled, or otherwise delete the complete disabled_plugins file and open the Android Studio. You can also search disabled_plugins in your C Drive, and one text file will appear in case you're unable to locate it from AppData.
It Works - Cheers !!!
Upvotes: 4
Reputation: 679
Solution is to delete disabled_plugins.txt
.
On Linux, Android Studio 4.1 path is:
~/.config/JetBrains/AndroidStudio4.1
Upvotes: 2
Reputation: 1341
Disabling the Kotlin plugin for Android Studio 4.x causes this problem and you can't open the Android Studio until enable the Kotlin plugin again. To re-enable plugins without opening Android Studio, you can delete or edit the disabled_plugins.txt
file from your Android Studio configuration path.
For Linux distros, the default configuration directory is ~/.config/Google/AndroidStudio4.x/
So deleting disabled_plugins.txt
will enable all of your disabled plugins and solve your problem.
rm ~/.config/Google/AndroidStudio4.1/disabled_plugins.txt
For macOS, the default directory is ~/Library/Application Support/Google/AndroidStudio4.x
rm ~/Library/Application\ Support/Google/AndroidStudio4.1/disabled_plugins.txt
Upvotes: 32
Reputation: 29
I solved it by deleting the files in the following folder:
...\AppData\Roaming\Google\AndroidStudioPreview2020.3\plugins
probably a problem on some plugin, kotlin in my case
Restart android Studio (ArtFox canary version)
Upvotes: 0
Reputation: 2219
It seems there are many sources of this problem. I had the issue with Android Studio 2020.3.1 Canary 5. All was fine using 2020.3.1 Canary 4, despite both using the same configuration files.
In my case the offender was the Kotlin folder located at:
C:\Users<UserName>\AppData\Roaming\Google\AndroidStudioPreview2020.3\plugins
I note an earlier answer has the Kotlin folder at the level where in my case the 'plugins' folder was located. I moved the folder out, started and finally Canary 5 started.
Starting Canary 4 again recreated the folder and reported 'corrupt installation', and made the problem return. But removing the folder again allowed Canary 5 to run again.
Upvotes: -1
Reputation: 1410
Delete disabled_plugins.txt this contains all disabled plugins
Upvotes: 3
Reputation: 3966
This seems to happen when you try to install the provided plugin when upgrading to AS2020.3.1.5. But I can't find the suggested disabled_plugin.xml in the folder C:\Users\[your_name]\AppData\Local\Google\AndroidStudioPreview2020.3
.
Anyhow, I am still able to open the previous 2020.3.1.x version, so it may be stored somewhere else... (since theese two versions are using the same Library/Application Support/ path).
Upvotes: -1
Reputation: 302
in macOS Catalina 10.15, this file can be found at /Users/{your_user_name}/Library/Application Support/Google/AndroidStudio4.1/plugins
Upvotes: 3
Reputation: 89
You can also try the following directory:
Upvotes: 1