Wednesday 26 July 2017

Adb ลินุกซ์ ดาวน์โหลด ไบนารี ตัวเลือก


Android Debug Bridge ADB เครื่องมือนี้ช่วยให้คุณสามารถส่งคำสั่ง terminal ที่หลากหลายรวมถึง แต่ไม่ จำกัด เฉพาะคำสั่ง shell Linux ขั้นพื้นฐานพร้อมกับคำสั่งพิเศษสำหรับนักพัฒนาซอฟต์แวร์บางตัวในโทรศัพท์ของคุณได้ทุกเมื่อตราบเท่าที่คุณเปิดใช้งานการแก้จุดบกพร่องบนโทรศัพท์ของคุณคุณสามารถ ส่งคำสั่งในขณะที่โทรศัพท์เปิดอยู่และบู๊ตหรือแม้กระทั่งเมื่ออยู่ในโหมดการกู้คืนในขณะที่ ADB มักใช้ร่วมกับการขจัดหรือปรับเปลี่ยนโทรศัพท์ของคุณคุณสามารถใช้ ADB เพื่อส่งคำสั่ง terminal ไปยังอุปกรณ์ที่ไม่ได้รับการสนับสนุนได้เช่นกันบู๊ทสุดคุ้มเมื่อคุณ จำเป็นต้องปรับเปลี่ยนเฟิร์มแวร์ของโทรศัพท์ของคุณ fastboot เป็นเครื่องมือที่คุณต้องการซึ่งช่วยให้คุณสามารถส่งคำสั่งไปยังโปรแกรมโหลดบูตซึ่งหมายความว่าคุณสามารถปรับเปลี่ยนสิ่งต่างๆเช่นการกู้คืนที่กำหนดเองคุณสามารถ t รอมรอมทั้งแบบแฟลชด้วย แต่จะเป็นประโยชน์สำหรับหลาย ๆ สิ่ง ที่ ADB สามารถทำ Fastboot isn t เปิดการใช้งานสำหรับโทรศัพท์ทั้งหมดดังนั้นคุณอาจต้องตรวจสอบอุปกรณ์เฉพาะของคุณทั้งสองเครื่องมือเหล่านี้มาพร้อมกับ Android SDK แต่ที่ดาวน์โหลดขนาดใหญ่มากที่ตรงไปตรงมามากที่สุด ผู้ใช้ที่สนใจ ADB และ fastboot don t ต้องโชคดี Google เพิ่งทำให้ง่ายต่อการรับทั้งสองโดยไม่มีขยะทั้งหมดขั้นตอนที่ 1 ดาวน์โหลด Platform Tools PackageGoogle หมายถึง ADB, fastboot และสาธารณูปโภคอื่น ๆ ไม่กี่อย่างเช่น แพคเกจเครื่องมือแพลตฟอร์มคุณสามารถดาวน์โหลดแพ็คเกจ Platform Tools จากเว็บไซต์ SDK ได้ที่นี่มีแพคเกจแยกต่างหากสำหรับ Windows, Mac และ Linux เพื่อดาวน์โหลดเวอร์ชันที่เหมาะสมสำหรับแพลตฟอร์มของคุณการปรับแต่งอุปกรณ์ Android ของคุณจะกำหนดให้คุณต้องติดตั้ง ADB tools โดยไม่ใช้มัน, คู่มือฉบับย่อนี้จะแสดงวิธีการติดตั้งและกำหนดค่าซอฟต์แวร์ ADB ของ Google บนคอมพิวเตอร์ Windows, Mac หรือ Linux ในเวลาไม่กี่นาที ADB ใช้สำหรับอะไร ADB Android Debug Bridge เป็นเครื่องมือบรรทัดคำสั่งที่มีประสิทธิภาพซึ่งสร้างขึ้นโดย Google สำหรับนักพัฒนาแอนดรอยด์ ADB ช่วยให้นักพัฒนาซอฟต์แวร์สามารถแก้ปัญหาแอ็พพลิเคชันของตนด้วยชุดคำสั่งที่เป็นประโยชน์สำหรับ ตัวอย่างเช่นหากนักพัฒนาต้องการทราบสถานะของอุปกรณ์ก่อนที่แอพพลิเคชั่นของพวกเขาจะล้มเหลวพวกเขาก็สามารถพิมพ์ adb logcat เข้าไปในบรรทัดรับคำสั่งเพื่อรับรายชื่อข้อความและเบาะแสจากอุปกรณ์ของพวกเขาคำสั่ง ADB บางส่วนอาจเป็นประโยชน์สำหรับผู้อื่น คนด้วยคำสั่ง adb sideload อนุญาตให้ผู้ใช้ติดตั้งการอัพเดต OTA แบบ over-the-air และซอฟต์แวร์อื่น ๆ ลงในโทรศัพท์แทนการรอการอัปเดตหรือแอปพลิเคชันที่จะนำออกใช้โดย Google เมื่อคุณตั้งค่า ADB คุณจะได้รับคำสั่ง fastboot คำสั่ง Fastboot เช่น fastboot flash จะช่วยให้คุณสามารถติดตั้งการกู้คืนที่กำหนดเองและ kernels. Download Android SDK หรือโปรแกรมติดตั้ง ADB คลิกเดียวไปที่หน้า Android Developers เพื่อดาวน์โหลด Android SDK วางไฟล์ SDK ไว้ที่ใดก็ได้ในระบบของคุณ หากคุณใช้ Windows อีกครั้งคุณจะมีตัวเลือกในการใช้โปรแกรมติดตั้งคลิกเดียวที่มีประโยชน์นี้แทนถ้าคุณเลือกใช้โปรแกรมติดตั้งแบบคลิกเดียวคุณสามารถหยุดอ่านได้ที่นี่ตั้งค่าตัวแปร PATH เครื่องมือ ADB สามารถเข้าถึงได้ผ่านทางบรรทัดคำสั่งของคุณ แต่ถ้าคุณอยู่ในไดเรกทอรีแพลตฟอร์มเครื่องมือที่พบในโฟลเดอร์ SDK เพื่อให้สะดวกยิ่งขึ้นคุณสามารถตั้งค่าตัวแปรเส้นทางไปยัง ADB เพื่อให้คุณสามารถเข้าถึงเครื่องมือได้จากทุกที่ในบรรทัดคำสั่งของคุณบน Mac หรือ Linux เปิดเทอร์มินัลและพิมพ์ nano กด return คำสั่งนี้จะเปิดโปรแกรมแก้ไขข้อความเพื่อให้คุณสามารถแก้ไขไฟล์ที่มีตัวแปรของ PATH ของระบบได้เพิ่มบรรทัดนี้ลงในไฟล์ของคุณพร้อมกับข้อมูลที่จำเป็นการใช้งาน PATH PATH ผู้ใช้เส้นทางชื่อผู้ใช้ของคุณไปยัง platform-tools. I เลือกที่จะทำ สำเนาของไฟล์เครื่องมือแพลตฟอร์มดังนั้นตัวแปร PATH ของฉันมีลักษณะดังนี้หลังจากที่คุณได้ทำการเปลี่ยนแปลงแล้วให้บันทึกการเปลี่ยนแปลงของคุณโดยการกดปุ่ม Option และ X พร้อมกันทดสอบเครื่องมือ ADB พร้อมคำสั่ง adb devices ถ้าคุณได้รับ หากคุณเห็นคำสั่ง adb ไม่พบให้ย้อนกลับไปและตรวจสอบให้แน่ใจว่าคุณมีตัวแปร PATH โดยเฉพาะส่วนที่มีเส้นทางไปยังเครื่องมือแพลตฟอร์มที่ถูกเขียนออกมาอย่างถูกต้องตอนนี้คุณมี ADB ในคอมพิวเตอร์ของคุณคุณสามารถทำสิ่งต่างๆเช่นการสร้างภาพจากโรงงานหรือติดตั้ง OTA โดยไม่ต้องรอการอัปเดตมาจาก Google. Android Debug Bridge ในเอกสารนี้ Android Debug Bridge adb เป็นเครื่องมือบรรทัดคำสั่งอเนกประสงค์ที่ช่วยให้ คุณสื่อสาร กินกับอุปกรณ์จำลองหรืออุปกรณ์ Android ที่เชื่อมต่อคำสั่ง adb อำนวยความสะดวกในการดำเนินการต่างๆของอุปกรณ์เช่นการติดตั้งและแก้จุดบกพร่องแอพพลิเคชันและให้การเข้าถึงยูนิกซ์เชลล์ที่คุณสามารถใช้เพื่อเรียกใช้คำสั่งต่างๆบนอุปกรณ์ได้ เป็นโปรแกรมไคลเอ็นต์เซิร์ฟเวอร์ที่มีคอมโพเนนต์สามตัวไคลเอ็นต์ที่ส่งคำสั่งไคลเอ็นต์ทำงานบนเครื่องการพัฒนาของคุณคุณสามารถเรียกไคลเอ็นต์จาก terminal บรรทัดคำสั่งโดยการสร้างคำสั่ง adb Daemon adbd ซึ่งรันคำสั่งบนอุปกรณ์ daemon ทำงานเป็นกระบวนการพื้นหลังบนอุปกรณ์แต่ละเครื่องเซิร์ฟเวอร์ที่จัดการการติดต่อสื่อสารระหว่างไคลเอ็นต์และ daemon เซิร์ฟเวอร์ทำงานเป็นกระบวนการพื้นหลังใน machine. adb การพัฒนาของคุณจะรวมอยู่ในแพ็คเกจ Android SDK Platform-Tools คุณสามารถดาวน์โหลดแพคเกจนี้ได้ด้วย SDK Manager ซึ่งติดตั้งไว้ที่ androidsdk platform-tools หรือถ้าคุณต้องการแพ็คเกจ Android SDK Platform-Tools แบบสแตนด์อโลนคุณสามารถดาวน์โหลดได้ที่นี่การทำงาน adb เมื่อคุณเริ่มต้นโปรแกรม adb e client ตรวจสอบว่ามีกระบวนการเซิร์ฟเวอร์ adb ที่กำลังทำงานอยู่อยู่หรือไม่ถ้าไม่มี t จะเริ่มกระบวนการเซิร์ฟเวอร์เมื่อเซิร์ฟเวอร์เริ่มทำงานจะเชื่อมต่อกับพอร์ต TCP TCP 5037 และฟังคำสั่งที่ส่งมาจากไคลเอ็นต์ adb ไคลเอ็นต์ adb ทั้งหมดจะใช้พอร์ต 5037 ถึง สื่อสารกับเซิร์ฟเวอร์ adb เซิร์ฟเวอร์ตั้งค่าการเชื่อมต่อกับอุปกรณ์ที่กำลังทำงานอยู่ทั้งหมดตั้งตำแหน่ง emulators โดยการสแกนพอร์ตที่มีเลขคี่ในช่วง 5555 ถึง 5585 ช่วงที่ใช้โดยตัวเลียนแบบ 16 ตัวแรกที่เซิร์ฟเวอร์พบ ADB daemon adbd ตั้งค่าการเชื่อมต่อไปยังพอร์ตนั้นโปรดทราบว่าโปรแกรมจำลองแต่ละตัวใช้พอร์ตคู่กันเป็นพอร์ตแบบเลขคู่สำหรับการเชื่อมต่อคอนโซลและพอร์ตที่มีเลขคี่สำหรับการเชื่อมต่อ adb ตัวอย่างเช่นตัวจำลอง 1, คอนโซล 5554 Emulator 1, adb 5555 Emulator 2, คอนโซล 5556 Emulator 2, adb 5557 เป็นต้นโปรแกรมจำลองที่เชื่อมต่อกับ adb บนพอร์ต 5555 จะเหมือนกับโปรแกรมจำลองที่มีคอนโซลฟังในพอร์ต 5554 เมื่อเซิร์ฟเวอร์ได้ตั้งค่าการเชื่อมต่อกับอุปกรณ์ทั้งหมดแล้วคุณสามารถใช้ adb ได้ ร่วม mmands เพื่อเข้าถึงอุปกรณ์เหล่านี้เนื่องจากเซิร์ฟเวอร์จัดการการเชื่อมต่อกับอุปกรณ์และจัดการคำสั่งจากไคลเอ็นต์ adb หลายเครื่องคุณสามารถควบคุมอุปกรณ์ใด ๆ จากไคลเอ็นต์หรือจากสคริปต์ได้การแก้ไขข้อบกพร่อง adb ในอุปกรณ์ของคุณเมื่อต้องการใช้ adb กับอุปกรณ์ที่เชื่อมต่อผ่าน USB, คุณต้องเปิดใช้งานการแก้จุดบกพร่อง USB ในการตั้งค่าระบบอุปกรณ์ภายใต้ตัวเลือกของนักพัฒนาซอฟต์แวร์ใน Android 4 2 ขึ้นไปหน้าจอตัวเลือกสำหรับนักพัฒนาซอฟต์แวร์จะถูกซ่อนโดยค่าเริ่มต้นเพื่อให้สามารถมองเห็นได้ให้ไปที่การตั้งค่าเกี่ยวกับโทรศัพท์และแตะสร้างหมายเลข 7 ครั้งกลับไปที่ก่อนหน้า เพื่อค้นหาตัวเลือกสำหรับนักพัฒนาซอฟต์แวร์ที่ด้านล่างในบางอุปกรณ์หน้าจอตัวเลือกสำหรับนักพัฒนาซอฟต์แวร์อาจอยู่หรือตั้งชื่อแตกต่างกันขณะนี้คุณสามารถเชื่อมต่ออุปกรณ์ของคุณกับ USB คุณสามารถตรวจสอบว่าอุปกรณ์ของคุณเชื่อมต่ออยู่ด้วยการเรียกใช้อุปกรณ์ adb จากเครื่องมือแพลตฟอร์ม androidsdk หากเชื่อมต่อคุณจะเห็นชื่ออุปกรณ์ที่แสดงเป็นอุปกรณ์หมายเหตุเมื่อคุณเชื่อมต่ออุปกรณ์ที่ใช้ Android 4 2 2 หรือสูงกว่าระบบจะแสดงกล่องโต้ตอบถามว่าจะยอมรับหรือไม่ คีย์ความปลอดภัยนี้จะช่วยปกป้องอุปกรณ์ของผู้ใช้เนื่องจากจะทำให้มั่นใจได้ว่าการแก้จุดบกพร่อง USB และคำสั่ง adb อื่น ๆ จะไม่สามารถดำเนินการได้จนกว่าคุณจะสามารถปลดล็อกอุปกรณ์และยอมรับข้อความโต้ตอบได้สำหรับข้อมูลเพิ่มเติมเกี่ยวกับการเชื่อมต่อกับอุปกรณ์ผ่าน USB อ่านการเรียกใช้แอปบนอุปกรณ์ฮาร์ดแวร์เชื่อมต่อกับอุปกรณ์ผ่าน Wi-Fi. adb มักจะสื่อสารกับอุปกรณ์ผ่าน USB แต่คุณสามารถใช้ adb ผ่าน Wi-Fi หลังจากตั้งค่าเริ่มต้นผ่าน USB ตามที่อธิบายไว้ด้านล่างหากคุณต้องการ การพัฒนาสำหรับ Android Wear อย่างไรก็ตามคุณควรดูคำแนะนำในการแก้ปัญหาแอป Android Wear ซึ่งมีคำแนะนำพิเศษสำหรับการใช้ Adb กับ Wi-Fi และ Bluetooth เชื่อมต่ออุปกรณ์ Android กับคอมพิวเตอร์โฮสต์ adb เข้ากับเครือข่าย Wi-Fi ทั่วไปซึ่งสามารถเข้าถึงได้ โปรดระวังว่าจุดเชื่อมต่อบางจุดไม่เหมาะที่คุณอาจต้องใช้จุดเชื่อมต่อที่มีการกำหนดค่าไฟร์วอลล์อย่างถูกต้องเพื่อสนับสนุน adb ถ้าคุณกำลังเชื่อมต่อกับอุปกรณ์ Android Wear ให้ปิดบลูทู ธ โทรศัพทที่จับคูกับอุปกรณเชื่อมตออุปกรณเขากับคอมพิวเตอรดวยสายเคเบิล USB ตั้งคาอุปกรณปลายทางเพื่อสงสัญญาณ TCP IP บนพอรต 5555 จากนั้นเชื่อมตอสาย USB จากอุปกรณปลายทาง อุปกรณ์ Android ตัวอย่างเช่นในอุปกรณ์ Nexus คุณสามารถหาที่อยู่ IP ได้ที่แท็บการตั้งค่าเกี่ยวกับแท็บเล็ตหรือเกี่ยวกับสถานะ IP address ของโทรศัพท์หรือบนอุปกรณ์ Android Wear คุณสามารถหาที่อยู่ IP ได้ที่ Settings Wi-Fi Settings Advanced IP แอดเดรส เชื่อมต่อกับอุปกรณ์โดยใช้ที่อยู่ IP ยืนยันว่าคอมพิวเตอร์โฮสต์ของคุณเชื่อมต่อกับอุปกรณ์เป้าหมายแล้วตอนนี้ดีไปแล้วถ้าการเชื่อมต่อ adb หายไปโปรดตรวจสอบให้แน่ใจว่าโฮสต์ของคุณเชื่อมต่อกับเครือข่าย Wi - Fi อุปกรณ์ Android ของคุณเชื่อมต่ออีกครั้งโดยการรันขั้นตอนการเชื่อมต่อ adb อีกครั้งหรือหากไม่ได้ผลให้รีเซ็ตโฮสต์ adb จากนั้นเริ่มต้นจากจุดเริ่มต้น Query สำหรับอุปกรณ์ก่อนที่จะออกคำสั่ง adb จะเป็นประโยชน์เพื่อให้รู้ว่าอะไร อินสแตนซ์ของอุปกรณ์เชื่อมต่อกับเซิร์ฟเวอร์ adb คุณสามารถ gen ได้ erate รายการของอุปกรณ์ที่แนบมาโดยใช้คำสั่งอุปกรณ์ในการตอบสนอง adb จะพิมพ์ข้อมูลสถานะนี้สำหรับแต่ละอุปกรณ์จำนวนสตริงที่สตริงที่สร้างขึ้นโดย adb เพื่อระบุอุปกรณ์โดยไม่ซ้ำกันโดยใช้หมายเลขพอร์ตนี่คือตัวอย่างหมายเลขซีพียู -5554.State สถานะการเชื่อมต่อของอุปกรณ์สามารถเป็นอย่างใดอย่างหนึ่งต่อไปนี้ออฟไลน์อุปกรณ์ไม่ได้เชื่อมต่อกับ adb หรือไม่ตอบสนองอุปกรณ์ชุดนี้เชื่อมต่อกับเซิร์ฟเวอร์ adb โปรดทราบว่าสถานะนี้ไม่ได้หมายความว่าระบบ Android ได้รับการบูตแล้ว และการดำเนินงานเนื่องจากอุปกรณ์เชื่อมต่อกับ adb ในขณะที่ระบบยังคงบูตอย่างไรก็ตามหลังจากบูตเครื่องนี้เป็นสถานะการทำงานตามปกติของอุปกรณ์ device. no ไม่มีอุปกรณ์เชื่อมต่ออยู่คำอธิบายถ้าคุณใส่ตัวเลือก - l อุปกรณ์ คำสั่งจะบอกคุณว่าอุปกรณ์นี้ข้อมูลนี้เป็นประโยชน์เมื่อคุณเชื่อมต่ออุปกรณ์หลายเครื่องเพื่อที่คุณจะสามารถแยกแยะได้นอกจากนี้ตัวอย่างต่อไปนี้แสดงคำสั่งอุปกรณ์และเอาต์พุตของอุปกรณ์ ning สองบรรทัดแรกในรายการคือ emulators และบรรทัดที่สามคืออุปกรณ์ทางกายภาพที่แนบมากับเครื่องคอมพิวเตอร์เครื่องนี้ไม่ได้มีการระบุไว้คำสั่ง adb devices มีลำดับคำสั่ง where-case ที่ทำให้โปรแกรม emulator ทำงานไม่ได้ ในอุปกรณ์ adb ออกแม้ว่าโปรแกรมจำลองจะปรากฏบนเดสก์ท็อปของคุณซึ่งจะเกิดขึ้นเมื่อเงื่อนไขต่อไปนี้เป็นจริง server adb ไม่ทำงานและคุณใช้คำสั่ง emulator ด้วยตัวเลือก - port หรือ - ports พร้อมกับ หมายเลขพอร์ตเลขคี่ระหว่าง 5554 ถึง 5584 และพอร์ตที่มีเลขคี่ที่คุณเลือกไม่ว่างเพื่อให้การเชื่อมต่อพอร์ตสามารถทำได้ที่หมายเลขพอร์ตที่ระบุหรือถ้าไม่ว่างตัวจำลองจะสลับไปยังพอร์ตอื่นที่ตรงตาม ต้องการใน 2 และคุณเริ่มต้นเซิร์ฟเวอร์ adb หลังจากที่คุณเริ่ม emulator. One เพื่อหลีกเลี่ยงสถานการณ์นี้ให้ตัวจำลองจะเลือกพอร์ตของตนเองและ don t run มากกว่า 16 emulators พร้อมกันอีกวิธีหนึ่งคือการเริ่มต้น adb เสมอ เซิร์ฟเวอร์ก่อนที่คุณจะใช้จุลภาคจำลอง nd ตามที่ได้อธิบายไว้ในตัวอย่างต่อไปนี้ตัวอย่าง 1 ในลำดับคำสั่งต่อไปนี้คำสั่ง adb devices จะเริ่มเซิร์ฟเวอร์ adb แต่รายการอุปกรณ์ไม่ปรากฏขึ้นหยุดเซิร์ฟเวอร์ adb และป้อนคำสั่งต่อไปนี้ตามลำดับที่ปรากฏขึ้นสำหรับ ชื่อ avd ให้ชื่อ avd ที่ถูกต้องจากระบบของคุณหากต้องการดูรายการชื่อ avd ให้พิมพ์ emulator - list-avds คำสั่ง emulator อยู่ในไดเรกทอรี toolssdk tools ตัวอย่าง 2 ในลำดับคำสั่งต่อไปนี้ adb devices จะแสดงรายการอุปกรณ์ เนื่องจากเซิร์ฟเวอร์ adb เริ่มทำงานก่อนหากต้องการดูโปรแกรมจำลองในอุปกรณ์ adb ให้หยุดเซิร์ฟเวอร์ adb จากนั้นเริ่มต้นใช้งานอีกครั้งหลังจากใช้คำสั่ง emulator และก่อนใช้คำสั่ง adb devices ดังต่อไปนี้สำหรับข้อมูลเพิ่มเติมเกี่ยวกับคำสั่ง emulator ให้ดูที่การใช้ Command Line Parameters. Send คำสั่งไปยังอุปกรณ์เฉพาะถ้ามีอุปกรณ์หลายตัวทำงานอยู่คุณต้องระบุอุปกรณ์เป้าหมายเมื่อคุณใช้คำสั่ง adb เพื่อระบุเป้าหมายให้ใช้คำสั่ง device to g และหมายเลขซีเรียลของเป้าหมายเมื่อคุณมีหมายเลขซีเรียลให้ใช้ตัวเลือก - s กับคำสั่ง adb เพื่อระบุหมายเลขซีเรียลหากคุณกำลังจะออกคำสั่ง adb จำนวนมากคุณสามารถตั้งค่าตัวแปรสภาพแวดล้อมของ ANDROIDSERIAL เพื่อประกอบด้วย หมายเลขซีเรียลแทนถ้าคุณใช้ทั้งสองรุ่นและ ANDROIDSERIAL - ลบล้าง ANDROIDSERIAL ในตัวอย่างต่อไปนี้จะได้รับรายการอุปกรณ์ที่ต่อเชื่อมแล้วจากนั้นหมายเลขซีเรียลของอุปกรณ์ตัวใดตัวหนึ่งจะถูกใช้เพื่อติดตั้งอุปกรณ์ดังกล่าวโปรดทราบ คุณจะออกคำสั่งโดยไม่ต้องระบุอุปกรณ์เป้าหมายเมื่อมีอุปกรณ์หลายเครื่อง adb จะสร้างข้อผิดพลาดหากคุณมีอุปกรณ์หลายเครื่องที่พร้อมใช้งานหรือจำลอง แต่เพียงหนึ่งเครื่องเท่านั้นคือเครื่องจำลองใช้ตัวเลือก - e เพื่อส่งคำสั่งไปยังโปรแกรมจำลองเช่นเดียวกัน หากมีอุปกรณ์หลายเครื่อง แต่มีอุปกรณ์ฮาร์ดแวร์เพียงเครื่องเดียวให้ใช้ตัวเลือก - d เพื่อส่งคำสั่งไปยังอุปกรณ์ฮาร์ดแวร์ติดตั้งแอปพลิเคชันคุณสามารถใช้ adb เพื่อติดตั้ง APK บนอุปกรณ์จำลองหรืออุปกรณ์ที่เชื่อมต่อด้วยเครื่องหมายจุลภาคติดตั้ง nd ตั้งค่าการส่งต่อพอร์ตคุณสามารถใช้คำสั่ง forward เพื่อตั้งค่าการส่งต่อพอร์ตโดยพลการซึ่งจะส่งต่อคำขอบนพอร์ตโฮสต์เฉพาะไปยังพอร์ตอื่นบนอุปกรณ์ตัวอย่างต่อไปนี้จะตั้งค่าการส่งต่อพอร์ตโฮสต์ 6100 ไปยังพอร์ตอุปกรณ์ 7100 ตัวอย่างต่อไปนี้จะตั้งค่าการส่งต่อพอร์ตโฮสต์ 6100 ไปยังโลคัลโลคัลไฟล์ไปที่จากอุปกรณ์ใช้คำสั่ง pull and push เพื่อคัดลอกไฟล์ไปยังและจากอุปกรณ์ซึ่งแตกต่างจากคำสั่ง install ซึ่งจะคัดลอกเฉพาะไฟล์ APK ไปยังตำแหน่งเฉพาะ คำสั่ง pull และ push ช่วยให้คุณสามารถคัดลอกไดเร็กทอรีและไฟล์ต่างๆไปยังตำแหน่งใดก็ได้ในอุปกรณ์เพื่อคัดลอกไฟล์หรือไดเร็กทอรีและไดเร็กทอรีย่อยจากอุปกรณ์ทำต่อไปนี้เพื่อคัดลอกไฟล์หรือไดเร็กทอรีและไดเร็กทอรีย่อย ไปที่อุปกรณ์ทำต่อไปนี้แทนที่ท้องถิ่นและระยะไกลด้วยเส้นทางไปยังไดเร็กทอรีไฟล์ปลายทางบนเครื่องการพัฒนาของคุณแบบโลคัลและบนรีโมตอุปกรณ์ตัวอย่างเช่นปิดเซิร์ฟเวอร์ adb ในบางกรณีคุณอาจต้องยกเลิกเซิร์ฟเวอร์ adb กระบวนการ จากนั้นรีสตาร์ทเครื่องเพื่อแก้ไขปัญหาเช่นถ้า adb ไม่ตอบสนองต่อคำสั่งเมื่อต้องการหยุดเซิร์ฟเวอร์ adb ให้ใช้คำสั่ง adb kill-server จากนั้นคุณสามารถรีสตาร์ทเซิร์ฟเวอร์โดยการออกคำสั่ง adb command. adb อื่น ๆ เพื่ออ้างอิงคุณสามารถ ออกคำสั่ง adb จากบรรทัดคำสั่งบนเครื่องพัฒนาของคุณหรือจากสคริปต์การใช้งานคือถ้ามีเพียงหนึ่งโปรแกรมจำลองที่ทำงานอยู่หรือมีเพียงอุปกรณ์เดียวที่เชื่อมต่อคำสั่ง adb จะถูกส่งไปยังอุปกรณ์นั้นตามค่าเริ่มต้นถ้ามีโปรแกรมจำลองเลียนแบบหลายตัวทำงานและหรือหลายรายการ อุปกรณ์จะถูกแนบมาคุณต้องใช้ตัวเลือก - d - e หรือ - s เพื่อระบุอุปกรณ์เป้าหมายที่จะใช้คำสั่งนี้ตารางต่อไปนี้แสดงรายการทั้งหมดของคำสั่ง adb ที่สนับสนุนและอธิบายถึงความหมายและการใช้งานของแท็บนี้ 1 มีอยู่ adb คำสั่งและ options. Connect ไปยังอุปกรณ์ผ่านทาง TCP IP ถ้าคุณไม่ได้ระบุพอร์ตแล้วพอร์ตเริ่มต้น 5555 ถูกใช้งานพอร์ตโฮสต์ host. disconnect จากอุปกรณ์ TCP IP ระบุที่ทำงานบนพอร์ตที่ระบุถ้าคุณไม่ ระบุโฮสต์หรือ AP ort แล้วอุปกรณ์ทั้งหมดจะถูกตัดการเชื่อมต่อจากพอร์ต TCP IP หากคุณระบุโฮสต์ แต่ไม่ใช่พอร์ตพอร์ตดีฟอลต์ 5555 ถูกใช้การเชื่อมต่อซ็อกเก็ตทั้งหมดที่ส่งต่อไปข้างหน้า - ไม่รีทวีต local remote. Forward socket connections จาก พอร์ตเฉพาะที่ระบุไปยังพอร์ตระยะไกลที่ระบุบนอุปกรณ์คุณสามารถระบุทั้งพอร์ตภายในและพอร์ตระยะไกลได้ในวิธีการต่อไปนี้พอร์ต TCP หากต้องการเลือกพอร์ตที่เปิดอยู่ให้ใช้ค่าภายใน tcp 0.localabstract unixdomainsocketname. localreserved unixdomainsocketname. localfilesystem unixdomainsocketname. dev ลบการเชื่อมต่อซ็อกเก็ตที่ส่งต่อที่ระบุไว้ดูรายการการเชื่อมต่อซ็อกเก็ตย้อนกลับทั้งหมดจาก device. reverse --no-rebind remote local. Reverse การเชื่อมต่อซ็อกเก็ตตัวเลือก --no-rebind หมายถึงการกลับรายการล้มเหลวหากระบุ ซ็อกเก็ตถูกผูกไว้แล้วผ่านคำสั่งย้อนกลับก่อนหน้านี้คุณสามารถระบุพอร์ตสำหรับอาร์กิวเมนต์ทั้งภายในและระยะไกลในวิธีต่อไปนี้พอร์ต TCP เพื่อเลือกพอร์ตที่เปิดอยู่ให้รีโมต ค่า tcp 0.localabstract unixdomainsocketname. localreserved unixdomainsocketname. localfilesystem unixdomainsocketname. reverse - ลบรีโมตลบการเชื่อมต่อซ็อกเก็ตย้อนกลับที่ระบุออกจากอุปกรณ์ถอดการเชื่อมต่อซ็อกเก็ตย้อนกลับทั้งหมดออกจากอุปกรณ์ File Transfer Commands. push local remote. Copy files and directories from เครื่องคอมพิวเตอร์ท้องถิ่นไปยังตำแหน่งระยะไกลบน device. pull - remote local สำเนาไฟล์ระยะไกลและไดเร็กทอรีไปยังอุปกรณ์ใช้ตัวเลือก - a เพื่อเก็บประทับเวลาของไฟล์และโหมดการติดตั้ง Elements ติดตั้งชุดคำสั่ง ไปที่อุปกรณ์และติดตั้งตัวเลือกที่เป็นไปได้มีดังต่อไปนี้ l - แอ็พพลิเคชันการล็อกไปข้างหน้า - r เปลี่ยนแอ็พพลิเคชันที่มีอยู่ - t อนุญาตแพคเกจทดสอบ - s ติดตั้งแอ็พพลิเคชั่นบน SD card-d อนุญาตให้ใช้โค้ดลดระดับรุ่นที่ทำการแก้จุดบกพร่องเท่านั้น . - g ให้สิทธิ์รันไทม์ทั้งหมด. ตัวเลือกหลายตัวเลือก package. Same เป็นติดตั้งด้วยการเพิ่มดังต่อไปนี้ p-install. uninstal โปรแกรมบางส่วน l - k package. Remove แพคเกจ app นี้จากอุปกรณ์เพิ่มตัวเลือก - k เพื่อให้ข้อมูลและไดเรกทอรีแคชไดเรกทอรีสำรองและเรียกคืน Commands. backup-f ไฟล์ - apk-noapk - obb - noobb - shared - noshared - all - system ถ้าคุณไม่ได้ระบุชื่อไฟล์ไฟล์ดีฟอลต์คือรายการแพ็คเกจจะเป็นตัวเลือกเมื่อคุณระบุออปชั่น - all และ - shared ดังต่อไปนี้อธิบายถึงประเพณีของอุปกรณ์อื่น ๆ ตัวเลือก - apk - noapk สำรองหรือไม่สำรองไฟล์ค่าดีฟอลต์คือ - noapk. - obb - noobb สำรองหรือไม่สำรองไฟล์ค่าดีฟอลต์คือ - noobb. - shared - noshared สำรองหรือไม่กลับ ค่าที่ตั้งไว้คือ - noshared.- ทั้งหมดสำรองข้อมูลแอ็พพลิเคชันที่ติดตั้งไว้ทั้งหมด - system - nosystem รวมหรือไม่รวมแอ็พพลิเคชันระบบเมื่อสำรองแอ็พพลิเคชันที่ติดตั้งไว้ทั้งหมด - ทั้งหมดค่าดีฟอลต์คือ - system เรียกคืนเนื้อหาของอุปกรณ์จากไฟล์ พิมพ์รายงานข้อผิดพลาดไปยังเส้นทางที่ระบุถ้าเส้นทางคือไดเร็กทอรีรายงานบั๊กจะบันทึก d ไปยังไดเรกทอรีนั้นโดยใช้ชื่อไฟล์ดีฟอลต์อุปกรณ์ที่ไม่สนับสนุนรายงานข้อผิดพลาดของ zipped พิมพ์เป็น stdout พิมพ์รายการกระบวนการ JDWP ที่มีอยู่ในอุปกรณ์ที่ระบุใช้ forward jdwp pid เพื่อเชื่อมต่อกับกระบวนการ JDWP เฉพาะตัวอย่างเช่น adb forward tcp 8000 jdwp 472 jdb - attach localhost 8000.logcat ตัวช่วยค้นหาตัวกรองข้อมูลจำเพาะพิมพ์ข้อมูลบันทึกลงในหน้าจอสำหรับข้อมูลเกี่ยวกับคำสั่ง logcat และตัวแปรสภาพแวดล้อมของ ANDROIDLOGTAGS ให้ดูที่การกรองผลลัพธ์บนหน้า logcat ตัวแปรสภาพแวดล้อมของ ADBTRACE ประกอบด้วยเครื่องหมายจุลภาค รายการแยกต่างหากของข้อมูลการแก้ปัญหาเพื่อเข้าสู่ระบบค่าสามารถรวมกันของต่อไปนี้ทั้งหมด adb ซ็อกเก็ตแพ็คเก็ต rwx usb ซิงค์ sysdeps การขนส่งและการตรวจสอบ dm-verity jdwp. disable dm-verity ใน userdebug สร้าง dm-verity ตัวเลือกเพื่อให้แน่ใจว่าเมื่อผู้ใช้บูทอุปกรณ์ ว่าอยู่ในสถานะเดียวกับที่ใช้เมื่อล่าสุดสำหรับข้อมูลเพิ่มเติมโปรดดูที่บูตที่ผ่านการตรวจสอบแล้วเปิดใช้งานการตรวจสอบ dm-verity บน userdebug build ตัวเลือก dm-verity ช่วยให้มั่นใจว่าเมื่อ ผู้ใช้บูทอุปกรณ์ที่อยู่ในสถานะเดียวกับที่ใช้งานครั้งล่าสุดสำหรับข้อมูลเพิ่มเติมโปรดดูที่บูตที่ได้รับการรับรองสร้างรหัส adb การเข้ารหัสคีย์ส่วนตัวและคีย์ส่วนตัวคีย์ส่วนตัวจะถูกเก็บไว้ในไฟล์คีย์สาธารณะจะถูกเก็บไว้ในไฟล์ ตัวแปรสภาพแวดล้อมของ ANDROIDVENDORKEYS ประกอบด้วยรายการคีย์ไฟล์หรือไดเร็กทอรีที่คั่นด้วยเครื่องหมายลำไส้ใหญ่รออยู่สำหรับอุปกรณ์ที่อยู่ในสถานะ state. state ที่ระบุค่านี้จะเป็นค่า sideload ของการกู้คืนอุปกรณ์หรือค่า bootloader. transport สามารถเป็น usb ท้องถิ่นหรือใด ๆ พิมพ์สถานะ adb ของอุปกรณ์สถานะ adb สามารถพิมพ์ตัวโหลดหรือตัวประมวลผลแบบออฟไลน์ได้สำหรับข้อมูลเพิ่มเติมโปรดดูที่การสอบถามสำหรับอินสแตนซ์อุปกรณ์ตัวเลียนแบบพิมพ์รหัสสตริงหมายเลขอุปกรณ์ adb สำหรับข้อมูลเพิ่มเติมโปรดดูที่การสืบค้นข้อมูลสำหรับอินสแตนซ์อุปกรณ์ตัวเลียนแบบ พิมพ์พา ธ อุปกรณ์ adb ระบุผู้ขายระบบและพาร์ติชัน oem ในโหมดอ่านเขียนการรีบูต bootloader mode. reboot sideload sideload-auto-reboot. Reboot device คำสั่งนี้เริ่มต้นการบูตระบบภาพ b. ut นอกจากนี้ยังสนับสนุน bootloader และ recovery. The ตัวเลือก bootloader บูตเข้า bootloader. The ตัวเลือกการกู้คืนเริ่มต้นใหม่ใน recovery. The ทางเลือก sideload เริ่มต้นใหม่ในการกู้คืนและเริ่ม sideload โหมดตัวเลือก sideload-auto-reboot เป็นเช่นเดียวกับ sideload แต่เรียบหลังจากโหลดด้านเสร็จสมบูรณ์ โหลดแบบติดตั้งในรูปแบบ APK ระบุแพคเกจ OTA ที่ระบุไว้เต็มรูปแบบบนอุปกรณ์รีสตาร์ท adbd โดยมีสิทธิ์ root รีสตาร์ท adbd โดยไม่มีสิทธิ์ root รีสตาร์ทเซิร์ฟเวอร์ adb on listening บน USB รีสตาร์ทเซิร์ฟเวอร์ adb การฟังบน TCP ที่พอร์ตที่ระบุการแก้จุดบกพร่องภายใน ตรวจสอบว่ากระบวนการเซิร์ฟเวอร์ adb กำลังทำงานอยู่หรือไม่กำหนดกระบวนการเซิร์ฟเวอร์ adb ให้เชื่อมต่ออีกครั้งจากโฮสต์การเชื่อมต่อใหม่จากอุปกรณ์เพื่อบังคับเชื่อมต่ออีกครั้งสตาร์ทปลั๊กอินแบบโต้ตอบระยะไกลในอุปกรณ์ปลายทางสำหรับข้อมูลเพิ่มเติมโปรดดูที่การออก shell commands. shell - e escapechar - n - T - t - x command. ss เชลล์คำสั่งในอุปกรณ์เป้าหมายแล้วออกจากเปลือกระยะไกลใช้การรวมกันของ optio ต่อไปนี้ ns. - e ระบุอักขระ Escape หรือไม่มีค่าใด ๆ ถ้าคุณไม่ต้องการใช้อักขระ Escape ถ้าคุณไม่มีค่าจะใช้อักขระ Escape Escape เป็นค่าเริ่มต้น - ถูกใช้ - n อย่าอ่านจาก stdin.- T ปิดการใช้งานการจัดสรร PTY เทอร์มินัลการปันส่วน PTY-x ปิดการใช้งานการปันส่วน PTY-x ปิดการใช้งานรหัสทางออกระยะไกลและการแยก stderout stdout เรียกใช้คอนโซลจำลองเลียนแบบสำหรับข้อมูลเพิ่มเติมให้ดูที่การควบคุม Emulator จาก Command Line เรียกใช้คำสั่งเชลล์คุณสามารถ ใช้คำสั่งเชลล์เพื่อออกคำสั่งอุปกรณ์ผ่านทาง adb โดยมีหรือไม่มีการใส่ปลั๊กอินระยะไกล adb บนอุปกรณ์ในการออกคำสั่งเดียวโดยไม่ต้องเข้าใช้งานเชลล์ระยะไกลให้ใช้คำสั่งเชลล์เช่นนี้หรือใส่ปลั๊กอินระยะไกลบนอุปกรณ์เช่นนี้ เมื่อคุณพร้อมที่จะออกจากเชลล์ระยะไกลให้กด Control D หรือพิมพ์ exit จากนั้น binaries คำสั่ง shell จะถูกเก็บไว้ในระบบไฟล์ของอุปกรณ์ที่ bin system หมายเหตุ: ด้วย Android Platform-Tools 23 ขึ้นไป adb จะจัดการกับอาร์กิวเมนต์เดียวกัน วิธีที่ ssh 1 คำสั่งไม่นี้ chan ge ได้แก้ไขปัญหาเกี่ยวกับการฉีดคำสั่งเรียบร้อยแล้วและทำให้สามารถดำเนินการคำสั่งที่มี metacharacters ของเชลล์ได้อย่างปลอดภัยเช่น adb install แต่การเปลี่ยนแปลงนี้หมายความว่าการตีความคำสั่งใด ๆ ที่มี metacharacters ของเชลล์ก็มีการเปลี่ยนแปลงตัวอย่างเช่น adb shell setprop foo ab คำสั่งนี้เป็นข้อผิดพลาดเนื่องจากคำพูดเดียวถูกกลืนโดยเปลือกภายในและอุปกรณ์เห็น adb shell setprop foo ab เพื่อให้คำสั่งทำงานอ้างสองครั้งหนึ่งสำหรับเปลือกภายในและหนึ่งครั้งสำหรับเปลือกระยะไกล, เช่นเดียวกับที่คุณทำกับ ssh 1 ตัวอย่างเช่น adb shell setprop foo เป็นตัวจัดการกิจกรรม b. Call am ในปลั๊กอิน adb คุณสามารถออกคำสั่งด้วยเครื่องมือจัดการกิจกรรมเป็นเครื่องมือในการดำเนินการต่างๆของระบบเช่นเริ่มต้นกิจกรรม, บังคับให้หยุดกระบวนการกระจายเจตนาปรับเปลี่ยนคุณสมบัติของหน้าจออุปกรณ์และอื่น ๆ ในขณะที่อยู่ในเชลล์ไวยากรณ์เป็นคุณสามารถออกคำสั่งของตัวจัดการกิจกรรมได้โดยตรงจาก adb โดยไม่ต้องป้อนระยะไกลสำหรับ e xample. Table 2 ตัวจัดการกิจกรรมที่มีอยู่ commands. start ตัวเลือก intent. Start กิจกรรมที่ระบุโดย intent. Options อยู่ - D เปิดใช้งานการดีบัก - W รอการเปิดตัวให้เสร็จสมบูรณ์. - ไฟล์ profiler เริ่มต้นเริ่ม profiler และส่งผลลัพธ์ไปยังแฟ้ม - P file Like --Start-profiler แต่ profiling จะหยุดทำงานเมื่อแอพฯ ไปไม่ได้ใช้งาน - R count นับครั้งนับถอยหลังการเปิดใช้งานซ้ำก่อนที่จะมีการทำซ้ำแต่ละครั้งกิจกรรมด้านบนจะเสร็จสิ้น - S Force จะหยุดแอ็ตเก็ตเป้าหมายก่อนที่จะเริ่มกิจกรรม - เปิดใช้งานการสืบค้นกลับของฟังก์ชัน OpenGL - userid userid ระบุระบุว่าผู้ใช้จะรันเป็นถ้าไม่ได้ระบุแล้วรันเป็น user. startservice ตัวเลือกปัจจุบันที่เริ่มต้นบริการที่ระบุโดย intent. Options เป็น .-- ผู้ใช้ userid ปัจจุบันระบุผู้ใช้ที่จะเรียกใช้เป็นถ้าไม่ได้ระบุแล้วรันเป็น user. Force ปัจจุบันหยุดทุกอย่างที่เกี่ยวข้องกับแพคเกจแพคเกจ app s package. Kill ตัวเลือกแพคเกจกระบวนการทั้งหมดที่เกี่ยวข้องกับแพคเกจ app ชื่อแพคเกจ s คำสั่งนี้จะฆ่า เฉพาะกระบวนการที่ปลอดภัยเท่านั้น ฆ่าและที่จะไม่ส่งผลกระทบต่อประสบการณ์การใช้งานผู้ใช้ระบุผู้ใช้ทั้งหมดที่ระบุกระบวนการที่จะฆ่าผู้ใช้ทั้งหมดหากไม่ได้ระบุระบุว่ากระบวนการทั้งหมดของกระบวนการพื้นหลังความตั้งใจที่จะออกอากาศ ระบุผู้ใช้ที่จะส่งไปยังถ้าไม่ได้ระบุไว้แล้วส่งไปยังคอมโพเนนต์ users. instrument options ทั้งหมดเริ่มต้นการตรวจสอบโดยใช้อินสแตนซ์ Instrumentation โดยปกติคอมโพเนนต์เป้าหมายคือแบบฟอร์ม testpackage runnerclass. Options are. r พิมพ์ผลลัพธ์ดิบเป็นอย่างอื่น decode reportkeystreamresult ใช้กับ - e perf จริงเพื่อสร้าง raw output สำหรับการวัดประสิทธิภาพ e-name name ตั้งชื่ออาร์กิวเมนต์เป็นค่าสำหรับ runners ทดสอบรูปแบบทั่วไปคือค่า - e testrunnerflag, file value. - p เขียนข้อมูลโปรไฟล์ไปยังแฟ้ม - w รอให้เครื่องมือวัดเสร็จสิ้นก่อนที่จะส่งคืนที่จำเป็นสำหรับ runners ทดสอบ - ไม่มีหน้าต่างเคลื่อนไหวปิดการเคลื่อนไหวของหน้าต่างในขณะที่ทำงาน - userid userid ปัจจุบันระบุว่าเครื่องมือของผู้ใช้ใดที่รันในผู้ใช้ปัจจุบันถ้าไม่ระบุไฟล์เริ่มต้นกระบวนการ file. Start profiler on process เขียนผลลัพธ์ไปยังไฟล์ process. profile stop process. Stop profiler ใน process. dumpheap process กระบวนการ file. Dump heap ของกระบวนการเขียนไปยัง file. Options เป็น .-- userid ผู้ใช้ปัจจุบันเมื่อ ระบุชื่อกระบวนการระบุผู้ใช้กระบวนการเพื่อถ่ายโอนข้อมูลใช้ผู้ใช้ปัจจุบันถ้าไม่ระบุ - n การถ่ายโอนข้อมูลฮีปดั้งเดิมแทนการจัดการ heap. set-debug-app ตัวเลือก packages. Set แพคเกจโปรแกรมประยุกต์เพื่อ debug. Options are. - w รอดีบัก เมื่อแอพพลิเคชันเริ่มทำงาน - ถาวรเก็บค่านี้ปิดชุดก่อนหน้านี้สำหรับการดีบักด้วย set-debug-app. Start การตรวจสอบสำหรับข้อขัดข้องหรือ ANRs. Options อยู่ที่. - gdb เริ่ม gdbserv บนพอร์ตที่ระบุที่ ANR. display - รีเซ็ตขนาดความกว้าง x ความสูงขนาดจอแสดงผลขนาดใหญ่คำสั่งนี้มีประโยชน์สำหรับการทดสอบแอปของคุณในขนาดหน้าจอที่แตกต่างกันโดยเลียนแบบความละเอียดหน้าจอขนาดเล็กโดยใช้อุปกรณ์ที่มีหน้าจอขนาดใหญ่และในทางกลับกันตัวอย่างเช่นขนาดจอแสดงผลขนาด 1280x800.Override display ความหนาแน่นคำสั่งนี้มีประโยชน์สำหรับการทดสอบแอปพลิเคชันของคุณผ่านความหนาแน่นของหน้าจอที่แตกต่างกันในสภาวะแวดล้อมที่มีความหนาแน่นสูงโดยใช้หน้าจอความหนาแน่นต่ำและในทางกลับกันตัวอย่างเช่น am display-density 480. พิมพ์ข้อมูลจำเพาะเกี่ยวกับเจตนาที่ระบุเป็น URI พิมพ์ภาพ inten t เป็น URI ตามความมุ่งมั่นสำหรับอาร์กิวเมนต์เจตนาสำหรับคำสั่งของผู้จัดการกิจกรรมที่ใช้อาร์กิวเมนต์เจตนาคุณสามารถระบุเจตนาที่มีอ็อพชันต่อไปนี้การกระทำระบุการกระทำที่เจตนาเช่นคุณสามารถประกาศนี้ได้เพียงครั้งเดียว - d datauri ระบุ URI ข้อมูลเจตนาเช่นบุคคลที่ติดต่อเนื้อหา 1 คุณสามารถประกาศแบบนี้ได้เพียงครั้งเดียว - t mimetype ระบุชนิด MIME ที่ตั้งใจเช่น png รูปภาพคุณสามารถประกาศนี้ได้เฉพาะเมื่อ - c หมวดระบุหมวดเจตนาเช่น - n คอมโพเนนต์ระบุชื่อคอมโพเนนต์ด้วยคำนำหน้าชื่อแพคเกจเพื่อสร้างจุดประสงค์ที่ชัดเจนเช่น - f flags เพิ่มค่าสถานะเพื่อเจตนาโดยได้รับการสนับสนุนโดย setFlags --esn extrakey เพิ่มค่าว่างพิเศษตัวเลือกนี้ไม่ได้รับการสนับสนุนสำหรับ intents URI - e - es extrakey extrastringvalue เพิ่มข้อมูลสตริงเป็นคู่ค่าที่สำคัญ - เกิน extracey extrabooleanvalue เพิ่มข้อมูลบูลีนเป็นคู่ค่าคีย์ --ei extrakey extraintvalue เพิ่มข้อมูลจำนวนเต็มเป็นคู่คีย์ - ค่า - ext extensey extralongvalue เพิ่มข้อมูลที่ยาวขึ้นเป็น ที่สำคัญ-Val ue pair --ef extrakey extrafloatvalue เพิ่มข้อมูล float เป็นคู่ค่าคีย์ - add extraction extra_value เพิ่มข้อมูล URI เป็นคู่ค่าคีย์ --ecn extrakoy extracomponentnamevalue เพิ่มชื่อคอมโพเนนต์ที่ถูกแปลงและส่งผ่านเป็น object ComponentName - - eia extrakey extraintvalue, extraintvalue เพิ่มอาร์เรย์ของจำนวนเต็ม - extraction extralongue, extralongvalue เพิ่มอาร์เรย์ของ longs - exte extrakey extrafloatvalue, extrafloatvalue เพิ่มอาร์เรย์ของ floats - อ่านหนังสือ - uri - อนุญาตรวมธง FLAGGRANTREADURIPERMISSION - grant-write-uri-permission รวมถึงธง FLAGGRANTWRITEURIPERMISSION --debug-log-resolution รวมถึงธง FLAGDEBUGLOGRESOLUTION - ไม่รวมแพคเกจที่หยุดพักรวมถึงธง FLAGEXCLUDESTOPPEDPACKAGES - รวมแพคเกจที่ยกเลิกแล้วรวมถึงธง FLAGINCLUDESTOPPEDPACKAGES - activity-brought - to-front รวมธง FLAGACTIVITYBROUGHTTOFRONT - active-clear-top รวมธง FLAGACTIVITYCLEARTOP - ตั้งค่าให้ชัดเจนเมื่อตั้งค่างานใหม่รวมถึงธง FLAGAC รวมถึงธง FLAGACTIVITYLAUNCHEDFROMHISTORY - activity-multiple-task รวมถึงธง FLAGACTIVITYMULTIPLETASK - activity-no-animation รวมถึงธง FLAGACTIVITYNOANIMATION - รวมถึงธง FLAGACTIVITYEXCLUDEFROMRECENTS - FLAGACTIVITYNOUSERACTION - active-previous-is-top รวมธง FLAGACTIVITYPREVIOUSISTOP - activity-order-to-front รวมถึงธง FLAGACTIVITYREORDERTOFRONT - รวมถึงธง FLAGACTIVITYSINGLETOP - active-clear-task รวมถึงธง FLAGACTIVITYCLEARTASK - active-task-on-home รวมธง FLAGACTIVITYTASKONHOME - - รับเฉพาะที่ลงทะเบียนเท่านั้นรวมธง FLAGRECEIVERREGISTEREDONLY - re-receive-replace-pending รวมธง FLAGRECEIVERREPLACEPENDING --s elector ต้องการใช้ตัวเลือก - d และ - t เพื่อกำหนดข้อมูลเจตนาและพิมพ์แพคเกจส่วนประกอบ URI คุณสามารถระบุ URI ชื่อแพ็กเกจและชื่อคอมโพเนนต์ได้โดยตรงเมื่อไม่มีคุณสมบัติตามตัวเลือกข้างต้นเมื่ออาร์กิวเมนต์ไม่มีคุณสมบัติครบถ้วน เครื่องมือสันนิษฐานอาร์กิวเมนต์เป็น URI ถ้ามีลำไส้ใหญ่มันถือว่าอาร์กิวเมนต์เป็นชื่อส่วนประกอบถ้ามีสแลชไปข้างหน้ามิฉะนั้นจะถือว่าอาร์กิวเมนต์เป็นชื่อแพ็กเกจแพคเกจผู้จัดการแพคเกจ pm. Within เปลือก adb คุณสามารถออก คำสั่งด้วยเครื่องมือ PM ผู้จัดการแพคเกจเพื่อดำเนินการและแบบสอบถามบนแพ็คเกจแอ็พพลิเคชันที่ติดตั้งบนอุปกรณ์ในขณะที่อยู่ในเชลล์ไวยากรณ์คือคุณสามารถออกคำสั่งของตัวจัดการแพคเกจได้โดยตรงจาก adb โดยไม่ต้องใส่รีโมตเชลล์ตัวอย่างเช่นมี 3 ใช้ได้ ตัวจัดการแพคเกจคำสั่งตัวเลือกแพคเกจตัวกรองตัวเลือกแพคเกจทั้งหมดหรือเฉพาะผู้ที่มีชื่อแพ็กเกจที่มีข้อความในตัวกรอง f ดูไฟล์ที่เกี่ยวข้องของพวกเขา d กรองเพื่อแสดงเฉพาะแพคเกจที่ปิดใช้งาน e กรองไป แสดงเฉพาะแพคเกจที่เปิดใช้งาน s - กรองเพื่อแสดงเฉพาะแพ็คเกจระบบ - 3 กรองเพื่อแสดงเฉพาะแพคเกจของบุคคลที่สาม - i ดูโปรแกรมติดตั้งสำหรับแพคเกจ - u ยังรวมถึงแพคเกจที่ถอนการติดตั้ง - ผู้ใช้ userid ผู้ใช้พื้นที่ในการค้นหา Prints all known permission groups. list permissions options group. Prints all known permissions, optionally only those in group.-g Organize by group.-f Print all information.-s Short summary.-d Only list dangerous permissions.-u List only the permissions users will see. list instrumentation options. List all test packages.-f List the APK file for the test package. targetpackage List test packages for only this app. Take a screenshot. The screencap command is a shell utility for taking a screenshot of a device display While in a shell, the syntax is. To use the screencap from the command line, type the following. Here s an example screenshot session, using the adb shell to capture the screenshot and the pull command to download the file from the device. Record a video. The scre enrecord command is a shell utility for recording the display of devices running Android 4 4 API level 19 and higher The utility records screen activity to an MPEG-4 file. Note Audio is not recorded with the video file. A developer can use this file to create promotional or training videos While in a shell, the syntax is. To use screenrecord from the command line, type the following. Stop the screen recording by pressing Control C, otherwise the recording stops automatically at three minutes or the time limit set by --time-limit. To begin recording your device screen, run the screenrecord command to record the video Then, run the pull command to download the video from the device to the host computer Here s an example recording session. The screenrecord utility can record at any supported resolution and bit rate you request, while retaining the aspect ratio of the device display The utility records at the native display resolution and orientation by default, with a maximum length of three mi nutes. There are some known limitations of the screenrecord utility that you should be aware of when using it. Some devices might not be able to record at their native display resolution If you encounter problems with screen recording, try using a lower screen resolution. Rotation of the screen during recording is not supported If the screen does rotate during recording, some of the screen is cut off in the recording. Table 4 screenrecord options. Android ADB File Manager. A command line GUI GTK based Android ADB-based file manager. Recent Android releases Honeycomb 3 0 replace the older USB mount protocol with the use of MTP Massive Transfer Protocol Unfortunately this is still very buggy and doesn t work as it should in any machine I have tested and heard of system slowing down to a halt when transferring large number of files, files which are there but cannot be seen by the computer etc. So I decided to go ahead and build a little utility that would if not fix, at least alleviate the pain o f using Honeycomb devices aafm uses ADB one of the command line tools provided with the official Android SDK for communicating with the Android device This is the same method that IDEs implement. Python with PyGTK bindings, GTK, git, and the Android SDK. Getting these should be fairly straightforward if you re running any decent Linux distribution If you re using Windows I believe there are next-next-next installers for everything This leaves us with the third option which is Mac OS Up until recently there wasn t an easy way to get any PyGTK software working in Mac OS, but turns out you can now download a binary build of PyGTK for Mac OS with which aafm works quite well. It can be downloaded from more info Simply run the installer once downloaded, and then follow the instructions below as if you were running a proper Linux system. One note though there are a few hiccups with the Mac version, but they are mostly cosmetic and won t prevent you from enjoying the software Feel free to help cor recting them if you have the know-how. Clone this repository to a place you fancy For example, your Applications folder. Install the Android SDK. If it s not installed yet, download the SDK from its page and follow its instructions. Basically at least in Linux just download a zip file and unpack it to a known location In my case it s. Applications android-sdk-linux86 Once that is done, you need to make sure that the ADB tool is readily accessible from a shell which is what aafm uses internally. So to try that out, open a new terminal and type adb If it works, you should get a long help message that starts with something like Android Debug Bridge version 1 0 26 If it doesn t work, you ll get something akin to adb command not found. In case it doesn t work, you need to add the path to ADB to the environment PATH variable In Linux this is done by editing a file called in your home folder in Mac OS Locate a line that looks like PATH PATH and make it look like this. The line above appends ADB s path to whatever value PATH held before The path might be different, according to wherever you ve installed the Android SDK. Also, I haven t tried it myself, but it seems that it s possible to download and build a reduced subset of the Android SDK only, including ADB and a few more tools This doesn t require Java installed in the syst em This page describes how. Close terminal and open it again. So the changes to the PATH get current In Mac OS you might need to log in and out too. Configure udev rules if in Linux. You need to let the system know that when you connect your USB device i e the tablet it should allow you, as a non-root user, to access it If you don t do that, you ll get a Insufficient permissions for device error. This is done by adding a new file that contains so called udev rules. For example, in Ubuntu 10 10 you would add a file in with the following content. You can find out the idVendor value by running lsusb in a terminal That will output a list of the currently connected USB devices, such as for example this. Since I d like to add support for browsing my Nexus One phone because aafm works with every Android device that adb can connect to , I just need to look at the device with id 18d1 4e12 and add the following line to the udev rules file. Save it, and then change the file permissions. To make sure it wor ked, connect the device and try to run adb devices in a terminal If it s working properly, you should see a list more or less like this. The numbers aren t important, the important bit is that you see device instead of. If it isn t, you might need to either disconnect the device and try again, or reload udev so that the rules are actually loaded Try with this. If everything else fails, try to log in and out again, or maybe even restart the system. More information on udev rules and Android can be found on the official Android development guide. Enable Debug mode in the device. Go to Settings Applications Development and make sure the USB debugging checkbox is ticked You might get a scary warning saying debugging allows you to do nasty things--just ignore it. To execute it, cd to the place where it s been cloned. And simply execute it. If for some odd reason it has lost the executable permission, you can add it. Or simply execute it using Python. Once you re satisfied it s working, you can also ma ke a launcher or add it to your Gnome menu, of course. If everything works and why shouldn t it you should get a window divided in two panels The left side represents your host computer, and initially should show the files of the aafm directory, since you launched it from there The right side represents your Android device s files --so it needs to be connected to the computer, and USB debugging must be enabled in the device You can navigate just as you would do with your favourite file explorer Files can be dragged from one to another panel, directories created, and files renamed hint right click and explore the options the contextual menu offers you You can also drag from Nautilus in GNOME into the device panel, to copy files to the device, or drag to Nautilus, for copying files from the device. Be warned that currently the progress reporting is a bit hackish and with large files it will appear as if the window has got frozen It hasn t--it s just waiting for the ADB transfer to finish I n the future this should be fixed, but I haven t come up with the best solution yet. This software is licensed under a GPL V3 license Please read the accompanying file for more details, but basically, if you modify this software and distribute it, you must make your changes public too, so that everyone can benefit from your work--just as you re doing with mine. You can also make your changes public even if you don t plan on redistributing this application, okay Sharing is good. Several bug fixes and refactoring, plus a nice addition for those using desktop systems in Linux. New file and icon allows users to launch aafm from GNOME KDE etc menus shells launchers Huulivoide Fixes 35.New script for making aafm available system-wide Huulivoide Fixes 35.Fix refactor copying files between host and device sole xisberto Fixes 33 and 37.Gracefully handle unknown uids and gids sole and muflone Fixes 8 and 39.Many interesting bug fixes and new features thanks to the work of Norman Rasmussen and Micha Kowalczuk Thanks. Add BusyBox support by sammael Fixes 11.Handle device drops when there s no row present by normanr Fixes 9.Handle symlinks on the device correctly by normanr Fixes 12.Quote Unquote special characters in drag drop messages by normanr Fixes 10.Slightly improve the README Clarify how to find out the device Id, add link to PyGTK binary for Mac users. Move the TO DO list items that were on this README file over to the issue tracker in the project s page. Fix issue 4 use correct path separator in device when running under Windows. Fix issue 5 support for finding out ownership in Windows. Python 3 compatibility. Start using REVISION file. Fix issue 3 ls - la fails in some devices. First initial release basic functionality is here. I m by no means a GTK Python ADB Android expert I m just learning so this project will surely contain many things that can be improved or that are plain wrong, so feel free to clone the repository and submit pull requests. In order to make your life a bit eas ier I ll roughly show what each file does. - a class that communicates with an Android device, using ADB via shell commands Takes care of copying and reading files, listing and parsing directories, etc. - this is the GTK front-end Takes care of building the window with the host and device panels, and issuing instructions to Aafm when the user requests something to be done. - a utility class that encapsulates a GTKTreeView and some more things in order to show file listings. - an awesome class developed by the guys of Quod Libet, that allows more than one element of a TreeView to be selected and dragged around. As you can see, an GUI counterpart is missing There was one at the beginning but I didn t redo it when I rewrote most of the code from scratch Feel free to you know what, if you re interested in having a CLI version. This was initially developed in an Ubuntu Linux 10 10 system I thought it wouldn t work on other systems, but it seems people are using it in a lot of places though Some environments where it s known to work. I m now using Github s issue tracker to keep track of issues, bugs and wished-for features. If you d like to have a certain feature or think you ve found a bug that is not in the list, please add it to the issue tracker at. What Is ADB And How To Install It With Android SDK. When it comes to Android modding, most novice users are confused or left wondering by reference over reference to a certain adb This is specially true when you are l ooking up something on modding your device, or root it in particular ADB is the wonder toy of Android and everyone seems to love it, so lets have a look at understanding what it is and why you need it, and how you can get it. ADB stands for Android Debug Bridge It comes as a part of the standard Android SDK, which you can grab here Basically, it provides a terminal-based interface for interacting with your phone s file system Since Android platform is based on Linux, command-line is the only way to obtain and manipulate root access often required to perform certain advanced operations on your device using root access. While these things can be done directly on the device itself using some terminal emulator, it will be rather difficult to execute complex commands on such a small screen ADB provides the bridge between your machine and your computer. How To Install ADB. Step 1 Installing the Android SDK. Note At the time of updating this guide, the latest version of the Android SDK available i s r8 and we shall be using it throughout the rest of the guide The tools will work the same way however, even if you get a later version In case of earlier versions though, the location of some of the tools was different and it is recommended that you get the latest available version. The first step is to download the SDK Use the link given at the end of this post and download the latest version of the Android SDK from there There are versions available for Microsoft Windows, Linux and Mac OS X In case of Windows, both an installer and a zip file are available but there isn t any need to use the installer as a formal installation is not required. Once you have downloaded the SDK, simply extract the compressed file to a location on your computer In our case, we have extracted it to the root of our C drive and that makes C android-sdk-windows the installation location of the SDK From here onwards, we shall be referring to this location as the SDK folder. Step 2 Downloading the SDK Platform Tools. Previously, ADB used to be included in the SDK by default in the tools sub-folder but now, it has been relocated to the platform-tools sub-folder which needs to be downloaded as an SDK package Fortunately, this is quite easy. Just browse to the SDK folder and launch SDK Manager When launching it for the first time, it will present you with a window to choose packages to install The first option begins with Android SDK Platform-tools Make sure it is checked, and uncheck all the other packages for now You can check uncheck a package by clicking on its name and then selecting the Accept Reject radio button Your window should look like this. View in gallery. Now simply click Install and wait till the platform tools are installed Once the process is done, you will have a platform-tools folder inside your SDK folder That folder will include ADB and all its dependencies. Step 3 Setting the Path variable. Now you have ADB installed but using it this way will require you to either use the comp lete path of the ADB command C android-sdk-windows platform-tools adb or to first change directory to the platform-tools subfolder of the SDK folder each time, and this can become quite a hassle To make ADB along with other Android SDK tools and platform tools easily accessible from anywhere at the command line, we shall add their paths to the PATH environment variable This method will apply to Windows users only If you are a Linux or Mac user, add the tools and platform-tools sub-folders of the Android SDK to your system s PATH variable using the standard method for your operating system. If you have no experience with editing system environment variables, make a System Restore point now so that you can revert back to it in case something goes wrong. If you are using Windows 7, right-click the Computer icon and click Properties Now click Advanced System Settings from the options in the left pane to bring up the System Properties window Windows XP users will directly get this window when they right-click My Computer and click Properties. In the System Properties window, click the Environment Variables button on the Advanced tab View in gallery. Find Path in the System variables section and double-click it to edit it. Make sure NOT to delete the existing entry in Variable value or it will mess up things on your computer Just add the following string to the end of it, including both the semi-colons. If you have extracted the SDK s contents to another directory, make sure to use that one for your PATH variable. After adding the string, this is what my Path variable looks like. Don t worry if yours does not include some of the other text what is important is the way the new entry should be added to the existign one, and the way the previous entries MUST be left unchanged Notice that the semi-colons are necessary to separate each path variable entry from the next and previous ones Once you have added the path, your machine may require a reboot. In case you messed up while editing the Path variable and ended up deleting the previously existing entries, just restore the System Restore point you made and retry, being more careful this time. Step 4 Installing the USB drivers. Finally, you need to install the USB drivers You may or may not need to perform this step, depending on your device If you are using a device that ships with stock Android operating system such as the Nexus One, this will be necessary In case of other devices that ship with their custom version of Android and some tools to sync the device with the PC, such as devices from HTC that ship with HTC Sync or devices by Samsung that ship with Samsung s own software, the suitable driver for your device will be automatically installed with that software package. The first step will be to download the USB drivers To do this, launch SDK Manager from the SDK folder and click on Available packages in the left pane. Expand Third party Add-ons followed by Google Inc add-ons and check Google Usb Driver package , as shown in this image. View in gallery. Click Install Selected and in the window that pops up, click the Accept all radio button followed by the Install button Wait patiently while the USB drivers are downloaded and installed in the Android SDK. The drivers for both 32 bit and 64 bit systems will now be present in the SDK folder under usbdriver x86 and usbdriver x64 sub-folders respectively. Now that the USB drivers have been downloaded, you can install them to your computer as follows. On the device, go to home screen, press Menu select Applications Development and enable USB Debugging. Now connect your phone to the PC via USB New hardware installation should kick in, and it will start looking for the drivers. Manually point the drivers to the folder suitable for your operating system and let them install. Once drivers have installed, you can verify successful installation by going to Device Manager Your phone should be showing under ADB Interface , like in this example. View in gallery. How to Use ADB. At this point, the setting is done Here on you can simply use adb to manipulate your phone in whatever way you like On Windows, the best way to do so is using command prompt To ensure that adb has been set up properly, run command prompt and type adb devices and hit enter Your connected device should show up with a serial number. View in gallery. This is it for this guide We would like to emphasize that playing with your phone at this level can be dangerous if you don t know what you are doing, and can even render the phone completely useless Please do it at your own risk. For a complete list of adb commands, check out the official adb guide here. Editor s Note ADB is for advanced users only If you need ADB with a Graphical User Interface, check out QtADB. I ve tried it, but. a Doesn t work with Samsung driver you said since I had Samsung drivers already installed, this didn t happen to me b Tried to uninstall all samsung programs drivers and then Windows 7 Ultimate 64b doesn t re cognize the driver in the folder usbdriver inside amd64 there isn t any file it seems that the new driver version is a little different c I ve foreced Windows to use the android driver and, instead of ADB Interface Samsung Android Composite ADB Interface in the Device Manager, I get Android Phone Android Composite ADB Interface d adb devices command said List of devices attached , and nothing else. happened to me too. I ve tried with vmware XP Pro 32bits , but I can t even force to install android drivers. BTW can t make kies nor pcstudio connect to my phone in Win7 or VM WinXP. I was also looking for the platform-tools folder, but there was none So I looked around on the net There is no platform-tools in the latest version You need to download through the android SDK Manager. If you are developing in Eclipse with ADT, note that SDK Tools r8 is designed for use with ADT 8 0 0 and later After installing SDK Tools r8, we highly recommend updating your ADT Plugin to 8 0 0.Also note that SDK To ols r8 requires a new SDK component called Platform-tools The new Platform-tools component lets all SDK platforms Android 2 1, Android 2 2, and so on use the same latest version of build tools such as adb, aapt, aidl, and dx To download the Platform-tools component, use the Android SDK Manager, as described in Adding SDK Components Upgrading from SDK Tools r7.If you are upgrading to SDK Tools r8 from an earlier version, note that the the default installed location for the adb tool has changed from tools adb to platform-tools adb This means that you should add the new location to your PATH and modify any custom build scripts to reference the new location Copying the adb executable from the new location to the old is not recommended, since subsequent updates to the SDK Tools will delete the file. I updated and the platform-tools folder was added with the file that is needed Hope this helps you guys. Thanks, recently updated the guide to reflect the changes in the latest version. I got evert hing installed and done until it says connect device and windows will install driver but mine woulnt install it It keeps saying it was unsuccessful If anybody knows what i can do to fix it plz help. From device manager, choose to update driver Do not select search automatically and instead go for browse my computer for driver software In the next step, do not choose to search for driver software in a location and choose Let me pick from a list of device drivers on my computer Then select Show all devices or something similar, click Have disk and browse to the google-usbdriver folder in the SDK location Select the file and click Open Finally, accept any prompts and or warnings that you might get and continue with the driver installation Works like a charm for me with all the devices that support the Google-provided drivers Doesn t work for Samsung Galaxy S series devices and may not work with some HTC devices you will need drivers by the manufacturers in those cases In case of Samsung, g et Kies In case of HTC, get HTC Sync. When I go into the folder google-usbdriver and click on it says that the folder you specified doesn t contain a compatible software driver for your device If the folder contains a driver, make sure it is designed to work with Windows for 32-bit systems please help. Since Android platform is based on Linux, command-line is the only way to obtain and manipulate root access. Um what decade no, what MILLENNIUM are you in It surprises me to see this type of INCORRECT nonsense about Linux being spread in the 21st century. I don t know when you last used Linux, but it s all I use and the command line most definitely is NOT the only way to obtain manipulate root access Note that it is MY preferred method, but I date back to command line only UNIX in the 1980s, so, yeah, it s quicker for me than any of the GUI tools. Anyone who prefers using GUI-based apps such as file managers can do so and still have root access, while logged in as a normal user. Agreed it shou ldn t be called the only way Editing the guide to correct this Thanks for bringing this to my attention. I was hoping this ADB will let me find a way out of a 3 weeks problem But I am stuck at Step 4 Am on W7 64 bits and connecting to a Wits A81G tablet I have installed Google USB driver package When I connect my tablet, nothing happens Windows does not detect Though, when I go to device manager, I see A81E under other devices , but with missing driver Whether I search automatically or manually, I cant find the driver Now what. I m kinda new at this I ve followed all the steps, and I know from other guides that I have ADB and the SDK installed correctly but I cannot get past the Variable section of this guide In my Enviromental Variables dialog box, I only have a TEMP and TMP to select from there is no PATH as pictured above I m not sure how to move forward Can anyone help, or refer me to another guide that could help I m not even sure what to try and GOOGLE for help on this one. You re l ooking at the User variables section Check the System variables section right below that one it ll have many more variables along with PATH. Here is how I got around the adb command not being recognized. The problem was that the PATH listed above was not the PATH that my computer had platform-tools and tools under The PATH above, c android-sdk-windows toolsc android-sdk-windows platform-tools, was to brief and it was causing my computer Windows 7 64 Bit OS to look in the wrong place. Thus, I clicked on the computer tab, then c drive, then Program Files x86 , then Android, then android-sdk, and then the files platform-tools and tools So, this is what my PATH looks like now, and it works when I type adb devices in command prompt after entering cd twice. C Program Files x86 Android android-sdk toolsC Program Files x86 Android android-sdk platform-tools. The last kite I ll fly is what the example above demonstrates be specific I noticed that my android-sdk folder had no - windows text in its nam e at all, so I axed it and added a one-step-after-the-other PATH Hope this helps any dudes gals that were struggling because it certainly took me over half a day to put the pieces together. THIS IS AN IMPORTANT STEP. Thanks KJR GENIUS. Is there a program for Windows 7 or for the Andriod to share the display of the device Andriod Optimus on to the computers monitor Dell Inspiron mini. Well been spending 3 days trying to get honeycomb 3 on Nook As in this thread no drivers found for nook I look in usb driver in SDK folder and they are not there So when I direct to folder nothing I have Windows 7 64, if that means anything-saw thread to change variables in path Would changing that do it Solution would be appreciated-this puzzle needs to be solved for my psychy Thanks. I have windows 7 64bit Maybe I do not have latest Java update Which Java do I download for my system I did search and too many out there Direction appreciated, thanks PS-could it be the Java download. Hate to be a pain, but invested time and money with this Nook and seem so close, but can not get there I think I installed the correct Java it is the developers Java 6 update 25-When I install the Google drivers and cl ose out of SDK-there is an error box states that Java 64 not found and it says something about path amd user variables add It asks to add this C C Program to path I added it to the same place that you asked to add c android-sdk-windows toolsc android-sdk-windows platform-tools I did that added to the end of the android path and before it and that error still comes up I can not get past the error Could that be the problem why there are no drivers found and that there are no drivers in the folder Is there a work around this PLEASE could someone assist or direct me to a solution Much appreciated, thanks. Been trying to get Google apps on my Nook with Honeycomb I get connected and no drivers found Been reading these comments and not the only one Two solutions might be the problem and newbie here One is there file in the usb drivers file Where is it and how can I get it Two-reading about adb exe I have that in platform tools Do I need to run this for nook If so, I tried command prompt and put adb devices in and nothing do I run that. Just figured out and ran adb devices with nook plugged in and said list of devices and nothing was listed Helppppp. Looked in usb drivers and there is androidwinusb there but there is no at the end-it just says that Should it have the inf there to find driver Is that the problem If so-how can I fix it Seems to be close to answer Thanks. adding more detail I go through device manager and get to have disk-I see the android-winusb and it does not highlight where underneath that it does have there Does this help. Win 7 64 bit I ve followed instructions for installing ADB, but keep getting following message Android SDK Manager Output WARNING Java not found in your path Checking if it s installed in C Program Files Java instead 64-bit Java was found at C Program I have added this to Path entry in User variables , but message still displays Any ideas will be much appreciated. Thanks for such a nice article. i followed all the instruction above but the cmd said adb is not recognize as a external or internal command can you post a reply for help pls. THANK YOU FOR EXPLAINING WHAT ADB STANDS FOR And for showing me where it should show up in the Device Manager Now my Coby Kyros MID7015 is rooted and CWR is working as they should. anyone please help me. i connected the playbook to my PC WIN7 64bit and done all steps when opening the Command and type adb connect 169 254 0 1 5555 it says unable to connect any clue. Nice article, however it would been better if you had informed us that you need have java jdk installed prior to installing android sdk All these huge downloads are killing me. For those of you having issues with getting ADB to work, as someone else said, triple check your paths, mine was slightly different from the example posted and it took me hours to finally see I was typing it in wrong. I have ADB installed correctly, however, my computer is not recognizing the nook when its attached It shows as a removable drive under my computer bu t when I click on it, it says please insert a disk into drive X Also, when I use the command prompt and type adb devices, it correctly says list of devices but then doesnt show any devices The Nook is showing as an Android Phone under my device manager with Android Composite ADB Interface. Any suggestions on why the nook is not being recognized I am running Win Vista SP 2, 32 bit. I also followed everything on my Nook and it is also only showing up under Android Phone and Android Composite ADB Interface Would love any help anyone can give us Thanks. why it should be that complicated in connecting usb, just to apply application in the android why not make things easy. I have been trying to root my phone now for several hours I cant even begin because I can t seem to get the drivers for my Samsung Epic 4G to install on my PC It keeps failing when it gets to the last step Installing ADB Will the above-mentioned allow me to finally successfully install the drivers needed for my PC running Wind ows 7 to access recognize the phone. installed adb interface for my motorola defy all right. the problem is adb devices command is showing two devices one is like this.016B22 device and when runnig the adb forward tcp 4747 tcp 4747 it says error more than one device and emulator. even if i disconnect my motorola defy and run cmd adb devices it shows a device with offline tag as mentioned above how to remove this device. Hi, I m using windows 7 and am trying to use DroidCam, but can t seem to understand anything I eventually found my way here and followed all the steps to getting ADB as it is needed for the usb connection for DroidCam I followed all steps successfully until the very last one I type in adb devices as said but I get the message. adb is not recognized as an internal or external command, operable program or batch file. Yeah I m using Windows XP but I got the same problem. After i root my phone what all am i looking to have will i have to download some sort of txt messenger dialer im new to this rooting business and im not even 100 sure what exactly rooting does to my phone is my phone gonna look the same after im done or does rooting mean that you erase the OS and have to install a new one Im not a complete idiot i just dont have time to research 6 thousand forums to learn about it all and would like a quick explanation if anyone can help, id appreciate it. Rooting is the act of gaining administrator acsess on your phone For the most part nothing will change unless you want it to Rooting gives you super user access allowing you to do things like over clock or edit the root system folders Now you can install custom roms or new is versions from third party developers but that is completely different from rooting. Absolute brilliance Well done. I ve been at this for 16 hours now, and I m still clueless. I ve followed all the steps here, but in the Command Prompt section, I m getting adb server is out of I m not sure if this is a major issue, because after a couple sec onds it then says daemon started successfully My real problem is in the Devices Manager bit I don t see ADB Interface , only Android USB Device My HTC I am assuming that s rather crucial for me to carry on with downgrading the firmware and rooting the phone. were i can find the sdk platform tool window as shown in your 1st screenshot and the android sdk and AVD manager as shown in your 3rd screenshot I downloaded the android sdk but i can t get into your step you help pls. I would like to to talk to you in private by a problem I have with a phone I bought from China. My email is It would be great if you have somewhere your email address to contact with the blogger. what do i have to do if usb debugging was disabled can someone teach me thanks.

No comments:

Post a Comment