[Android] eclipse adt setup

来源:互联网 发布:企业用电量查询数据库 编辑:程序博客网 时间:2024/05/21 10:47

1. download 32, or 64bit eclipse, according to your system.

2. download adt, and cdt. in my case , i install the adt zip first, and there is a error related to ndk, actually, this is a problem of cdt, so just install cdt first, and then install adt.

3. new adt require new sdk tool, when i open sdk manager, error occur

    when i reinstall android sdk, error again, can`t find c:\windows\system32\java.exe or can`t find version of c:\windows\system32\java.exe

    this might be a problem of JAVA_HOME variable.

    add JAVA_HOME to system variable, according to your jdk paht, in my case, it is C:\Program Files\Java\jdk1.7.0_10

    try again, i can reinstall new latest anroid sdk now.


    if you have other problems, you can try the following step

    set CLASSPATH as  .;%JAVA_HOME%\lib;%JAVA_HOME%\lib\tools.jar;%JAVA_HOME%\lib\dt.jar
    add C:\Program Files\Java\jdk1.7.0_03\bin into the PATH.

原创粉丝点击