Android Studio - Lub Hauv Paus Hauv Hauv Kev Sib Koom Kev Tsim Kho

studio

Si koj xav pib tsim lossis tsim ib daim ntawv thov rau lub xov tooj ntawm tes ua haujlwm khiav haujlwm "Android”Koj yuav tsum paub qhov ntawd nws muaj qhov kev ua haujlwm sib xyaw tsim ua ke rau cov kab ke no.

Hauv Studio yog qhov tseem ceeb ntawm IDE (rau nws cov ntawv nyob rau hauv Lus Askiv, Kev Tsim Kho Kev Sib Tham Ib Cheeb Tsam) rau lub hauv xov tooj cua tsis pub dhau Apache Daim Ntawv Tso Cai 2.0 thiab hla-platform (Microsoft Windows, macOS thiab GNU / Linux).

Hais txog Android Studio

Hauv Studio yog raws li JetBrains IntelliJ IDEA software thiab tau raug tso tawm ua kev hloov rau dab noj hnub raws li tus nom tswv IDE rau Android thov kev txhim kho.

Daim ntawv thov no muaj ntau yam cuab yeej rau kev tsim thiab debugging daim ntawv thov rau Google mobile operating system.

Nrog nws peb tuaj yeem ua kev cai kho, debugging, siv cov cuab yeej ua haujlwm, nws muaj qhov ua kom yooj yim muab tso ua ke thiab muaj kev tsim tawm sai thiab xa tawm, uas tso cai rau koj ua kom pom tseeb los tsim cov ntawv thov.

Hauv Studio suav nrog qhov project thiab cov cai cim cov qauv uas ua kom yooj yim rau cov qauv tsim qauv zooxws li lub sab qhia txog vaj huam sib luag thiab nplooj saib.

Koj tuaj yeem pib koj qhov project nrog tus lej code lossis txawm tias right-click ib qho API hauv qhov kho thiab xaiv "nrhiav cov qauv code" los tshawb txog cov piv txwv.

Rau lwm cov tes, peb tuaj yeem tuaj yeem xa cov ntawv thov tag nrho los ntawm GitHub, ncaj qha los ntawm "Tsim Project".

Ntawm nws cov yam ntxwv tseem ceeb peb tuaj yeem hais meej:

  • ProGuard kev koom ua ke thiab cov ntawv thov kos npe ua haujlwm.
  • Tiag tiag-lub sijhawm ua haujlwm
  • Cov tsim tawm console: cov lus qhia txog kev ua kom zoo, kev pabcuam txhais lus, kev siv txheeb cais.
  • Gradle-based tsim kev txhawb nqa.
  • Android meej refactoring thiab kho sai.
  • Tus nplua nuj nqis editor uas tso cai rau cov neeg siv kom luag thiab xa cov neeg siv khoom sib txuas.
  • Cov cuab yeej lint txhawm rau txhawm rau soj ntsuam kev ua tau zoo, siv tau, kho qhov sib txawv thiab lwm yam teebmeem.
  • Cov qauv tsim cov hauv txheej txheej hauv Android thiab lwm yam.
  • Kev them nyiaj yug rau qhov kev thov sau rau Android Wear.
  • Kev txhawb nqa sib xyaw rau Google Cloud Platform, uas ua rau muaj kev sib xyaw nrog Google Huab Messaging thiab App Engine.
  • Tus ntaus ntawv hauv virtual siv los khiav thiab sim daim ntawv thov.

Yuav ua li cas rau nruab Android Studio ntawm Linux?

hauv-studio-nruab

Txhawm rau txhawm rau txhim kho IDE no los tsim cov ntawv thov Android, Peb tuaj yeem ua raws cov lus qhia peb qhia hauv qab no.

Rau cov uas yog Arch Linux cov neeg siv, Manjaro, Antergos lossis ib qho kev faib tawm tau muab los ntawm Arch, peb tuaj yeem nruab qhov IDE no los ntawm AUR chaw cia khoomCov. Yog li peb yuav tsum muaj tus pab cuam.

Koj tuaj yeem siv qhov kuv pom zoo hauv tsab xov xwm no.

Tsuas yog ntaus cov lus txib nram qab no rau nruab:

yay -S android-studio

Nws yog ib qho tseem ceeb kom muaj java ntsia ntawm lub system, yog li peb tuaj yeem nruab nws nrog:

sudo pacman -S jre9-openjdk-headless jre9-openjdk jdk9-openjdk openjdk9-doc openjdk9-src

Tam sim no rau ntawm rooj plaub ntawm Debian, Ubuntu, Linux Mint thiab ib qho txuas rau ntawm cov no, peb tuaj yeem nruab nws nrog cov qauv hauv qab no.

Ua ntej peb yuav tsum teeb tsa qee qhov dependencies hauv qhov system, peb ua qhov no los ntawm kev ntaus rau hauv lub davhlau ya nyob twg:

sudo apt install lib32stdc++6 unzip
sudo apt install openjdk-9-jre openjdk-9-jdk lib32stdc++6

Tom qab qhov no peb yuav tsum npaj mus rub tawm hauv Studio los ntawm nws qhov vev xaib ntawm lub phiaj xwm, koj tuaj yeem ua los ntawm kev txuas mus ntxiv.

Ua li cas rub tawm peb yuav tsum unzip cov ntaub ntawv nrog:

unzip android-studio-ide-173.4819257-linux.zip

Tom qab dab tsi peb hloov mus rau daim nplaub tshev nram qab no:

mv android-studio /opt/

Ua li no peb cia li khiav lub installer nrog:

/opt/android-studio/bin/studio.sh

Thiab voila, nrog tias peb twb muaj IDE ntsia. Koj tuaj yeem khiav qhov no nrog:

sudo /opt/android-studio/bin/studio.sh

Nruab ib lub Studio hauv los ntawm Flatpak

Peb tuaj yeem nruab qhov IDE no nrog kev pab ntawm FlatpakPeb tsuas yog yuav tsum muaj kev txhawb nqa rau nruab cov ntawv thov nrog cov thev naus laus zis no.

Peb paub tseeb tias peb tuaj yeem nruab cov ntawv thov ntawm hom no, Peb tsuas yog yuav tsum qhib lub davhlau ya nyob twg thiab kev coj ua hauv nws:

flatpak install --from https://flathub.org/repo/appstream/com.google.AndroidStudio.flatpakref

Thiab npaj nrog nws peb tuaj yeem pib siv IDE, cia li ntaus ntawv hauv qab no los khiav hauv Studio nyob rau hauv lub system:

flatpak run com.google.AndroidStudio


Cov ntsiab lus ntawm tsab xov xwm ua raws li peb cov ntsiab cai ntawm kev tswj hwm kev ncaj nceesCov. Tshaj tawm ib qho yuam kev nyem no.

2 lus, tawm koj li

Tso koj saib

Koj email chaw nyob yuav tsis tsum luam tawm. Yuav tsum tau teb cov cim nrog *

*

*

  1. Lub luag haujlwm rau cov ntaub ntawv: Miguel Ángel Gatón
  2. Lub hom phiaj ntawm cov ntaub ntawv: Tswj SPAM, kev tswj xyuas tawm tswv yim.
  3. Sau raws cai: Koj kev tso cai
  4. Kev sib txuas lus ntawm cov ntaub ntawv: Cov ntaub ntawv yuav tsis raug xa mus rau lwm tus neeg thib peb tsuas yog los ntawm kev txiav txim siab raug cai.
  5. Cov ntaub ntawv khaws cia: Cov Ntaub Ntawv khaws tseg los ntawm Occentus Networks (EU)
  6. Txoj Cai: Txhua lub sijhawm koj tuaj yeem txwv, rov qab thiab tshem tawm koj cov ntaub ntawv.

  1.   renmac said

    Cov tshawb hauv Is Taws Nem

  2.   Juan C said

    Txoj kev koom tes zoo! Ua tsaug rau koj!