I've been using Android Studio for around a couple of weeks without any issues so far. But recently , I've started getting this error when I try to open Android Studio. I use Ubuntu 16.10.
Tools/android-studio/bin$ ./studio.sh
OpenJDK 64-Bit Server VM warning: ignoring option MaxPermSize=350m; support was removed in 8.0
Error: Could not find or load main class #
What am I doing wrong ? I've tried re-extracting android studio again. Still the same.
Some of your android studio configuration files are probably messed up. To fix this delete .android
.AndroidStudio
(might have a version number eg. .AndroidStudio2.3/
).
To save time for beginners, they maybe directories and can to deleted using
rm -rf ~/.AndroidStudio*
rm -rf ~/.android*
PS: It makes sense to have a backup of every configuration file your use using a version control. saves me time and energy. Based on this
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With