Android Debug Bridge (ADB) ndi pulogalamu yotumizira yomwe imakuthandizani kuti muzitha kuyendetsa ntchito zosiyanasiyana zama foni omwe akuyendetsa pulogalamu yoyendetsera Android. Cholinga chachikulu cha ADB ndikuchita zoyipa ndi zida za Android.
Android Debug Bridge ndi pulogalamu yomwe imagwira ntchito pamaziko a "kasitomala kasitomala". Kuyamba koyamba kwa ADB ndi malamulo aliwonse kumayendetsedwa ndikupanga seva mu mawonekedwe a ntchito yamakina yotchedwa "daemon". Utumikiwu uzimvera mosalekeza pa doko 5037 podikirira lamulo kuti lifike.
Popeza ntchito ndi yotonthoza, ntchito zonse zimachitika ndikulowetsa malamulo omwe ali ndi syntax mu mzere wamalamulo a Windows (cmd).
Magwiridwe a chida chomwe chikufunsidwa amapezeka pazida zambiri za Android. Kupatula kungangokhala chida chokhala ndi mwayi wazomata zotsekedwa ndi wopanga, koma izi ndi milandu yapadera.
Kwa wosuta wamba, kugwiritsidwa ntchito kwa malamulo a Android Debug Bridge, nthawi zambiri, kumakhala kofunikira pobwezeretsa ndi / kapena kuyatsa chida cha Android.
Chitsanzo chogwiritsa ntchito. Onani zida zolumikizidwa
Ntchito zonse za pulogalamuyi zimawululidwa mutalowa lamulo linalake. Monga mwachitsanzo, lingalirani za lamulo lomwe limakupatsani mwayi kuwona makina olumikizidwa ndikuwonetsetsa kukonzekera kwa chidacho polandila malamulo / mafayilo. Kuti muchite izi, gwiritsani ntchito lamulo lotsatirali:
zida za adb
Kuyankha kwadongosolo pakutsimikizira kwa lamuloli ndikwabwino. Ngati chipangizocho sichili cholumikizidwa kapena sichikudziwika (madalaivala sanaikiridwe, chipangizocho chili mu mawonekedwe omwe sathandizira ntchito kudzera pa ADB ndi zifukwa zina), wogwiritsa ntchitoyo amalandira yankho la "chipangizo chokhazikitsidwa" (1). Panjira yachiwiri, - kukhalapo kwa chipangizo cholumikizidwa ndikukonzekera ntchito ina, nambala yake (2) imawonetsedwa mu kontena.
Kuthekera kosiyanasiyana
Mndandanda wazomwe waperekedwa kwa wogwiritsa ntchito ndi chida cha Android Debug Bridge ndiwosiyana kwambiri. Kuti mupeze mndandanda wonse wamalamulo pazipangizocho, mufunika maufulu a ma superuser (ufulu wa mizu) ndipo mukangowalandira mutha kulankhula za kutsegula zomwe zingatheke ku ADB ngati chida chobwezeretsa zida za Android.
Payokha, ndikofunikira kuzindikira kukhalapo kwa mtundu wamathandizo othandizira mu Android Debug Bridge. Mwatsatanetsatane, iyi ndi mndandanda wa malamulo omwe amafotokozera zakapangidwe ka syntax monga yankho lamalamulothandizeni
.
Njira iyi nthawi zambiri imathandiza owerenga ambiri kukumbukira lamulo lomwe layiwalika lotchedwa ntchito inayake kapena kalembedwe koyenera
Zabwino
- Chida chaulere chomwe chimakupatsani mwayi wotsogolera pulogalamu ya Android, yopezeka kwa ogwiritsa ntchito zida zambiri.
Zoyipa
- Kuperewera kwa mtundu wa Chirasha;
- Ntchito yolumikizira yomwe imafunikira kudziwa syntax ya lamulo.
Tsitsani ADB kwaulere
Android Debug Bridge ndi gawo limodzi lapaukadaulo wopangidwira mapulogalamu opanga ma Android (Android SDK). Zipangizo za Android SDK, nazonso, zimaphatikizidwa pazinthu zambiri Studio Studio. Kutsitsa Android SDK pazolinga zanu kupezeka kwa ogwiritsa ntchito onse kwaulere. Kuti muchite izi, muyenera kungopita patsamba lokopera pa tsamba lovomerezeka la Google.
Tsitsani mtundu waposachedwa wa ADB kuchokera patsamba lovomerezeka
Muzochitika kuti sikofunikira kutsitsa pulogalamu yonse ya Android SDK yokhala ndi Debug Bridge ya Android, mutha kugwiritsa ntchito ulalo womwe uli pansipa. Ndikupezeka kutsitsa malo ochepera omwe ali ndi ADB ndi Fastboot okha.
Tsitsani mtundu wapano wa ADB
Voterani pulogalamu:
Mapulogalamu ndi zolemba zofananira:
Gawani nkhani patsamba lapaintaneti: