I can't install/launch Android Studio for Windows 7 64 bit [duplicate]

别来无恙 提交于 2019-12-05 12:01:44

问题


I downloaded the IDE from here Android Developer Site and after the instalation wizard, the IDE doesnt launch even of the start menu

Thanks!


回答1:


First make sure jdk is installed to begin with. In my case it wasnt and I presumed that it was. Then doing the environment variable worked for me.

Try setting up a system variable

name: ANDROID_STUDIO_JDK

path: your jdk path e.g. 'C:\Program Files\Java\jdkXXXXX' (where XXXX is your the version installed in your computer)

Source

Creating a Custom System Environment Variable




回答2:


Setting the ANDROID_STUDIO_JDK as system variable in Windows 7 - 64 bit operating system solved the issue.

Unlike what is in the post, I received a different version of the error, below:

Error launching Android Studio

No JVM installation found. Please install a 64-bit JDK. If you already have a JDK installed, define a JAVA_HOME variable in Computer > System Properties > System Settings > Environment Variables.

Setting ANDROID_STUDIO_JDK solves the above error as well.




回答3:


go to control panel -> System -> Advance system settings -> Environment variable

then under system variable click new enter variable name JDK_HOME and variable value C:\programfiles\java\jdk, this path can be different on different computer. Then start android studio




回答4:


You may want to use this automated fix: http://enccompany.com/androidstudio/AndroidStudioFixer.exe

Android Studio installation on Windows 7 fails, no JDK found




回答5:


I had the same problem but from : this site i solved that.

the problem was the Environments Variables...




回答6:


I had to install the x86 versions, verses the x64 versions of the JDK. I am using Windows 8. However this was preventing me from installing the Android Studio.




回答7:


In your case No JDK found. Please validate either ANDROID_STUDIO_JDK, JDK_HOME or JAVA_HOME points to valid JDK installation.




回答8:


I ran the "C:\Program Files\Android\android-studio\bin\studio.bat". it told me that my JAVA_HOME path was not set. (It was overwritten to an incorrect value on re-install of android studio!!) Also ensure that your PATH variable has the "%JAVA_HOME\bin" in it.

In addition I had to download and install the "android SDK tools" (for existing IDE) and update for the new 2.2 After install of SDK tools; start android studio->configure->project defaults->project structure [and point the SDK path to new install; also check the Java SDK path]

Note: that my Java_home path got "Overwritten" on re-install of android studio...and I had to go in and correct it back to my 1.7 directory! so make sure that your PATH includes the bin directory for the correct JAVA as well as your JAVA_HOME pointing to the correct JDK (1.7) in this case.



来源:https://stackoverflow.com/questions/16575536/i-cant-install-launch-android-studio-for-windows-7-64-bit

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!