Status Update
Comments
vi...@google.com <vi...@google.com>
mm...@commonsware.com <mm...@commonsware.com> #2
Note that this is reproducible with Android Studio 4.2 Canary 9.
mm...@commonsware.com <mm...@commonsware.com> #3
With the help of
-
Check to see if you have a file at
$HOME/.config/Google/AndroidStudioPreview4.2/studio64.vmoptions
. If not, run Android Studio 4.2 Canary 9, which should create that file, then crash shortly afterwards with the same error reported in this issue. -
Edit that file and remove the
-XX:+UseConcMarkSweepGC
line.
I was able to get Canary 9 to start up after that change.
yo...@gmail.com <yo...@gmail.com> #4
Thanks.
my studio64.vmoptions was set on -XX:+UseG1GC
and changed this to -XX:+UseConcMarkSweepGC
and finally everything worked fine.
Description
OpenJDK 64-Bit Server VM warning: Option UseConcMarkSweepGC was deprecated in version 9.0 and will likely be removed in a future release.
Error occurred during initialization of VM
Multiple garbage collectors selected
Studio Build:
Version of Gradle Plugin:
Gradle 4.4.1
Version of Gradle:
gradle-4.4-all
Version of Java:
openjdk version "1.8.0_265"
OpenJDK Runtime Environment (build 1.8.0_265-8u265-b01-0ubuntu2~20.04-b01)
OpenJDK 64-Bit Server VM (build 25.265-b01, mixed mode)
OS:
name : Ubuntu 20.04 LTS
type : 64-bit
Steps to Reproduce:
1.Download and extract Android Studio 4.2 Canary 8 from Android Developers website
2.Start the app