Mokhoa oa ho kenya Studio ea Android ho Linux Mint 21 LTS

Android Studio ke IDE e matla le e bonolo ea basebelisi bakeng sa ho nts'etsapele lits'ebetso sethaleng sa Android. E na le sebopeho se hlakileng, lisebelisoa tse fapaneng tse hahelletsoeng kahare, le kopanyo e se nang moeli le ecosystem e kholo ea IntelliJ IDEA ea li-plugins le likhokahanyo. Ka lebaka la ho kopanngoa ha eona le IntelliJ IDEA, Android Studio e na le sohle seo u se hlokang ho hlahisa lisebelisoa tsa Android sebakeng se le seng. Ha ho mohla ho nang le likhokahano tse lahlehileng kapa lifaele tsa mohloli tse lebetsoeng hape! Sesebelisoa sa Android Studio se bonolo ho se sebelisa se etsa hore ho be bonolo ho sebetsa hantle le ho fumana molemo o moholo nakong ea hau ea nts'etsopele. Hore na o nts'etsopele ea khale ea Android kapa o sa tsoa qala, Android Studio ke IDE e nepahetseng bakeng sa ho nts'etsapele lits'ebetso tse ntle tsa Android.

Thutong e latelang, u tla ithuta ho kenya mofuta oa morao-rao oa Android Studio ho Linux Mint 21 LTS letoto u sebelisa polokelo ea Launchpad PPA e khothaletsoang ho fana ka mofuta oa morao-rao o sebelisa terminal ea line ea taelo.

Ntlafatsa Linux Mint

Ntlafatsa sistimi ea hau ho netefatsa hore liphutheloana tsohle tse teng li ntse li le teng ho qoba likhohlano leha e le life nakong ea ho kenya.

sudo apt update && sudo apt upgrade -y

Kenya ho itšetleha

Sebelisa taelo e latelang ho kenya kapa ho hlahloba hore na liphutheloana li kentsoe.

sudo apt install dirmngr ca-certificates software-properties-common gnupg gnupg2 apt-transport-https -y

Kenya Android Studio PPA

Ntlha ea pele, import the Maarten Fonville PPA e nang le mofuta oa morao-rao oa morao-rao.

Pele o kenya senotlolo sa GPG, basebelisi hangata ba tla ba le mathata a ho kenya linotlolo tsa GPG ho tsoa ho LaunchPAD PPAs ka lebaka la li-directory tse sa etsoang. Ena ke tharollo e bonolo. Sebelisa taelo e latelang e tla hlahisa li-directory.

sudo gpg --list-keys

Mohlala oa tlhahiso:

Mokhoa oa ho kenya Studio ea Android ho Linux Mint 21 LTS

Joalo ka holimo, li-directory tse hlokahalang li entsoe. Sena se ka tloloa, 'me u sebelise taelo e latelang ea GPG e ka tlase. Haeba u na le mathata leha e le afe ka li-directory tse sieo bakeng sa sena le senotlolo sefe kapa sefe sa PPA GPG nakong e tlang, tsamaisa feela taelo e ka holimo.

Sebelisa taelo e latelang ho kenya senotlolo sa GPG bakeng sa PPA.

sudo gpg --no-default-keyring --keyring /usr/share/keyrings/android-studio.gpg --keyserver keyserver.ubuntu.com --recv-keys ADC23DDFAE0436477B8CCDF54DEA8909DC6A13A3

Qetellong, kenya PPA.

echo 'deb [signed-by=/usr/share/keyrings/android-studio.gpg] https://ppa.launchpadcontent.net/maarten-fonville/android-studio/ubuntu jammy main' | sudo tee -a /etc/apt/sources.list.d/android-studio.list

Kenya Android Studio

Pele o sebelisa taelo ea ho kenya, tsamaisa ntjhafatso e nepahetseng ho bonts'a PPA e ncha e tsoang kantle ho naha.

sudo apt-get update

Kenya software ho sebelisa taelo e latelang.

sudo apt install android-studio -y

Ka boikhethelo, o ka netefatsa ho kenya ka ho hlahloba cache ea apt-policy le mohloli o kentsoeng.

apt-cache policy android-studio

Mohlala oa tlhahiso:

Mokhoa oa ho qala Android Studio

Mokhoa o motle oa ho qala Android Studio ke ho sebelisa tsela e latelang.

Taskbar > Programming > Android Studio

mohlala:

Lekhetlo la pele ha u bula Android Studio, u tla kopana le Android Studio Setup Wizard se tla u tataisa ho amohela litumellano tsa EULA, litlhophiso tsa boikhethelo tsa ho reka, le li-tabo tse ling tsa ho seta kapele. Hlokomela hore u lokela ho amohela litumellano, the android-sdk-license, 'me ka linako tse ling u ka bona laesense ea android-sdk-preview.

Hang ha e butsoe, u tla bona leqephe la kamehla la ho lulisa.

mohlala:

Mokhoa oa ho ntlafatsa / ho ntlafatsa Android Studio

Mokhoa o motle oa ho lekola le ho nchafatsa Studio ea Android ke ho sebelisa ntlafatso e tloaelehileng ea terminal le ho ntlafatsa taelo joalo ka tlase.

sudo apt update && sudo apt upgrade

Mokhoa oa ho tlosa (Uninstall) Android Studio

Android Studio, ha e kentsoe, e eketsa lintho tse ngata tse itšetlehileng ka eona, ka hona, ka ho sebelisa taelo ea autoremove ho molemo ho boloka tsamaiso ea hau e hloekile 'me e se bloated.

sudo apt autoremove android-studio --purge -y

Hlokomela, o ka tlosa - hlakola syntax kaha sena ke khetho; Sena se tla leka le ho tlosa lifaele life kapa life tse setseng hore li tlosoe ka botlalo haeba u rera ho se hlole u sebelisa Android Studio hape ho sistimi ea hau.

E latelang, tlosa PPA e tsoang kantle ho naha u sebelisa taelo e latelang.

sudo rm /etc/apt/sources.list.d/android-studio.list

Ka boikhethelo, tlosa senotlolo sa GPG haeba u se u sa e hloke nakong e tlang.

sudo rm /usr/share/keyrings/android-studio.gpg

Maikutlo le Qetello

Haeba u batla IDE e tsitsitseng, e tšepahalang ea ho nts'etsapele lits'ebetso tsa Android, se shebe hole ho feta Android Studio. Ho ipapisitsoe le sethala sa IntelliJ IDEA, Android Studio e fana ka likarolo tse fapaneng ho etsa hore kaho ea lits'ebetso e potlake hape e sebetse hantle. Ka mohlophisi oa khoutu ea eona e bohlale le lisebelisoa tse matla tsa ho aha, Android Studio e etsa hore ho be bonolo ho theha lits'ebetso tsa boleng bo holimo tse sebetsang hantle lisebelisoa tse fapaneng. 'Me kaha e thehiloe sethaleng sa IntelliJ IDEA se bulehileng, ho bonolo ho fumana li-plugins le li-extensions tse eketsang ts'ebetso e eketsehileng ho IDE. Hore na o sa tsoa qala ka nts'etsopele ea lisebelisoa tsa Android kapa setsebi sa khale, Android Studio e na le sohle seo o se hlokang ho aha lits'ebetso tse ntle kapele le ha bonolo.



Latela LinuxCapable.com!

Na u rata ho fumana liapdeite? Re latele ho e 'ngoe ea li-account tsa rona tsa litaba tsa sechaba!