Rahul
Rahul

Reputation: 333

Android Studio Crash on Code autocomplete

Android Studio Crashing after press "Ctrl + Space"

System Config - macOs Catalina 10.15 Beta

Android Studio - 3.4.1 and 3.5 Beta 5

I have already tried

Invalidate Caches/Restart

Upvotes: 8

Views: 1264

Answers (5)

Sanaullah Irfan
Sanaullah Irfan

Reputation: 96

enter image description here

1) Update your Macbook OS to get latest in my case it was : 10.15.3

Upvotes: 0

finalpets
finalpets

Reputation: 281

You can go to /Applications folder and right click on Android Studio then select Show Package Contents , Goto to Contents/bin/studio.vmoptions and add at the end of the file :

-Dsun.font.layoutengine=icu

Restart the IDE.

Upvotes: 1

David Chavez
David Chavez

Reputation: 391

A workout around is to add -Dsun.font.layoutengine=icu to the VM options.

Which you can do via Help > Edit Custom VM Options.

Source: https://youtrack.jetbrains.com/issue/JBR-1639

Upvotes: 7

ᴛʜᴇᴘᴀᴛᴇʟ
ᴛʜᴇᴘᴀᴛᴇʟ

Reputation: 4656

Switching IDE java runtime to Oracle JDK 8 worked for me. To switch the IDE Java runtime:

  1. Install "JB SDK Bintray Downloader" plugin (screenshot) in Android Studio
  2. Follow the instructions under All platforms: switch between installed runtimes section to change the IDE java runtime - instructions

I've been using it for 2 hours now and no crash, no slow-ness, etc.

Upvotes: 0

Amanjot Singh
Amanjot Singh

Reputation: 41

Yes there is issue in All intellij IDE causing crashes on Mac Os Catalina Beta 2, From the logs I see that IDE crash because of OpenJDK, Android Studio was working fine on Mac Os Catalina Beta 1, but started crashes on Beta 2, I downgraded back to Mac Os Mojave because it was impacting my production machine, I learn that never use Beta on Production machine. I advice you to downgrade your Mac Os to stable version. Or wait for intellij to update their apps to support Catalina.

Upvotes: 4

Related Questions