Android/Eclipse PANIC: Could not open

前端 未结 8 915
有刺的猬
有刺的猬 2020-12-01 05:11

I\'m brand new to Android development and Eclipse so I have just set it all up and I am attempting the Hello World tutorial. Sadly when I try and run the program I get the f

8条回答
  •  离开以前
    2020-12-01 05:23

    The AVD manager normally uses the user's profile directory to store AVD files.

    However it failed to find the default profile directory.

    To fix this, please set the environment variable ANDROID_SDK_HOME to a valid path such as "".

    Step 1. (Windows 7 Only... 64-bit version Tested) Go to your start menu, then open the Control Panel.Click System and Security, click System, then open up the Advanced System Settings (on the left). Go to the Advanced Tab, then click Environment Variables.Check your user variables.

    If you don't, find A variable named ANDROID_SDK_HOME with the Value, click new. In the Variable Name box, type in "ANDROID_SDK_HOME" (Without quotes).

    In the Variable Value, type in something like c:/Users/jorge/AppData/Local/Android/Android-sdk. Click OK.Then click OK. Click OK again. Close the Control Panel and restart your computer.

    Try Running SDK or AVD Manager(s) again. Create an AVD and run it.

提交回复
热议问题