Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Android Studio corrupt installation

I must have installed android studio a 100 times and I've never had to many issues. I'm using ubuntu 18.04.2 and this is a fresh installation. I've installed java oracle 8 and was just getting the the android installation part and I can't even install or open android studio. After I run ./bin/studio.sh in the terminal I get these two errors:

// This is on the interface
Missing essential plugin:

  org.jetbrains.android

Please reinstall Android Studio from scratch.

// this is the error in the terminal
Corrupted Installation: Missing essential plugin:

  org.jetbrains.android

Please reinstall Android Studio from scratch.

Java version:

java version "1.8.0_201"
Java(TM) SE Runtime Environment (build 1.8.0_201-b09)
Java HotSpot(TM) 64-Bit Server VM (build 25.201-b09, mixed mode)

Any ideas?

like image 940
TheMan68 Avatar asked Feb 21 '19 12:02

TheMan68


1 Answers

https://developer.android.com/studio/preview/features#4.1-ki-missing-kotlin-plugin

In Android Studio 4.1 Canary 9, you may see the following error when first launching Android Studio after upgrading:

missing essential plugin org.jetbrains.android

This can happen when you import your settings from a previous version of Android Studio. Typically, this means you have a locally installed Kotlin plugin that is not compatible with the new IDE.

To fix this issue, remove the Kotlin directory from the following locations:

Linux: ~/.local/share/Google/AndroidStudioPreview4.1

Windows: C:\Users\YourUserName\AppData\Roaming\Google\AndroidStudioPreview4.1

MacOS: ~/Library/Application Support/Google/AndroidStudioPreview4.1

Because there is no Kotlin plugin compatible with Canary 9 currently available from JetBrains, we have bundled our own Kotlin plugin with the Canary 9 update, so you don't need to manually install a Kotlin plugin.

like image 129
Habib Kazemi Avatar answered Oct 07 '22 18:10

Habib Kazemi