Install Android(安卓)Studio in debian Wheezy
16lz
2021-12-04
1、download Android Studio from the offical website
https://developer.android.com/sdk/installing/studio.html
(You could also check the offical website tips to install the Android Studio.)
2、Unpack the downloaded Tar file.
$ sudo tar xvf android-studio-bundle-130.687321-linux.tgz -C ~/Software/Android/
3、turn to the unpack dir
$ cd ~/Software/Android/android-studio/$ cd bin/
4、try to run the Android Studio first time
$ sh studio.sh// or $ ./studio.sh
It would take a minute to download some libs when running the first time.
5、add the shell script to run the studio backstage. ( Otherwise the studio would catch your terminal and close after you close this terminal.)
$ pwd~/Software/Android/android-studio/bin$ vim androidstart
add the following messenge to the 'androidstart'
#!/bin/shstudio.sh &
you couldn't run this script right now, because the PATH isn't useable.
6、add the PATH to ~/.bashrc
$ vim ~/.bashrc// add the following messege# android studioexport ANDORID_HOME=/home/username/Software/Android/android-studioexport PATH=${ANDORID_HOME}/bin:$PATH
7、enjoy it.
$ chmod 775 androidstart$ sudo source ~/.bashrc$ androidstartCtrl + C // the android studio won't close again.
A small tips to change the backstage of the android studio :
File -> Setting -> Editor -> Colors & Fonts -> Scheme name// change the scheme name to Darcula and click ok// the studio would restart and the backstage changed
更多相关文章
- 代码中设置drawableleft
- android 3.0 隐藏 系统标题栏
- Android开发中activity切换动画的实现
- Android(安卓)学习 笔记_05. 文件下载
- Android中直播视频技术探究之—摄像头Camera视频源数据采集解析
- 技术博客汇总
- android 2.3 wifi (一)
- AndRoid Notification的清空和修改
- Android中的Chronometer