I-Android Debug Bridge (ADB) uhlelo lokusebenza lwe-console olukuvumela ukuthi uphathe imisebenzi eminingi yamadivaysi eselula asebenza ngesisekelo sesistimu yokusebenza ye-Android. Inhloso eyinhloko ye-ADB ukwenza ukwenza ukulungisa iphutha ngamadivaysi e-Android.
I-Android Debug Bridge ihlelo olusebenza ngesimiso se "client-server". Ukuqaliswa kokuqala kwe-ADB nganoma yimiphi imiyalo ihambelana nokudala iseva ngesimo senkonzo yesistimu ebizwa ngokuthi "idemoni". Le sevisi izokulalela ngokuqhubekayo ku-port 5037, ilindele ukufika komyalo.
Njengoba uhlelo lokusebenza luyi-console, yonke imisebenzi yenziwa ngokufaka imiyalo nge-syntax ethize emgqeni we-Windows umyalo (cmd).
Ukusebenza kwalolu thuluzi kuyatholakala kumadivayisi amaningi we-Android. Ukuphela okungahle kube yile divayisi enekhono lokulawulwa okunjalo kuvinjelwe umenzi, kodwa lezi zimo ezikhethekile.
Kumsebenzisi ojwayelekile, ukusebenzisa imiyalo ye-Android Debug Bridge, ezimweni eziningi, kuba yisidingo lapho ubuyisela futhi / noma ukhanyisa idivayisi ye-Android.
Isibonelo sokusetshenziswa. Buka amadivayisi axhunyiwe
Konke ukusebenza kwalolu hlelo kuvezwe ngemuva kokufaka umyalo othize. Isibonelo, cabanga ngomyalo ovumela ukuthi ubuke amadivayisi axhunyiwe bese uhlola idivayisi yokulungela idivayisi ukuthola imiyalo / amafayela. Ukwenza lokhu, sebenzisa umyalo olandelayo:
amadivaysi adb
Ukusabela kwesistimu ekungeneni lo myalo kubalulekile. Uma ngabe le divayisi ingaxhunyiwe noma ingabonakali (abashayeli abafakiwe, idivayisi ingekho imodi engasekelayo ngemodi ye-ADB nezinye izizathu), umsebenzisi uthola "impendulo enamathiselwe" impendulo (1). Ngokwehlukile kwesibili, ukuba khona kwedivaysi exhunywe futhi ilungele ukusebenza okuqhubekayo, inombolo yayo ye-serial iboniswa ku-console (2).
Izinhlobonhlobo zamathuba
Uhlu lwezici ezinikezwe umsebenzisi yiThuluzi leDebug ye-Android Debug likhulu kakhulu. Ukuze ufinyelele ukusetshenziswa kohlu olugcwele lwemilayezo kudivayisi, kuzodingeka ube namalungelo amakhulu (ama-root root), futhi ngemva kokuwathola ungakhuluma ngokuvula ukukwazi kwe-ADB njengethuluzi lokususa amadivayisi we-Android.
Kufanele futhi siqaphele ukuba khona kwe-Bridge Debug Bridge yesistimu yohlobo losizo. Ukuze uqonde ngokucacile, lolu luhlu lwemilayezo ngencazelo ye-syntax eboniswa njengempendulo kumyalo.usizo lwe-adb
.
Isixazululo esinjalo kaningi kusiza abasebenzisi abaningi ukuba bakhumbule umyalo okhohliwe ukubiza umsebenzi othile noma ukubhala kahle.
Izintandokazi
- Ithuluzi yamahhala elikuvumela ukuba usebenze ingxenye yesofthiwe ye-Android, etholakalayo kubasebenzisi bamadivayisi amaningi.
Ukungalungi
- Ukuntuleka kwe-Russian version;
- Uhlelo lokusebenza lwe-Console oludinga ulwazi lwe-syntax yoyalo.
Landa i-ADB mahhala
I-Android Debug Bridge iyingxenye ebalulekile ye-toolkit eyenzelwe abathuthukisi be-Android (i-Android SDK). Amathuluzi we-Android SDK, nawo, afakiwe kulesi kit. I-Android Studio. Ukulanda i-Android SDK ngezinhloso zakho kuyatholakala kubo bonke abasebenzisi ngokuphelele mahhala. Ukuze wenze lokhu, vele uvakashele ikhasi lokulanda kwiwebhusayithi esemthethweni ye-Google.
Landa inguqulo yakamuva ye-ADB kusuka kuwebhusayithi esemthethweni
Uma kwenzeka kungekho sidingo sokulanda i-Android SDK egcwele equkethe i-Android Debug Bridge, ungasebenzisa isixhumanisi ngezansi. Itholakala ukulanda ingobo yomlando encane equkethe i-ADB ne-Fastboot kuphela.
Landa inguqulo yamanje ye-ADB
Yabelana ngalokhu ku-amanethiwekhi omphakathi: