Android Studio corrupt installation
I think it was caused by importing configurations from an earlier version of Android Studio.
I had to do the following to make it launch: rm -rf ~/.local/share/Google/AndroidStudioPreview4.1
For those who are searching for MacOS :
Open Terminal from Launchpad, type
cd ~/Library/Application Support/Google
If the above one didn't work, try this,
cd ~/Library/Application\ Support/Google
(Try to use cd
command and Tab
key more to check the directories)
Then type,
rm -rf AndroidStudio2020.3
If it didn't work, change the AndroidStudio version according to yours. Again try to use the Tab
key.
Open AndroidStudio app now
Congrats! Keep developing
for MacOs:
- Cmd + Space then type Terminal
- run cd ~/Library/Application Support/Google
- run ls
- run rm -rf AndroidStudio*
Open Android Studio then woala!
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.