snapcrafters / android-studio

A community-maintained package to easily install Android Studio on Linux
https://developer.android.com/studio/index.html
47 stars 16 forks source link

Missing essential plugin: org.jetbrains.android #81

Closed ajcasagrande closed 3 years ago

ajcasagrande commented 3 years ago

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 commented 3 years ago

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

chetansharma10 commented 3 years ago

How can I fix this.

ajcasagrande commented 3 years ago

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 commented 3 years ago

Thanks On 3 Jan 2021 11:18 pm, "Anthony Casagrande" notifications@github.com wrote:

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.

β€” You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/snapcrafters/android-studio/issues/81#issuecomment-753652462, or unsubscribe https://github.com/notifications/unsubscribe-auth/AO7BC2YMUHT226VGMBZK6LDSYCUX7ANCNFSM4TVUI2RQ .

Sagar-2-99 commented 3 years ago

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

Sagar-2-99 commented 3 years ago

can't we find the location where diable plugin file is located?

NunoFernandesofficial commented 3 years ago

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

only way is to reinstall the Big Sur???

spike commented 3 years ago

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 commented 3 years ago

Donot deleate or disable any plugin that installed by studio

simarjeet30 commented 2 years ago

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 commented 2 years ago

In my case i reinstall my os to fix this.Its very difficult to find the plugin files.

On Tue, Aug 17, 2021, 4:15 PM simarjeet @.***> wrote:

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: image] https://user-images.githubusercontent.com/78863464/129712706-6c0bdbea-7277-4d0d-bd97-bbefb3411848.png

β€” You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/snapcrafters/android-studio/issues/81#issuecomment-900189185, or unsubscribe https://github.com/notifications/unsubscribe-auth/AO7BC2ZOKXY5SKYZF45534LT5I4WJANCNFSM4TVUI2RQ . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&utm_campaign=notification-email .

simarjeet30 commented 2 years ago

Okay thanks

erperejildo commented 2 years ago

I don't have any Google folder within .config

gargbindu commented 2 years ago

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 commented 2 years ago

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

om26er commented 2 years ago

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

harsh0035 commented 2 years ago

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

roterobben commented 2 years ago

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

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

Kronos-2701 commented 2 years ago

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 commented 2 years ago

Can't find disabled_plugins.txt on Windows 10

Suyash-Purwar commented 2 years ago

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

Worked fine for me!

Gurukorgi commented 1 year ago

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 commented 8 months ago
android studio st

can someone give me a little help here

Maxidromm commented 8 months ago

Have the same issue, any help please ? studio eror

semedo-nob commented 8 months ago

Delete all the fragments of the application install a new a but different version of the application

On Tue, Oct 24, 2023, 2:06 PM Maxidromm @.***> wrote:

Have the same issue, any help please ? [image: studio eror] https://user-images.githubusercontent.com/75587678/277638379-4a70c447-4041-4e19-b2eb-551418b0850d.png

β€” Reply to this email directly, view it on GitHub https://github.com/snapcrafters/android-studio/issues/81#issuecomment-1776995527, or unsubscribe https://github.com/notifications/unsubscribe-auth/A7VJPGR4YFXFLNQKJQ2S6Y3YA6OK7AVCNFSM4TVUI2R2U5DIOJSWCZC7NNSXTN2JONZXKZKDN5WW2ZLOOQ5TCNZXGY4TSNJVGI3Q . You are receiving this because you commented.Message ID: @.***>

Maxidromm commented 8 months ago

Will try now, thanks !

Maxidromm commented 8 months ago

It works yeah πŸ‘πŸ», Thank you !!!

semedo-nob commented 8 months ago

Glad to hear it!

On Tue, Oct 24, 2023, 2:35 PM Maxidromm @.***> wrote:

It works yeah πŸ‘πŸ»

β€” Reply to this email directly, view it on GitHub https://github.com/snapcrafters/android-studio/issues/81#issuecomment-1777033165, or unsubscribe https://github.com/notifications/unsubscribe-auth/A7VJPGU3VX3HAMB5BCC4AELYA6RWLAVCNFSM4TVUI2R2U5DIOJSWCZC7NNSXTN2JONZXKZKDN5WW2ZLOOQ5TCNZXG4YDGMZRGY2Q . You are receiving this because you commented.Message ID: @.***>

Agetachew1 commented 8 months ago

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 commented 8 months ago

Delete traces of the android studio application that's currently installed on your PC, uninstall the android studio app, install another version of Android studio,there are different versions from hedgehog, iguana to giraffe

On Sun, Oct 29, 2023, 8:40 PM Abenezer Getachew @.***> wrote:

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.

β€” Reply to this email directly, view it on GitHub https://github.com/snapcrafters/android-studio/issues/81#issuecomment-1784179048, or unsubscribe https://github.com/notifications/unsubscribe-auth/A7VJPGRG5GZHTEMHZKIF2UDYB2IIHAVCNFSM4TVUI2R2U5DIOJSWCZC7NNSXTN2JONZXKZKDN5WW2ZLOOQ5TCNZYGQYTOOJQGQ4A . You are receiving this because you commented.Message ID: @.***>

semedo-nob commented 6 months ago

Uninstall the android studio, delete every file fragments of it in your machine , simply make your machine clear of that android studio version

2.Go to android studio download site there is an archive , choose a different version of Android studio to download ( That was my resolution, I'd appreciate if you've got another)

On Wed, Jan 3, 2024, 11:21 AM keli-spatel @.***> wrote:

nternal error. Please refer to https://code.google.com/p/android/issues

com.intellij.ide.plugins.PluginManagerCore$EssentialPluginMissingException: Missing essential plugins: com.android.tools.design, org.jetbrains.android at com.intellij.ide.plugins.PluginManagerCore.checkEssentialPluginsAreAvailable(PluginManagerCore.java:761) at com.intellij.ide.plugins.PluginManagerCore.initializePlugins(PluginManagerCore.java:854) at com.intellij.ide.plugins.PluginManagerCore.initializeAndSetPlugins(PluginManagerCore.java:1068) at com.intellij.ide.plugins.PluginDescriptorLoader$scheduleLoading$pluginSetDeferred$1.invokeSuspend(PluginDescriptorLoader.kt:397) at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33) at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:106) at kotlinx.coroutines.scheduling.CoroutineScheduler.runSafely(CoroutineScheduler.kt:570) at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.executeTask(CoroutineScheduler.kt:750) at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.runWorker(CoroutineScheduler.kt:677) at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run(CoroutineScheduler.kt:664)

Your JRE: 17.0.7+0-b2043.56-10550314 amd64 (JetBrains s.r.o.) C:\Program Files\Android\Android Studio\jbr

β€” Reply to this email directly, view it on GitHub https://github.com/snapcrafters/android-studio/issues/81#issuecomment-1874994027, or unsubscribe https://github.com/notifications/unsubscribe-auth/A7VJPGVH3YKX5ARX5YFOOHDYMUIHZAVCNFSM4TVUI2R2U5DIOJSWCZC7NNSXTN2JONZXKZKDN5WW2ZLOOQ5TCOBXGQ4TSNBQGI3Q . You are receiving this because you commented.Message ID: @.***>

cuishuang commented 4 months ago

Mac OS:

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

rm -rf XXXXX

reinstall