Firstly, i try to add speed of my android studio in my macbook m1 16gb, Android Studio Dolphin | 2021.3.1 Patch 1, and i follow this step
How to speed up Android Studio on a Mac
i following the first answer and update vm option with this -Xmx2048m -XX:MaxPermSize=512
. After i restart my macbook, i cannot start my android studio.
After that, I try to find vmoptions file in ~/Library/preferences/AndroidStudio
but i don't see the folder in references. And then i try to uninstall and install my android studio, but the apps still not started. Thank you in advance.
I solved my case by deleted studio.vmoptions, with this step:
sudo find / -name studio.vmoptions
/System/Volumes/Data/Users/macbookpro/Library/Application Support/Google/AndroidStudio2021.3/studio.vmoptions
After i delete that file, i can run my AS greatly