Android SDK and AVD Manager will not run

前端 未结 13 1255
被撕碎了的回忆
被撕碎了的回忆 2020-12-10 04:37

I installed the Android SDK but I cannot use it because the AVD and SDK Managers do not run. When I try to open either one of them, a command prompt window pops up for about

13条回答
  •  醉梦人生
    2020-12-10 05:00

    I just ran into a similar problem as lopsided98 had and tried all the solutions on here also and no results. then I remembered that I had to add an environment variable to locate java before i could get android studio to start in the first place so I just tried adding a new system variable for Android_home and directed it to my android folder C:\Program Files (x86)\Android . Just like I had done when setting up java and then it started up with no problems. SDK manager is also up and working now. I hope this helps, if you're still having problems

    This was what i had found when setting up the java part and just thought I might give it a try for android too.

    On some Windows systems, the launcher script does not find where Java is installed. If you encounter this problem, you need to set an environment variable indicating the correct location.

    Select Start menu > Computer > System Properties > Advanced System Properties.

    Then open Advanced tab > Environment Variables and add a new system variable JAVA_HOME that points to your JDK folder, for example

    C:\Program Files\Java\jdk1.7.0_21.

提交回复
热议问题