“Android Create” call fails in windows 7 - missing JDK

前端 未结 8 897
孤独总比滥情好
孤独总比滥情好 2020-12-05 21:43

I\'m having a problem getting my android dev environment setup in Windows 7. I follow the instructions here, as well as several environment sublinks. I am using Eclipse wi

8条回答
  •  野趣味
    野趣味 (楼主)
    2020-12-05 21:47

    What worked for me was this:

    add a path to your java/bin directory to the system Path variable. Do NOT include java.exe.

    Steps on Win 7 64bit:

    • Click Windows Button
    • Right Click on Computer
    • Select Properties from the Context Menu
    • Click Advanced System Settings on the top left section
    • Click the Environment Variables... button at the bottom of the properties dialog
    • On the bottom list (System variables) find the "Path" variable
    • Click the Edit button
    • Go to the end of the textbox and type something like c:\program files\java\jdk1.6.0_26\bin (make sure it matches the name of your java directory!)
    • Click OK
    • Click OK
    • Click OK

    Try it out!

    hth,

    \ ^ / i l l

提交回复
热议问题