美文网首页
install and configure Android St

install and configure Android St

作者: KokutouDa | 来源:发表于2016-03-01 19:47 被阅读17次

    Step 1 install java

    1. Download then extract java file (tar -xzvf j.../) and move to /usr/local (sudo mv j.../ /usr/local).
    2. open terminal and type vim /etc/environment
    3. add PATH /usr/local/(java directory)/bin: and
      JAVA_HOME=/usr/local/(java directory) in new line.

    if you run on a 64-bit machine, you need to

      sudo dpkg --add-architecture i386sudo 
      apt-get update
      sudo apt-get install libncurses5:i386 libstdc++6:i386 zlib1g:i386
    

    Step 2 install Android Studio

    1. Download then extract files, then move to /usr/local
    2. open terminal then type vim /etc/environment
    3. add SDK_HOME=/usr/local/android-sdk.. in new line
    4. type source /etc/environment in terminal
    5. open android studio from terminal
      cd /usr/local/android-studio/bin && ./studio.sh
    6. add PATH /usr/local/android-sdk../tools:/usr/local/android-sdk../platform-tools: (refer to the Step1 - 2. above)

    refer: http://developer.android.com/sdk/installing/index.html?pkg=tools

    相关文章

      网友评论

          本文标题:install and configure Android St

          本文链接:https://www.haomeiwen.com/subject/kzxnkttx.html