问题
Android Studio is not starting.when I click to open it gives me below error.Any suggestion for error. I have already set the environment variable[ANDROID_HOME,JAVA_HOME,JDK_HOME].
回答1:
In my case, it happened because the idea.properties
file in the bin directory was missing. I simply restored it with a backup version I had and Android Studio worked again. I was running on Windows 64 bit with Android Studio version 2.2.1.
I think the file went missing in the first place because I modified the file and when Android Studio was updating itself to the latest version, it detected the modified file and something went wrong with the update process and deleted the file.
回答2:
If idea.properties file is run inside notepad, make sure the file have file name of "idea" only instead of "idea.properties". It is a "idea" file with extension of ".properties".
回答3:
I solved the problem by uninstalling and reinstalling JDK.
回答4:
First check idea.properties file in the bin directory if it's missing restore it with a backup.
if this didn't work then
you can uninstall and reinstall JDK
I hope any one of this work for you.
If i am wrong please correct me.
来源:https://stackoverflow.com/questions/38561247/android-studio-doesnt-start-on-windows-error-invoking-main-method