如题所述
1.éæ©linuxç³»ç»
个人æ¯è¾æ¨èå½äº§çUbuntuKylinï¼ç®åææ°çç³»ç»å·²ç»æ´æ°å°16.04äºï¼è¿ä¸ªç³»ç»éåäºåçUbuntuç³»ç»çä¼ç¹ï¼æå ·æä¸å½ç¹è²ï¼æ¯è¾éåå½äººä½¿ç¨ãè¿æä¸ä¸ªå½äº§ç³»ç»æ¯è¾æ¨èï¼å°±æ¯deepinï¼ç®åå·²ç»è·æ°å°15.1.1ï¼è¿ä¸ªç³»ç»çé¢çå¿ä¸éã
è¿ä¸¤ä¸ªç³»ç»é½å åµäºä½¿ç¨äººç¾¤åºæ°æ大çæçè¾å ¥æ³ï¼è§£å³äºæåºæ¬çæåè¾å ¥é®é¢ï¼qqå微信é½è½ä½¿ç¨ï¼è§£å³äºåºæ¬æ²éé®é¢ãåºè¯ä¸å¤è¯´ï¼é¦å çä¸ä¸æä¹å¶ä½linuxç³»ç»Uçå¯å¨çãdeepinå¯ä»¥ä½¿ç¨å®æ¹ç³»ç»æ件deepin-boot-maker-1.0.exeå¶ä½ï¼å ·ä½æç¨è¯·èªè¡ç¾åº¦ï¼è¿éä¸å¨èµè¿°ã
è¿é主è¦ä»¥UbuntuKylinç³»ç»ä¸ºä¾å(è¿éä¸è½½ï¼64ä½,32ä½ï¼ç»å¤§å®¶ä»ç»ä¸ä¸å¦ä½å¨linuxä¸é ç½®Android Studioã
ç³»ç»æ件.isoä¸è½½å®æ¯ä»¥åï¼ä¸è½½uçå¶ä½å·¥å ·Rufusè¿è¡å¶ä½ï¼ä¸è½½Rufusï¼ï¼è¿ä¸ªå·¥å ·æ¯è¾æ¨èï¼æ¬äººä½¿ç¨å ¶ä»uçå¶ä½å·¥å ·ï¼ä¸ç´æ²¡å®è£ æåï¼æå使ç¨Rufusï¼å¶ä½è¿ç¨ä¸ï¼ä¼æ示è¦ä¸è½½ä¸¤ä¸ªå°æ件ï¼åæå³å¯ï¼ç»äºå®ç¾è§£å³ãçé¢æ¯è¾ç®åï¼å ·ä½æä½æµç¨è½¯ä»¶æå¼ä»¥åä¸ç®äºç¶ï¼ä¸ç»è¯´ã
2.å®è£ jdkåé ç½®ç¯å¢åé
jdkå½ç¶è¦å®è£ linuxçæ¬çï¼è¿ééç¨1.7çæ¬çï¼,ä¸è½½å®æ¯ï¼è¿è¡è§£åï¼ç¶åé ç½®ç¯å¢åéï¼æå¼ç»ç«¯æè 使ç¨å¿«æ·é®ctrl+alt+Tï¼è¾å ¥ä¸ä¸å½ä»¤ï¼
$sudo gedit ~/.bashrc
å¨æå¼çæ件æ«å°¾æ·»å 以ä¸ä»£ç ï¼
JAVA_HOME=/usr/lib/jvm/jdk1.7.0_79
JRE_HOME=${JAVA_HOME}/jre
CLASSPATH=.:${JAVA_HOME}/lib:${JRE_HOME}/lib
PATH=${JAVA_HOME}/bin:$PATH
å°æ¤ä¸ºæ¢ï¼jdkçç¯å¢åéå°±é ç½®å®æ¯äº
3.å®è£ Android Studio
ä¸è½½android studio 2.0,è¿ä¸ªçæ¬ä¸å¸¦sdkï¼æ以å®è£ å®æ¯åï¼éè¦å¨androidçstudioä¸ä¸è½½sdkãæ件ä¸è½½å®æåï¼å¯ä»¥çå°æ¯ä¸ä¸ª.zipæ件ï¼ç´æ¥è§£åæåæ件ï¼ç¶åå¨/android-studio/binä¸å¯ä»¥çå°æä¸ä¸ªæ件å«åâstudio.shâ,è¿ä¸ªæ件就æ¯android studioçå¯æ§è¡æ件ï¼ç¸å½äºwindowsä¸ç.exeæ件ãä½æ¯é»è®¤æ¯ä¸è½ç´æ¥æ§è¡çï¼æ以éè¦å¨/android-studio/binç®å½ä¸æå¼ç»ç«¯ï¼è¾å ¥ä»¥ä¸å½ä»¤ï¼æ§è¡.shæ件ï¼
sh studio.sh
èå¿çå¾ å ç§éåï¼å°±ä¼çå°android studioçæçå®è£ çé¢ï¼æç §æ¥éª¤ä¸æ¥ä¸æ¥æ§è¡ï¼å°±è½å®æandroid studioçå®è£ ï¼ç¶ååå¨windowså¹³å°ä¸æ ·å®è£ sdkï¼ä¸ååºè¯ã
4.å®è£ Genymotionåvirtualbox
android studioå®è£ å®æ¯ä»¥åï¼å¦æè½æä¸ä¸ªandroid模æå¨åwindowsä¸çGenymotionä¸æ ·å°±å¥½äºã幸è¿çæ¯ï¼å¨Genymotionççæäºlinuxçæ¬ãç¹æ¤ä¸è½½Genymotion
ä¸è½½å®æ¯åï¼å¤§å®¶åç°æ¯ä¸ä¸ª.binæ件ï¼æ¯ä¸è½ç´æ¥æå¼è¿è¡çï¼è¿æ¶åéè¦å¨ä¸è½½ç®å½ä¸æå¼ç»ç«¯è¾å ¥ä¸ä¸å½ä»¤
chmod +x genymotion-2.6.0-ubuntu15_x64.bin
æ¥çç¨ä¸é¢çå½ä»¤æ§è¡å³å¯ï¼
./genymotion-2.6.0-ubuntu15_x64.bin
å¦æçµèé边没æå®è£ virtualboxï¼Genymotionæ¯ä¸è½æåè¿è¡çï¼æ以å¨è¿è¡Genymotionä¹åéè¦å®è£ virtualbox,virtualboxä¸è½½å®æ¯åï¼åç°è¿æ¯ä¸ä¸ª.debæ件ï¼å¦æçµèå®è£ äºUbuntu Software,å¯ä»¥åå»ç´æ¥è¿è¡ï¼å¦åï¼éè¦æå¼ç»ç«¯è¾å ¥ä¸ä¸å½ä»¤è¿è¡å®è£ ï¼
sudo dpkg -i virtualbox-5.0_5.0.18-106667~Ubuntu~xenial_amd64.deb
å®è£ å®æåï¼å°±å¯ä»¥æ£å¸¸ä½¿ç¨Genymotionäºã
å°è¿éï¼å¨linuxä¸é ç½®Android Studioå¼åç¯å¢å·²ç»ç»æï¼å¯ä»¥äº«åæå¿«å°å¼åè¿ç¨äºã
æ¶é´åå¿æ²¡æ¥çåæªå¾ï¼å ¨æ¯æåæ§åè¿°ï¼è°¢è°¢åä½æååæ读å®ãå ³äºlinuxä¸é ç½®ASæä»»ä½é®é¢ï¼è¯·åæ¶ä¸æèç³»ï¼æä»¬å ±åæ¢è®¨ã
å¦å°æä¸è½¯ä»¶ä¸è½½å°åä¸å¹¶æ¾å°è¿éï¼
1.UbuntuKylinç³»ç»
64ä½ï¼http://www.ubuntukylin.com/downloads/download.php?id=38
32ä½ï¼http://www.ubuntukylin.com/downloads/download.php?id=37
2.uçå¶ä½å·¥å ·Rufus
http://rufus.akeo.ie/downloads/rufus-2.8.exe
3.jdk1.7(linuxçæ¬)
http://download.oracle.com/otn-pub/java/jdk/7u79-b15/jdk-7u79-linux-x64.tar.gz
4.android studio 2.0(linuxçæ¬)
https://dl.google.com/dl/android/studio/ide-zips/2.0.0.20/android-studio-ide-143.2739321-linux.zip
5.Genymotion(linuxçæ¬)
http://files2.genymotion.com/genymotion/genymotion-2.6.0/genymotion-2.6.0-ubuntu15_x64.bin
6.virtualbox((linuxçæ¬)
http://download.virtualbox.org/virtualbox/5.0.18/virtualbox-5.0_5.0.18-106667~Ubuntu~xenial_amd64.deb
æï¼è±ç¦ï¼ç®ä¹¦ä½è ï¼
åæé¾æ¥ï¼http://www.jianshu.com/p/26118f6e3c40
èä½æå½ä½è ææï¼è½¬è½½è¯·èç³»ä½è è·å¾ææï¼å¹¶æ 注âç®ä¹¦ä½è âã
个人æ¯è¾æ¨èå½äº§çUbuntuKylinï¼ç®åææ°çç³»ç»å·²ç»æ´æ°å°16.04äºï¼è¿ä¸ªç³»ç»éåäºåçUbuntuç³»ç»çä¼ç¹ï¼æå ·æä¸å½ç¹è²ï¼æ¯è¾éåå½äººä½¿ç¨ãè¿æä¸ä¸ªå½äº§ç³»ç»æ¯è¾æ¨èï¼å°±æ¯deepinï¼ç®åå·²ç»è·æ°å°15.1.1ï¼è¿ä¸ªç³»ç»çé¢çå¿ä¸éã
è¿ä¸¤ä¸ªç³»ç»é½å åµäºä½¿ç¨äººç¾¤åºæ°æ大çæçè¾å ¥æ³ï¼è§£å³äºæåºæ¬çæåè¾å ¥é®é¢ï¼qqå微信é½è½ä½¿ç¨ï¼è§£å³äºåºæ¬æ²éé®é¢ãåºè¯ä¸å¤è¯´ï¼é¦å çä¸ä¸æä¹å¶ä½linuxç³»ç»Uçå¯å¨çãdeepinå¯ä»¥ä½¿ç¨å®æ¹ç³»ç»æ件deepin-boot-maker-1.0.exeå¶ä½ï¼å ·ä½æç¨è¯·èªè¡ç¾åº¦ï¼è¿éä¸å¨èµè¿°ã
è¿é主è¦ä»¥UbuntuKylinç³»ç»ä¸ºä¾å(è¿éä¸è½½ï¼64ä½,32ä½ï¼ç»å¤§å®¶ä»ç»ä¸ä¸å¦ä½å¨linuxä¸é ç½®Android Studioã
ç³»ç»æ件.isoä¸è½½å®æ¯ä»¥åï¼ä¸è½½uçå¶ä½å·¥å ·Rufusè¿è¡å¶ä½ï¼ä¸è½½Rufusï¼ï¼è¿ä¸ªå·¥å ·æ¯è¾æ¨èï¼æ¬äººä½¿ç¨å ¶ä»uçå¶ä½å·¥å ·ï¼ä¸ç´æ²¡å®è£ æåï¼æå使ç¨Rufusï¼å¶ä½è¿ç¨ä¸ï¼ä¼æ示è¦ä¸è½½ä¸¤ä¸ªå°æ件ï¼åæå³å¯ï¼ç»äºå®ç¾è§£å³ãçé¢æ¯è¾ç®åï¼å ·ä½æä½æµç¨è½¯ä»¶æå¼ä»¥åä¸ç®äºç¶ï¼ä¸ç»è¯´ã
2.å®è£ jdkåé ç½®ç¯å¢åé
jdkå½ç¶è¦å®è£ linuxçæ¬çï¼è¿ééç¨1.7çæ¬çï¼,ä¸è½½å®æ¯ï¼è¿è¡è§£åï¼ç¶åé ç½®ç¯å¢åéï¼æå¼ç»ç«¯æè 使ç¨å¿«æ·é®ctrl+alt+Tï¼è¾å ¥ä¸ä¸å½ä»¤ï¼
$sudo gedit ~/.bashrc
å¨æå¼çæ件æ«å°¾æ·»å 以ä¸ä»£ç ï¼
JAVA_HOME=/usr/lib/jvm/jdk1.7.0_79
JRE_HOME=${JAVA_HOME}/jre
CLASSPATH=.:${JAVA_HOME}/lib:${JRE_HOME}/lib
PATH=${JAVA_HOME}/bin:$PATH
å°æ¤ä¸ºæ¢ï¼jdkçç¯å¢åéå°±é ç½®å®æ¯äº
3.å®è£ Android Studio
ä¸è½½android studio 2.0,è¿ä¸ªçæ¬ä¸å¸¦sdkï¼æ以å®è£ å®æ¯åï¼éè¦å¨androidçstudioä¸ä¸è½½sdkãæ件ä¸è½½å®æåï¼å¯ä»¥çå°æ¯ä¸ä¸ª.zipæ件ï¼ç´æ¥è§£åæåæ件ï¼ç¶åå¨/android-studio/binä¸å¯ä»¥çå°æä¸ä¸ªæ件å«åâstudio.shâ,è¿ä¸ªæ件就æ¯android studioçå¯æ§è¡æ件ï¼ç¸å½äºwindowsä¸ç.exeæ件ãä½æ¯é»è®¤æ¯ä¸è½ç´æ¥æ§è¡çï¼æ以éè¦å¨/android-studio/binç®å½ä¸æå¼ç»ç«¯ï¼è¾å ¥ä»¥ä¸å½ä»¤ï¼æ§è¡.shæ件ï¼
sh studio.sh
èå¿çå¾ å ç§éåï¼å°±ä¼çå°android studioçæçå®è£ çé¢ï¼æç §æ¥éª¤ä¸æ¥ä¸æ¥æ§è¡ï¼å°±è½å®æandroid studioçå®è£ ï¼ç¶ååå¨windowså¹³å°ä¸æ ·å®è£ sdkï¼ä¸ååºè¯ã
4.å®è£ Genymotionåvirtualbox
android studioå®è£ å®æ¯ä»¥åï¼å¦æè½æä¸ä¸ªandroid模æå¨åwindowsä¸çGenymotionä¸æ ·å°±å¥½äºã幸è¿çæ¯ï¼å¨Genymotionççæäºlinuxçæ¬ãç¹æ¤ä¸è½½Genymotion
ä¸è½½å®æ¯åï¼å¤§å®¶åç°æ¯ä¸ä¸ª.binæ件ï¼æ¯ä¸è½ç´æ¥æå¼è¿è¡çï¼è¿æ¶åéè¦å¨ä¸è½½ç®å½ä¸æå¼ç»ç«¯è¾å ¥ä¸ä¸å½ä»¤
chmod +x genymotion-2.6.0-ubuntu15_x64.bin
æ¥çç¨ä¸é¢çå½ä»¤æ§è¡å³å¯ï¼
./genymotion-2.6.0-ubuntu15_x64.bin
å¦æçµèé边没æå®è£ virtualboxï¼Genymotionæ¯ä¸è½æåè¿è¡çï¼æ以å¨è¿è¡Genymotionä¹åéè¦å®è£ virtualbox,virtualboxä¸è½½å®æ¯åï¼åç°è¿æ¯ä¸ä¸ª.debæ件ï¼å¦æçµèå®è£ äºUbuntu Software,å¯ä»¥åå»ç´æ¥è¿è¡ï¼å¦åï¼éè¦æå¼ç»ç«¯è¾å ¥ä¸ä¸å½ä»¤è¿è¡å®è£ ï¼
sudo dpkg -i virtualbox-5.0_5.0.18-106667~Ubuntu~xenial_amd64.deb
å®è£ å®æåï¼å°±å¯ä»¥æ£å¸¸ä½¿ç¨Genymotionäºã
å°è¿éï¼å¨linuxä¸é ç½®Android Studioå¼åç¯å¢å·²ç»ç»æï¼å¯ä»¥äº«åæå¿«å°å¼åè¿ç¨äºã
æ¶é´åå¿æ²¡æ¥çåæªå¾ï¼å ¨æ¯æåæ§åè¿°ï¼è°¢è°¢åä½æååæ读å®ãå ³äºlinuxä¸é ç½®ASæä»»ä½é®é¢ï¼è¯·åæ¶ä¸æèç³»ï¼æä»¬å ±åæ¢è®¨ã
å¦å°æä¸è½¯ä»¶ä¸è½½å°åä¸å¹¶æ¾å°è¿éï¼
1.UbuntuKylinç³»ç»
64ä½ï¼http://www.ubuntukylin.com/downloads/download.php?id=38
32ä½ï¼http://www.ubuntukylin.com/downloads/download.php?id=37
2.uçå¶ä½å·¥å ·Rufus
http://rufus.akeo.ie/downloads/rufus-2.8.exe
3.jdk1.7(linuxçæ¬)
http://download.oracle.com/otn-pub/java/jdk/7u79-b15/jdk-7u79-linux-x64.tar.gz
4.android studio 2.0(linuxçæ¬)
https://dl.google.com/dl/android/studio/ide-zips/2.0.0.20/android-studio-ide-143.2739321-linux.zip
5.Genymotion(linuxçæ¬)
http://files2.genymotion.com/genymotion/genymotion-2.6.0/genymotion-2.6.0-ubuntu15_x64.bin
6.virtualbox((linuxçæ¬)
http://download.virtualbox.org/virtualbox/5.0.18/virtualbox-5.0_5.0.18-106667~Ubuntu~xenial_amd64.deb
æï¼è±ç¦ï¼ç®ä¹¦ä½è ï¼
åæé¾æ¥ï¼http://www.jianshu.com/p/26118f6e3c40
èä½æå½ä½è ææï¼è½¬è½½è¯·èç³»ä½è è·å¾ææï¼å¹¶æ 注âç®ä¹¦ä½è âã
温馨提示:答案为网友推荐,仅供参考