บันทึกประจำรุ่นของเครื่องมือแพลตฟอร์ม SDK

เครื่องมือแพลตฟอร์ม SDK ของ Android เป็นคอมโพเนนต์สำหรับ Android SDK ซึ่งประกอบด้วยเครื่องมือที่เชื่อมต่อกับแพลตฟอร์ม Android โดยหลักๆ adb และ fastboot แม้ว่าการพัฒนาแอป Android จะต้องใช้ adb แต่นักพัฒนาแอปจะต้อง โดยปกติจะใช้การติดตั้ง Copy Studio เท่านั้น การดาวน์โหลดนี้มีประโยชน์หากคุณต้องการ เพื่อใช้ adb จากบรรทัดคำสั่งโดยตรงและไม่ได้ติดตั้ง Studio (หากคุณติดตั้ง Studio ไว้ คุณอาจต้องการ ใช้สำเนาเพียงอย่างเดียว) ติดตั้งแล้วเนื่องจาก Studio จะอัปเดตโดยอัตโนมัติ) ต้องมี fastboot ถ้าคุณต้องการปลดล็อก Bootloader ของอุปกรณ์ และแฟลชด้วยระบบใหม่ รูปภาพ แพ็กเกจนี้เคยมี systrace แต่ล้าสมัยแล้วใน Studio Profiler, gpuinspector.dev หรือ Perfetto ที่ชื่นชอบ

แม้ว่าฟีเจอร์ใหม่บางรายการใน adb และ fastboot จะพร้อมใช้งานสำหรับเมื่อเร็วๆ นี้เท่านั้น Android เวอร์ชันต่างๆ ที่เข้ากันได้แบบย้อนหลัง ดังนั้นคุณควรใช้ เวอร์ชันล่าสุดของ SDK Platform-Tools และควรรายงานข้อบกพร่องถ้า ข้อยกเว้น

การดาวน์โหลด

หากคุณเป็นนักพัฒนาแอป Android คุณควรดาวน์โหลดแอป เครื่องมือแพลตฟอร์ม SDK-จากเครื่องมือจัดการ SDK ของ Android Studio หรือจาก sdkmanager เครื่องมือบรรทัดคำสั่ง วิธีนี้ช่วยให้มั่นใจได้ว่าระบบจะบันทึกเครื่องมือไปยังตำแหน่งที่ถูกต้องด้วย เครื่องมือ Android SDK ที่เหลือและอัปเดตได้ง่ายๆ

แต่หากต้องการเฉพาะเครื่องมือบรรทัดคำสั่งเหล่านี้ ให้ใช้ลิงก์ต่อไปนี้

แม้ว่าลิงก์เหล่านี้จะไม่เปลี่ยนแปลง แต่ลิงก์จะนำไปยังเวอร์ชันล่าสุดเสมอ ของเครื่องมือทั้งหมด

การแก้ไข

35.0.2 (กรกฎาคม 2024)

  • adb
    • แก้ไขข้อบกพร่องของแบ็กเอนด์ mDNS แบบเปิดซึ่งจะทำให้เซิร์ฟเวอร์หยุดทำงานในปัญหา #294120933 ที่มีการตัดให้สั้นลง
    • ทำให้แบ็กเอนด์ mDNS แบบเปิดหน้าจอใช้งานได้ใน macOS
    • กำหนดให้แบ็กเอนด์ mDNS แบบ Openscreen เป็นค่าเริ่มต้นในทุกแพลตฟอร์ม
    • รองรับการตรวจหา USB SuperSpeed+ (ความเร็วปัจจุบันและความเร็วตามที่ต่อรอง) เพื่อวัตถุประสงค์ในการวินิจฉัย
    • การปิดอย่างค่อยเป็นค่อยไป: ปล่อยอินเทอร์เฟซ USB ทั้งหมดเมื่อปิดเครื่อง (ระบบปฏิบัติการทั้งหมด)

35.0.1 (มีนาคม 2024)

  • adb
    • เปลี่ยนไปใช้ libusb 1.0.27

35.0.0 (กุมภาพันธ์ 2024)

  • adb
    • เปลี่ยนเป็น libusb เป็นค่าเริ่มต้นในปัญหา #270205252 ใน Linux
    • แก้ไขการเริ่มทำงานของ adb ในโฮสต์ที่ไม่มี USB
    • แก้ไขการค้าง adb ที่เกิดจากอุปกรณ์ USB ที่รายงานข้อบ่งชี้ความยาวเป็น 0 อย่างไม่ถูกต้องปัญหา #302212871
    • แก้ไขรหัสการคืนสินค้า adb shell เมื่ออุปกรณ์ยกเลิกการเชื่อมต่อปัญหา #321787891
  • Fastboot
    • จำกัดขนาดสูงสุดของคิวแพ็กเก็ตขาเข้า
    • กำจัดจุดคอขวดที่ก่อนหน้านี้จำกัดความเร็วในการดาวน์โหลดไว้ที่ประมาณ 120 MB/วินาที ตอนนี้ Fastboot จะสร้างความอิ่มตัวของรถบัส SuperSpeed+ และเพิ่มความเร็วได้ถึง 980 MB/วินาที ทั้งนี้ขึ้นอยู่กับอุปกรณ์

34.0.5 (ตุลาคม 2023)

  • adb
    • ในตอนนี้ adb จะมีค่าเริ่มต้นเป็น libusb ใน macOS เพื่อจัดการกับปัญหา #270205252
    • ก่อนหน้านี้ adb ตอบกลับด้วยรหัสที่สำเร็จเมื่อการจับคู่แบบไร้สายล้มเหลว แก้ไขได้โดยการส่งคืนโค้ดแสดงความล้มเหลว (1) และข้อผิดพลาดที่แสดงต่อผู้ใช้ (error: protocol fault (couldn't read status message...)) ตอนนี้ echo $? รายงาน 1 แล้ว
    • ขณะนี้ adb wait-for-disconnect สามารถใช้งานกับอุปกรณ์ที่ไม่ใช่ USB (ระบบไร้สาย) การแก้ไขข้อบกพร่อง)
    • เพิ่มอินเทอร์เฟซ DbC ใหม่เพื่อรองรับ ChromeOS ผ่าน adb ในอนาคต
  • Fastboot
    • แก้ไขแฟลชในอุปกรณ์ Pixel 3 แล้ว

34.0.4 (กรกฎาคม 2023)

  • adb
    • เผยแพร่ -a (gListenAll) เมื่อ adb แยกเซิร์ฟเวอร์โฮสต์ adb (ก่อนหน้านี้ ธงใช้ได้กับ adb -a server nodaemon เท่านั้น)
    • รูทและยกเลิกการรูทได้เร็วขึ้น
    • ส่งต่อ Flag(env) guarding clear endpoint (device) feature for OSX usb start. (ปัญหา #270205252)
  • Fastboot
    • Mac: ลบการลองใหม่กับตัวทำซ้ำ IO ที่ไม่ถูกต้อง (ไฟกะพริบล้มเหลว ด้วย LIBUSB_TRANSFER_CANCELLED)
    • Windows: แก้ไข "ไฟล์บางส่วนมีขนาดใหญ่เกินไปหรือไม่ถูกต้อง" เมื่อใช้ "Flashall"
    • แพลตฟอร์มทั้งหมด: แก้ไข "ไม่ได้ตั้งค่า ANDROID_PRODUCT_OUT" เมื่อใช้ "อัปเดต"

34.0.1 (มีนาคม 2023)

  • adb
    • macOS: เปลี่ยนกลับ "การเชื่อมต่อที่ไม่เสถียร (สายความเร็วสูงสำหรับ MacBook)" การแก้ปัญหาเนื่องจากการติดตั้ง adb ค้าง (ปัญหา #270205252)
  • Fastboot
    • Windows: แก้ไข "mke2fs: ชื่ออุปกรณ์ผิดกฎหมายหรือผิดรูปแบบขณะพยายามระบุขนาดระบบไฟล์" ข้อผิดพลาดที่พบในเครื่องมือแพลตฟอร์ม 34.0.0 (ปัญหา #271039230)

34.0.0 RC2 (มีนาคม 2023)

  • อัปเดตด้วยการเปิดตัว Android 14 Developer Preview 2 (ไม่มีการอัปเดต adb และ Fastboot)

34.0.0 (กุมภาพันธ์ 2023)

  • adb
    • ระบบจะส่งแพ็กเก็ตความยาวคงที่สำหรับ macOS (issuetracker: 208675141)
    • จัดการกับการเชื่อมต่อที่ไม่เสถียร (สายแบบความเร็วสูงของ MacBook): ตัดการเชื่อมต่อ adb บ่อยครั้ง
    • ปรับปรุงข้อความแสดงข้อผิดพลาดสำหรับการพุช adb ที่มีอาร์กิวเมนต์ไม่เพียงพอ
  • Fastboot
    • การกะพริบที่ดีขึ้น: ตอนนี้ flashall จะข้ามการรีบูตไปยังพื้นที่ผู้ใช้ หากทำได้
    • ระบบจะส่งแพ็กเก็ตความยาวคงที่สำหรับ macOS (issuetracker: 208675141)
    • แก้ไข Recovery.img แบบกะพริบ ซึ่งส่งผลให้ส่วนท้าย AVB ไม่ถูกต้อง

33.0.3 (ส.ค. 2022)

  • adb
    • อย่าลองใหม่ adb root หากความพยายามครั้งแรกล้มเหลว
    • แก้ไขรายการที่ซ้ำกันของอุปกรณ์ติดตาม
    • เพิ่มกรอบเวลาที่รับ (เพิ่มอัตราการส่งข้อมูลในการเชื่อมต่อที่มีเวลาในการตอบสนองสูง)
    • มีข้อความแสดงข้อผิดพลาดที่เฉพาะเจาะจงมากขึ้นใน "อุปกรณ์มากกว่า 1 เครื่อง" กรณีล้มเหลว
    • ปฏิเสธคำขอไปข้างหน้าแบบย้อนกลับที่ไม่คาดคิด
    • แก้ไขการติดตั้งหลายแพ็กเกจใน Windows
  • Fastboot
    • นำ e2fsdroid ออกจากเครื่องมือแพลตฟอร์ม SDK
    • พิมพ์ข้อความแสดงผล OemCmdHandler ไม่สำเร็จ

33.0.2 (พฤษภาคม 2022)

  • Fastboot
    • การรองรับพาร์ติชัน vendor_kernel_boot

33.0.1 (มีนาคม 2022)

  • adb
    • แก้ไขข้อขัดข้องของระบบ Windows MD
    • แก้ไขเวอร์ชันเปิด/ปิดใช้เวอร์ชันในอุปกรณ์เครื่องเก่า
    • แก้ไข "ติดตั้งหลายรายการ" ในอุปกรณ์เครื่องเก่า
    • ปรับปรุงผลลัพธ์ความช่วยเหลือให้รวมเมธอดการบีบอัดที่รองรับทั้งหมด
  • Systrace
    • นำออกแล้ว โปรดใช้ Studio Profiler/gpuinspector.dev/Perfetto แทน

33.0.0 (กุมภาพันธ์ 2022)

  • adb
    • แก้ไขปัญหาข้อขัดข้องที่พบใน 32.0.0 เมื่อเรียกใช้โดยไม่มี อาร์กิวเมนต์

32.0.0 (มกราคม 2022)

  • adb
    • ไบนารีสากลสำหรับอุปกรณ์ Apple M1
    • ปัญหาที่ทราบ: เวอร์ชันนี้ขัดข้องเมื่อเรียกใช้โดยไม่มีอาร์กิวเมนต์

31.0.3 (สิงหาคม 2021)

  • Fastboot
    • สนับสนุน vbmeta_vendor.img สำหรับการกะพริบสำหรับ Fastboot Flashall / การอัปเดต

31.0.2 (เมษายน 2021)

  • adb
    • สนับสนุนการส่งต่อไปยัง vsock ใน Linux
    • แก้ไขข้อบกพร่องใน adb track-devices ที่อุปกรณ์โดยใช้การแก้ไขข้อบกพร่องผ่าน Wi-Fi ไม่สามารถทำได้ รับการอัปเดตทันที
    • ใช้การรองรับเบื้องต้นสำหรับการค้นพบอุปกรณ์ mDNS โดยไม่มี ติดตั้งบริการ mDNS แล้ว ตัวเลือกนี้ปิดใช้อยู่โดยค่าเริ่มต้นและอาจ เปิดใช้โดยการตั้งค่าตัวแปรสภาพแวดล้อม ADB_MDNS_OPENSCREEN เป็น 1 เมื่อ เริ่มต้นเซิร์ฟเวอร์ adb
  • Fastboot
    • อย่าล้มเหลวเมื่อรับขนาดพาร์ติชันเปิดเครื่องไม่ได้
    • รับสถานะล็อกอุปกรณ์จากคุณสมบัติแทนการแยกวิเคราะห์เคอร์เนล บรรทัดคำสั่ง

31.0.1 (มีนาคม 2021)

  • adb
    • ลดช่วงเวลา Keepalive ของ TCP
    • ปรับปรุงประสิทธิภาพการติดตั้งที่เพิ่มขึ้น
  • fastboot
    • เพิ่มการรองรับการผสานสแนปชอตที่บีบอัด
    • กู้คืนการสนับสนุน A/B เดิม

31.0.0 (กุมภาพันธ์ 2021)

  • adb
    • ปิดใช้การบีบอัดเมื่อพุลโดยค่าเริ่มต้น

30.0.5 (พฤศจิกายน 2020)

  • adb
    • ปรับปรุงประสิทธิภาพของ adb push เมื่อพุชไฟล์จำนวนมากผ่านการเชื่อมต่อที่มีเวลาในการตอบสนองสูง
    • ปรับปรุงประสิทธิภาพของ adb push/pull ใน Windows
    • แก้ไข adb push --sync ที่มีอินพุตหลายรายการ
    • ปรับปรุงประสิทธิภาพการติดตั้ง APK ที่เพิ่มขึ้น
    • ปรับปรุงการจัดการข้อผิดพลาดสำหรับการติดตั้ง APK ที่เพิ่มขึ้น

30.0.4 (กรกฎาคม 2020)

  • adb
    • แก้ปัญหาสำรองการติดตั้ง APK ที่ไม่เพิ่มขึ้นในอุปกรณ์รุ่นก่อน Android 11
    • แก้ไขadb install-multi-package
    • แก้ไขข้อขัดข้องอื่นๆ ที่เกี่ยวข้องกับการจับคู่อุปกรณ์ adb แบบไร้สาย
    • ปรับปรุงข้อความแสดงข้อผิดพลาดบางอย่าง
  • Fastboot
    • ปรับปรุงเอาต์พุตของคอนโซลบนคำสั่ง fastboot oem
    • แก้ไข fastboot flashall ในอุปกรณ์รุ่นเก่า เช่น Nexus 7

30.0.3 (มิถุนายน 2020)

  • adb
    • แก้ไขการติดตั้ง APK ที่รับรองด้วย Signature Scheme v4 ในอุปกรณ์ก่อน Android 11
    • แก้ไขข้อขัดข้องเมื่อตรวจสอบสิทธิ์โดยไม่มี ADB_VENDOR_KEYS
    • แก้ไขข้อขัดข้องเมื่อใช้ adb -H

30.0.2 (มิถุนายน 2020)

  • adb
    • ปรับปรุงการจับคู่ adb แบบไร้สาย
    • แก้ไขการค้างใน adb logcat เมื่อเรียกใช้ก่อนที่จะเชื่อมต่ออุปกรณ์
    • เพิ่ม adb transport-id เพื่ออนุญาตให้สคริปต์รอให้อุปกรณ์หายไปอย่างปลอดภัยหลังจากรูท/ยกเลิกรูท/รีบูต

30.0.1 (พฤษภาคม 2020)

  • adb
    • ปิดใช้การเชื่อมต่ออัตโนมัติ adb mdns โดยค่าเริ่มต้น โดยจะเปิดใช้อีกครั้งได้ด้วย ADB_MDNS_AUTO_CONNECT ตัวแปรสภาพแวดล้อม
    • ปรับปรุงประสิทธิภาพของ adb install-multi ในอุปกรณ์ Android 10 ขึ้นไป
    • แก้ไขการหมดเวลาเมื่อใช้ adb root/unroot ในอุปกรณ์ที่เชื่อมต่อผ่าน TCP
    • อัปเดตการสนับสนุนสำหรับการจับคู่แบบไร้สาย

30.0.0 (เมษายน 2020)

  • adb
    • เพิ่มการรองรับเบื้องต้นสำหรับการจับคู่แบบไร้สาย
    • เพิ่มการรองรับการติดตั้ง APK ที่เพิ่มขึ้น
    • ใช้การรองรับฝั่งไคลเอ็นต์สำหรับการบีบอัด adb {push, pull, sync} เมื่อใช้ร่วมกับอุปกรณ์ Android 11
    • ปรับปรุงประสิทธิภาพของ adb push สำหรับการเชื่อมต่อที่มีเวลาในการตอบสนองสูง
    • ปรับปรุงประสิทธิภาพของการกด/ดึงใน Windows

29.0.6 (กุมภาพันธ์ 2020)

  • adb
    • การรองรับขนาด/เวลา 64 บิตสำหรับ adb ls เมื่อใช้กับ อุปกรณ์ Android 11
    • สนับสนุนการฟังบน ::1 บน POSIX
    • การสนับสนุนไคลเอ็นต์สำหรับอุปกรณ์ WinUSB ที่เผยแพร่ข้อบ่งชี้ WinUSB (จำเป็นสำหรับ Android 11) จะไม่ต้องใช้ USB อีกต่อไป ไดรเวอร์ที่จะติดตั้ง
    • แก้ไขการค้างเมื่อใช้ adb install กับไฟล์ที่ไม่ใช่ไฟล์จริงๆ

29.0.5 (ตุลาคม 2019)

  • adb
    • ประสิทธิภาพที่ดีขึ้นเล็กน้อยใน Linux เมื่อใช้หลายหน้าต่างพร้อมกัน การเชื่อมต่อ
    • เพิ่มตัวเลือก --fastdeploy ไปยัง adb install สำหรับการอัปเดต APK ที่เพิ่มขึ้น ขณะที่พัฒนา

29.0.4 (กันยายน 2019)

  • adb
    • การแก้ไขด่วนสำหรับการแก้ไขข้อบกพร่องของระบบด้วย LLDB (ดูปัญหา #134613180) ยัง แก้ไขข้อบกพร่องที่เกี่ยวข้องในเครื่องมือสร้างโปรไฟล์ของ Android Studio ที่ก่อให้เกิด AdbCommandRejectedException ซึ่งคุณจะเห็นในไฟล์ idea.log

29.0.3 (กันยายน 2019)

  • adb
    • adb forward --list ใช้งานได้กับอุปกรณ์หลายเครื่องที่เชื่อมต่อ
    • แก้ไขอุปกรณ์ที่ออฟไลน์ใน Windows
    • ปรับปรุงเอาต์พุต adb install และข้อความช่วยเหลือ
    • คืนค่าลักษณะการทำงานก่อนหน้าของ adb connect <host> โดยไม่ต้องระบุพอร์ต

29.0.2 (กรกฎาคม 2019)

  • adb
    • แก้ไขข้อขัดข้องเกี่ยวกับความสมบูรณ์ของฮีปของ Windows
  • Fastboot
    • เพิ่มการรองรับเลย์เอาต์พาร์ติชันของอุปกรณ์ที่กำลังจะมาถึง

29.0.1 (มิถุนายน 2019)

  • adb
    • การแก้ไขด่วนสำหรับข้อขัดข้องใน Windows (https://issuetracker.google.com/134613180)

29.0.0 (มิถุนายน 2019)

  • adb
    • adb reconnect รีเซ็ต USB ใน Linux
    • ใน Linux เมื่อทำการเชื่อมต่อกับเซิร์ฟเวอร์ adb ที่ใหม่กว่า แทนที่จะหยุดการทำงานของ เซิร์ฟเวอร์และเริ่มการทำงานที่เก่ากว่า adb จะพยายามเรียกใช้ อย่างโปร่งใส
    • adb root รอให้อุปกรณ์เชื่อมต่อใหม่หลังจากยกเลิกการเชื่อมต่อ ก่อนหน้านี้ adb root; adb wait-for-device อาจส่งคืนโดยไม่ได้ตั้งใจ ทันทีที่ adb wait-for-device เริ่มต้นก่อนที่ adb จะสังเกตเห็นว่า อุปกรณ์ถูกตัดการเชื่อมต่อ
  • Fastboot
    • ปิดใช้งานข้อความแสดงข้อผิดพลาดที่เกิดขึ้นเมื่อ Fastboot พยายาม เปิดแถบสัมผัสหรือแป้นพิมพ์ใน macOS

28.0.2 (มีนาคม 2019)

  • adb
    • แก้ไขความไม่สม่ำเสมอของการส่งต่อพอร์ต adb shell ที่นำไปสู่ "การเชื่อมต่อ" รีเซ็ตโดยแอปเทียบเท่า" ข้อความแสดงข้อผิดพลาด
    • แก้ไขการตรวจสอบสิทธิ์ผ่าน ADB_VENDOR_KEYS เมื่อเชื่อมต่ออุปกรณ์อีกครั้ง
    • แก้ไขการตรวจสอบสิทธิ์ เมื่อคีย์ส่วนตัวที่ใช้ตรวจสอบสิทธิ์ไม่ถูกต้อง จับคู่คีย์สาธารณะ ด้วยการคำนวณคีย์สาธารณะจากคีย์ส่วนตัว แทนที่จะคิดว่าตรง
  • Fastboot
    • เพิ่มการรองรับพาร์ติชันแบบไดนามิก
  • ข้อกำหนดของ Windows ฉบับปรับปรุง
    • ตอนนี้เครื่องมือแพลตฟอร์มจะขึ้นอยู่กับรันไทม์ Universal C ของ Windows ซึ่ง ซึ่งปกติจะติดตั้งโดยค่าเริ่มต้นผ่าน Windows Update หากคุณเห็นข้อผิดพลาดในการพูดถึง ไม่มี DLL คุณอาจต้องดึงข้อมูลและติดตั้ง รันไทม์ด้วยตัวเอง แพ็กเกจ

28.0.1 (กันยายน 2018)

  • adb
    • เพิ่มการสนับสนุนสำหรับการเชื่อมต่อ TCP อีกครั้ง เมื่อยกเลิกการเชื่อมต่อ adb จะพยายามเชื่อมต่อใหม่เป็นเวลาสูงสุด 60 วินาทีก่อนที่จะยกเลิกการเชื่อมต่อ
    • แก้ไขเอาต์พุตคอนโซล Unicode ใน Windows (ขอขอบคุณผู้จัดทำภายนอก Spencer Low!)
    • แก้ไขข้อบ่งชี้ไฟล์เป็นการปิด 2 ครั้งที่อาจเกิดขึ้น ส่งผลให้เกิดการเชื่อมต่อ ถูกปิดเมื่อ adb connect เกิดขึ้นพร้อมกัน
    • แก้ไข adb forward --list เมื่อใช้กับอุปกรณ์ที่เชื่อมต่อมากกว่า 1 เครื่อง
  • Fastboot
    • เพิ่มระยะหมดเวลาของคำสั่งเป็น 30 วินาทีเพื่อรองรับการทำงานที่ช้าได้ดีขึ้น Bootloader

28.0.0 (มิถุนายน 2018)

  • adb:
    • เพิ่มการรองรับการดำเนินการแบบไม่ใช้การตรวจสอบข้อผิดพลาดกับอุปกรณ์ที่ใช้ Android P ซึ่งปรับปรุงอัตราการส่งข้อมูลได้ถึง 40%
    • จัดเรียงเอาต์พุตของ adb devices ตามประเภทการเชื่อมต่อและซีเรียลของอุปกรณ์
    • เพิ่ม Socket Listener Backlog เพื่ออนุญาต adb พร้อมกันมากขึ้น คำสั่ง
    • ปรับปรุงเอาต์พุตข้อผิดพลาดสำหรับ adb connect
  • fastboot
    • ปรับปรุงรูปแบบเอาต์พุต เพิ่มโหมดเอาต์พุตแบบละเอียด (-v)
    • ล้างเอาต์พุตเกี่ยวกับความช่วยเหลือ
    • เพิ่ม product.img และ odm.img ลงในรายการพาร์ติชันที่แฟลชโดย fastboot flashall
    • หลีกเลี่ยงการบล็อกอุปกรณ์ใหม่เมื่อใช้ Fastboot เวอร์ชันเก่าเกินไปโดย อนุญาตให้แพ็กเกจอิมเมจเริ่มต้นต้องมีการรองรับพาร์ติชันที่เฉพาะเจาะจง

27.0.1 (ธันวาคม 2017)

  • adb: แก้ไขความล้มเหลวในการยืนยันสิทธิ์ใน MacOS ที่ เกิดขึ้นเมื่อเชื่อมต่ออุปกรณ์โดยใช้ USB 3.0
  • Fastboot: ใน Windows ให้เพิ่มการรองรับการล้างข้อมูลอุปกรณ์ที่ใช้ F2FS (ระบบไฟล์ที่สามารถใช้ Flash ได้)

27.0.0 (ธันวาคม 2017)

  • แก้ไขข้อบกพร่อง Fastboot ของ macOS 10.13 ได้รับการแก้ไขครั้งแรกใน 26.0.1 แต่ เปิดตัวอีกครั้งใน 26.0.2

26.0.2 (ตุลาคม 2017)

  • เพิ่มการรองรับ Fastboot สําหรับอุปกรณ์ Pixel 2

26.0.1 (กันยายน 2017)

  • แก้ไขปัญหา Fastboot ใน macOS 10.13 High Sierra (bug 64292422)

26.0.0 (มิถุนายน 2017)

  • อัปเดตด้วยการเปิดตัว Android O Final SDK (API ระดับ 26)

25.0.5 (24 เมษายน 2017)

  • แก้ไขการโหลดจากแหล่งที่ไม่รู้จักของการอัปเดตขนาดใหญ่ใน Windows ซึ่งแสดงเป็น "std::bad_alloc" (ข้อบกพร่อง 37139736)

  • แก้ไขปัญหา adb กับไฟร์วอลล์ของ Windows บางไฟล์ที่แสดงเป็น "ไม่สามารถเปิดได้ บริการจับคู่อุปกรณ์การจดทะเบียนการขนส่ง (Transport Registration Socketpair) (ข้อบกพร่อง 37139725)

  • ตอนนี้ทั้ง adb --version และ fastboot --version มีเส้นทางการติดตั้งแล้ว

  • เปลี่ยน adb เป็นไม่แปลค่า localhost เพื่อเลี่ยง VPN ที่กำหนดค่าไม่ถูกต้อง

  • เปลี่ยน adb เป็นไม่รีเซ็ตอุปกรณ์ USB ใน Linux แล้ว ซึ่งอาจส่งผลต่อ อุปกรณ์ USB อื่นๆ ที่เชื่อมต่ออยู่

25.0.4 (16 มีนาคม 2017)

  • เพิ่มการสนับสนุน libusb เวอร์ชันทดลองใน Linux และ Mac adb

หากต้องการใช้แบ็กเอนด์ libusb ให้ตั้งค่าตัวแปรสภาพแวดล้อม ADB_LIBUSB=true ก่อนหน้า การเปิดตัวเซิร์ฟเวอร์ adb ใหม่ คำสั่ง adb host-features ใหม่จะบอกคุณ ไม่ว่าคุณจะใช้ libusb หรือไม่

หากต้องการรีสตาร์ท adb ด้วย libusb และตรวจสอบว่าใช้งานได้ ให้ใช้ adb kill-server; ADB_LIBUSB=1 adb start-server; adb host-features เอาต์พุตควรมี "libusb"

ในรุ่นนี้ การใช้งานที่ไม่ใช่ Libusb แบบเก่าจะยังคงเป็นค่าเริ่มต้น

  • Fastboot ไม่ได้เลิกใช้ MacBook Pro ปี 2016 อีกต่อไป (ข้อบกพร่อง 231129)

  • แก้ไขการจับภาพบรรทัดคำสั่ง Systrace ใน Mac

25.0.3 (16 ธันวาคม 2016)

  • แก้ไขข้อบกพร่อง Fastboot ที่ทำให้อุปกรณ์ Android Things ไม่กะพริบ

25.0.2 (12 ธันวาคม 2016)

  • อัปเดตด้วย Android N MR1 รุ่นเสถียร (API 25)

25.0.1 (22 พฤศจิกายน 2016)

  • อัปเดตด้วยการเปิดตัว Android N MR1 Developer Preview 2 (API 25)

25.0.0 (19 ตุลาคม 2016)

  • อัปเดตด้วยการเปิดตัว Android N MR1 Developer Preview 1 (API 25)

24.0.4 (14 ตุลาคม 2016)

  • อัปเดตเพื่อแก้ไขปัญหาใน ADB และ Mac OS Sierra

Download Android SDK Platform-Tools

Before downloading, you must agree to the following terms and conditions.

Terms and Conditions

This is the Android Software Development Kit License Agreement

1. Introduction

1.1 The Android Software Development Kit (referred to in the License Agreement as the "SDK" and specifically including the Android system files, packaged APIs, and Google APIs add-ons) is licensed to you subject to the terms of the License Agreement. The License Agreement forms a legally binding contract between you and Google in relation to your use of the SDK. 1.2 "Android" means the Android software stack for devices, as made available under the Android Open Source Project, which is located at the following URL: https://source.android.com/, as updated from time to time. 1.3 A "compatible implementation" means any Android device that (i) complies with the Android Compatibility Definition document, which can be found at the Android compatibility website (https://source.android.com/compatibility) and which may be updated from time to time; and (ii) successfully passes the Android Compatibility Test Suite (CTS). 1.4 "Google" means Google LLC, organized under the laws of the State of Delaware, USA, and operating under the laws of the USA with principal place of business at 1600 Amphitheatre Parkway, Mountain View, CA 94043, USA.

2. Accepting this License Agreement

2.1 In order to use the SDK, you must first agree to the License Agreement. You may not use the SDK if you do not accept the License Agreement. 2.2 By clicking to accept and/or using this SDK, you hereby agree to the terms of the License Agreement. 2.3 You may not use the SDK and may not accept the License Agreement if you are a person barred from receiving the SDK under the laws of the United States or other countries, including the country in which you are resident or from which you use the SDK. 2.4 If you are agreeing to be bound by the License Agreement on behalf of your employer or other entity, you represent and warrant that you have full legal authority to bind your employer or such entity to the License Agreement. If you do not have the requisite authority, you may not accept the License Agreement or use the SDK on behalf of your employer or other entity.

3. SDK License from Google

3.1 Subject to the terms of the License Agreement, Google grants you a limited, worldwide, royalty-free, non-assignable, non-exclusive, and non-sublicensable license to use the SDK solely to develop applications for compatible implementations of Android. 3.2 You may not use this SDK to develop applications for other platforms (including non-compatible implementations of Android) or to develop another SDK. You are of course free to develop applications for other platforms, including non-compatible implementations of Android, provided that this SDK is not used for that purpose. 3.3 You agree that Google or third parties own all legal right, title and interest in and to the SDK, including any Intellectual Property Rights that subsist in the SDK. "Intellectual Property Rights" means any and all rights under patent law, copyright law, trade secret law, trademark law, and any and all other proprietary rights. Google reserves all rights not expressly granted to you. 3.4 You may not use the SDK for any purpose not expressly permitted by the License Agreement. Except to the extent required by applicable third party licenses, you may not copy (except for backup purposes), modify, adapt, redistribute, decompile, reverse engineer, disassemble, or create derivative works of the SDK or any part of the SDK. 3.5 Use, reproduction and distribution of components of the SDK licensed under an open source software license are governed solely by the terms of that open source software license and not the License Agreement. 3.6 You agree that the form and nature of the SDK that Google provides may change without prior notice to you and that future versions of the SDK may be incompatible with applications developed on previous versions of the SDK. You agree that Google may stop (permanently or temporarily) providing the SDK (or any features within the SDK) to you or to users generally at Google's sole discretion, without prior notice to you. 3.7 Nothing in the License Agreement gives you a right to use any of Google's trade names, trademarks, service marks, logos, domain names, or other distinctive brand features. 3.8 You agree that you will not remove, obscure, or alter any proprietary rights notices (including copyright and trademark notices) that may be affixed to or contained within the SDK.

4. Use of the SDK by You

4.1 Google agrees that it obtains no right, title or interest from you (or your licensors) under the License Agreement in or to any software applications that you develop using the SDK, including any intellectual property rights that subsist in those applications. 4.2 You agree to use the SDK and write applications only for purposes that are permitted by (a) the License Agreement and (b) any applicable law, regulation or generally accepted practices or guidelines in the relevant jurisdictions (including any laws regarding the export of data or software to and from the United States or other relevant countries). 4.3 You agree that if you use the SDK to develop applications for general public users, you will protect the privacy and legal rights of those users. If the users provide you with user names, passwords, or other login information or personal information, you must make the users aware that the information will be available to your application, and you must provide legally adequate privacy notice and protection for those users. If your application stores personal or sensitive information provided by users, it must do so securely. If the user provides your application with Google Account information, your application may only use that information to access the user's Google Account when, and for the limited purposes for which, the user has given you permission to do so. 4.4 You agree that you will not engage in any activity with the SDK, including the development or distribution of an application, that interferes with, disrupts, damages, or accesses in an unauthorized manner the servers, networks, or other properties or services of any third party including, but not limited to, Google or any mobile communications carrier. 4.5 You agree that you are solely responsible for (and that Google has no responsibility to you or to any third party for) any data, content, or resources that you create, transmit or display through Android and/or applications for Android, and for the consequences of your actions (including any loss or damage which Google may suffer) by doing so. 4.6 You agree that you are solely responsible for (and that Google has no responsibility to you or to any third party for) any breach of your obligations under the License Agreement, any applicable third party contract or Terms of Service, or any applicable law or regulation, and for the consequences (including any loss or damage which Google or any third party may suffer) of any such breach.

5. Your Developer Credentials

5.1 You agree that you are responsible for maintaining the confidentiality of any developer credentials that may be issued to you by Google or which you may choose yourself and that you will be solely responsible for all applications that are developed under your developer credentials.

6. Privacy and Information

6.1 In order to continually innovate and improve the SDK, Google may collect certain usage statistics from the software including but not limited to a unique identifier, associated IP address, version number of the software, and information on which tools and/or services in the SDK are being used and how they are being used. Before any of this information is collected, the SDK will notify you and seek your consent. If you withhold consent, the information will not be collected. 6.2 The data collected is examined in the aggregate to improve the SDK and is maintained in accordance with Google's Privacy Policy, which is located at the following URL: https://policies.google.com/privacy 6.3 Anonymized and aggregated sets of the data may be shared with Google partners to improve the SDK.

7. Third Party Applications

7.1 If you use the SDK to run applications developed by a third party or that access data, content or resources provided by a third party, you agree that Google is not responsible for those applications, data, content, or resources. You understand that all data, content or resources which you may access through such third party applications are the sole responsibility of the person from which they originated and that Google is not liable for any loss or damage that you may experience as a result of the use or access of any of those third party applications, data, content, or resources. 7.2 You should be aware the data, content, and resources presented to you through such a third party application may be protected by intellectual property rights which are owned by the providers (or by other persons or companies on their behalf). You may not modify, rent, lease, loan, sell, distribute or create derivative works based on these data, content, or resources (either in whole or in part) unless you have been specifically given permission to do so by the relevant owners. 7.3 You acknowledge that your use of such third party applications, data, content, or resources may be subject to separate terms between you and the relevant third party. In that case, the License Agreement does not affect your legal relationship with these third parties.

8. Using Android APIs

8.1 Google Data APIs 8.1.1 If you use any API to retrieve data from Google, you acknowledge that the data may be protected by intellectual property rights which are owned by Google or those parties that provide the data (or by other persons or companies on their behalf). Your use of any such API may be subject to additional Terms of Service. You may not modify, rent, lease, loan, sell, distribute or create derivative works based on this data (either in whole or in part) unless allowed by the relevant Terms of Service. 8.1.2 If you use any API to retrieve a user's data from Google, you acknowledge and agree that you shall retrieve data only with the user's explicit consent and only when, and for the limited purposes for which, the user has given you permission to do so. If you use the Android Recognition Service API, documented at the following URL: https://developer.android.com/reference/android/speech/RecognitionService, as updated from time to time, you acknowledge that the use of the API is subject to the Data Processing Addendum for Products where Google is a Data Processor, which is located at the following URL: https://privacy.google.com/businesses/gdprprocessorterms/, as updated from time to time. By clicking to accept, you hereby agree to the terms of the Data Processing Addendum for Products where Google is a Data Processor.

9. Terminating this License Agreement

9.1 The License Agreement will continue to apply until terminated by either you or Google as set out below. 9.2 If you want to terminate the License Agreement, you may do so by ceasing your use of the SDK and any relevant developer credentials. 9.3 Google may at any time, terminate the License Agreement with you if: (A) you have breached any provision of the License Agreement; or (B) Google is required to do so by law; or (C) the partner with whom Google offered certain parts of SDK (such as APIs) to you has terminated its relationship with Google or ceased to offer certain parts of the SDK to you; or (D) Google decides to no longer provide the SDK or certain parts of the SDK to users in the country in which you are resident or from which you use the service, or the provision of the SDK or certain SDK services to you by Google is, in Google's sole discretion, no longer commercially viable. 9.4 When the License Agreement comes to an end, all of the legal rights, obligations and liabilities that you and Google have benefited from, been subject to (or which have accrued over time whilst the License Agreement has been in force) or which are expressed to continue indefinitely, shall be unaffected by this cessation, and the provisions of paragraph 14.7 shall continue to apply to such rights, obligations and liabilities indefinitely.

10. DISCLAIMER OF WARRANTIES

10.1 YOU EXPRESSLY UNDERSTAND AND AGREE THAT YOUR USE OF THE SDK IS AT YOUR SOLE RISK AND THAT THE SDK IS PROVIDED "AS IS" AND "AS AVAILABLE" WITHOUT WARRANTY OF ANY KIND FROM GOOGLE. 10.2 YOUR USE OF THE SDK AND ANY MATERIAL DOWNLOADED OR OTHERWISE OBTAINED THROUGH THE USE OF THE SDK IS AT YOUR OWN DISCRETION AND RISK AND YOU ARE SOLELY RESPONSIBLE FOR ANY DAMAGE TO YOUR COMPUTER SYSTEM OR OTHER DEVICE OR LOSS OF DATA THAT RESULTS FROM SUCH USE. 10.3 GOOGLE FURTHER EXPRESSLY DISCLAIMS ALL WARRANTIES AND CONDITIONS OF ANY KIND, WHETHER EXPRESS OR IMPLIED, INCLUDING, BUT NOT LIMITED TO THE IMPLIED WARRANTIES AND CONDITIONS OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT.

11. LIMITATION OF LIABILITY

11.1 YOU EXPRESSLY UNDERSTAND AND AGREE THAT GOOGLE, ITS SUBSIDIARIES AND AFFILIATES, AND ITS LICENSORS SHALL NOT BE LIABLE TO YOU UNDER ANY THEORY OF LIABILITY FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, CONSEQUENTIAL OR EXEMPLARY DAMAGES THAT MAY BE INCURRED BY YOU, INCLUDING ANY LOSS OF DATA, WHETHER OR NOT GOOGLE OR ITS REPRESENTATIVES HAVE BEEN ADVISED OF OR SHOULD HAVE BEEN AWARE OF THE POSSIBILITY OF ANY SUCH LOSSES ARISING.

12. Indemnification

12.1 To the maximum extent permitted by law, you agree to defend, indemnify and hold harmless Google, its affiliates and their respective directors, officers, employees and agents from and against any and all claims, actions, suits or proceedings, as well as any and all losses, liabilities, damages, costs and expenses (including reasonable attorneys fees) arising out of or accruing from (a) your use of the SDK, (b) any application you develop on the SDK that infringes any copyright, trademark, trade secret, trade dress, patent or other intellectual property right of any person or defames any person or violates their rights of publicity or privacy, and (c) any non-compliance by you with the License Agreement.

13. Changes to the License Agreement

13.1 Google may make changes to the License Agreement as it distributes new versions of the SDK. When these changes are made, Google will make a new version of the License Agreement available on the website where the SDK is made available. 14.1 The License Agreement constitutes the whole legal agreement between you and Google and governs your use of the SDK (excluding any services which Google may provide to you under a separate written agreement), and completely replaces any prior agreements between you and Google in relation to the SDK. 14.2 You agree that if Google does not exercise or enforce any legal right or remedy which is contained in the License Agreement (or which Google has the benefit of under any applicable law), this will not be taken to be a formal waiver of Google's rights and that those rights or remedies will still be available to Google. 14.3 If any court of law, having the jurisdiction to decide on this matter, rules that any provision of the License Agreement is invalid, then that provision will be removed from the License Agreement without affecting the rest of the License Agreement. The remaining provisions of the License Agreement will continue to be valid and enforceable. 14.4 You acknowledge and agree that each member of the group of companies of which Google is the parent shall be third party beneficiaries to the License Agreement and that such other companies shall be entitled to directly enforce, and rely upon, any provision of the License Agreement that confers a benefit on (or rights in favor of) them. Other than this, no other person or company shall be third party beneficiaries to the License Agreement. 14.5 EXPORT RESTRICTIONS. THE SDK IS SUBJECT TO UNITED STATES EXPORT LAWS AND REGULATIONS. YOU MUST COMPLY WITH ALL DOMESTIC AND INTERNATIONAL EXPORT LAWS AND REGULATIONS THAT APPLY TO THE SDK. THESE LAWS INCLUDE RESTRICTIONS ON DESTINATIONS, END USERS AND END USE. 14.6 The rights granted in the License Agreement may not be assigned or transferred by either you or Google without the prior written approval of the other party. Neither you nor Google shall be permitted to delegate their responsibilities or obligations under the License Agreement without the prior written approval of the other party. 14.7 The License Agreement, and your relationship with Google under the License Agreement, shall be governed by the laws of the State of California without regard to its conflict of laws provisions. You and Google agree to submit to the exclusive jurisdiction of the courts located within the county of Santa Clara, California to resolve any legal matter arising from the License Agreement. Notwithstanding this, you agree that Google shall still be allowed to apply for injunctive remedies (or an equivalent type of urgent legal relief) in any jurisdiction. July 27, 2021
Download Android SDK Platform-Tools for Windows

platform-tools-latest-windows.zip

Download Android SDK Platform-Tools

Before downloading, you must agree to the following terms and conditions.

Terms and Conditions

This is the Android Software Development Kit License Agreement

1. Introduction

1.1 The Android Software Development Kit (referred to in the License Agreement as the "SDK" and specifically including the Android system files, packaged APIs, and Google APIs add-ons) is licensed to you subject to the terms of the License Agreement. The License Agreement forms a legally binding contract between you and Google in relation to your use of the SDK. 1.2 "Android" means the Android software stack for devices, as made available under the Android Open Source Project, which is located at the following URL: https://source.android.com/, as updated from time to time. 1.3 A "compatible implementation" means any Android device that (i) complies with the Android Compatibility Definition document, which can be found at the Android compatibility website (https://source.android.com/compatibility) and which may be updated from time to time; and (ii) successfully passes the Android Compatibility Test Suite (CTS). 1.4 "Google" means Google LLC, organized under the laws of the State of Delaware, USA, and operating under the laws of the USA with principal place of business at 1600 Amphitheatre Parkway, Mountain View, CA 94043, USA.

2. Accepting this License Agreement

2.1 In order to use the SDK, you must first agree to the License Agreement. You may not use the SDK if you do not accept the License Agreement. 2.2 By clicking to accept and/or using this SDK, you hereby agree to the terms of the License Agreement. 2.3 You may not use the SDK and may not accept the License Agreement if you are a person barred from receiving the SDK under the laws of the United States or other countries, including the country in which you are resident or from which you use the SDK. 2.4 If you are agreeing to be bound by the License Agreement on behalf of your employer or other entity, you represent and warrant that you have full legal authority to bind your employer or such entity to the License Agreement. If you do not have the requisite authority, you may not accept the License Agreement or use the SDK on behalf of your employer or other entity.

3. SDK License from Google

3.1 Subject to the terms of the License Agreement, Google grants you a limited, worldwide, royalty-free, non-assignable, non-exclusive, and non-sublicensable license to use the SDK solely to develop applications for compatible implementations of Android. 3.2 You may not use this SDK to develop applications for other platforms (including non-compatible implementations of Android) or to develop another SDK. You are of course free to develop applications for other platforms, including non-compatible implementations of Android, provided that this SDK is not used for that purpose. 3.3 You agree that Google or third parties own all legal right, title and interest in and to the SDK, including any Intellectual Property Rights that subsist in the SDK. "Intellectual Property Rights" means any and all rights under patent law, copyright law, trade secret law, trademark law, and any and all other proprietary rights. Google reserves all rights not expressly granted to you. 3.4 You may not use the SDK for any purpose not expressly permitted by the License Agreement. Except to the extent required by applicable third party licenses, you may not copy (except for backup purposes), modify, adapt, redistribute, decompile, reverse engineer, disassemble, or create derivative works of the SDK or any part of the SDK. 3.5 Use, reproduction and distribution of components of the SDK licensed under an open source software license are governed solely by the terms of that open source software license and not the License Agreement. 3.6 You agree that the form and nature of the SDK that Google provides may change without prior notice to you and that future versions of the SDK may be incompatible with applications developed on previous versions of the SDK. You agree that Google may stop (permanently or temporarily) providing the SDK (or any features within the SDK) to you or to users generally at Google's sole discretion, without prior notice to you. 3.7 Nothing in the License Agreement gives you a right to use any of Google's trade names, trademarks, service marks, logos, domain names, or other distinctive brand features. 3.8 You agree that you will not remove, obscure, or alter any proprietary rights notices (including copyright and trademark notices) that may be affixed to or contained within the SDK.

4. Use of the SDK by You

4.1 Google agrees that it obtains no right, title or interest from you (or your licensors) under the License Agreement in or to any software applications that you develop using the SDK, including any intellectual property rights that subsist in those applications. 4.2 You agree to use the SDK and write applications only for purposes that are permitted by (a) the License Agreement and (b) any applicable law, regulation or generally accepted practices or guidelines in the relevant jurisdictions (including any laws regarding the export of data or software to and from the United States or other relevant countries). 4.3 You agree that if you use the SDK to develop applications for general public users, you will protect the privacy and legal rights of those users. If the users provide you with user names, passwords, or other login information or personal information, you must make the users aware that the information will be available to your application, and you must provide legally adequate privacy notice and protection for those users. If your application stores personal or sensitive information provided by users, it must do so securely. If the user provides your application with Google Account information, your application may only use that information to access the user's Google Account when, and for the limited purposes for which, the user has given you permission to do so. 4.4 You agree that you will not engage in any activity with the SDK, including the development or distribution of an application, that interferes with, disrupts, damages, or accesses in an unauthorized manner the servers, networks, or other properties or services of any third party including, but not limited to, Google or any mobile communications carrier. 4.5 You agree that you are solely responsible for (and that Google has no responsibility to you or to any third party for) any data, content, or resources that you create, transmit or display through Android and/or applications for Android, and for the consequences of your actions (including any loss or damage which Google may suffer) by doing so. 4.6 You agree that you are solely responsible for (and that Google has no responsibility to you or to any third party for) any breach of your obligations under the License Agreement, any applicable third party contract or Terms of Service, or any applicable law or regulation, and for the consequences (including any loss or damage which Google or any third party may suffer) of any such breach.

5. Your Developer Credentials

5.1 You agree that you are responsible for maintaining the confidentiality of any developer credentials that may be issued to you by Google or which you may choose yourself and that you will be solely responsible for all applications that are developed under your developer credentials.

6. Privacy and Information

6.1 In order to continually innovate and improve the SDK, Google may collect certain usage statistics from the software including but not limited to a unique identifier, associated IP address, version number of the software, and information on which tools and/or services in the SDK are being used and how they are being used. Before any of this information is collected, the SDK will notify you and seek your consent. If you withhold consent, the information will not be collected. 6.2 The data collected is examined in the aggregate to improve the SDK and is maintained in accordance with Google's Privacy Policy, which is located at the following URL: https://policies.google.com/privacy 6.3 Anonymized and aggregated sets of the data may be shared with Google partners to improve the SDK.

7. Third Party Applications

7.1 If you use the SDK to run applications developed by a third party or that access data, content or resources provided by a third party, you agree that Google is not responsible for those applications, data, content, or resources. You understand that all data, content or resources which you may access through such third party applications are the sole responsibility of the person from which they originated and that Google is not liable for any loss or damage that you may experience as a result of the use or access of any of those third party applications, data, content, or resources. 7.2 You should be aware the data, content, and resources presented to you through such a third party application may be protected by intellectual property rights which are owned by the providers (or by other persons or companies on their behalf). You may not modify, rent, lease, loan, sell, distribute or create derivative works based on these data, content, or resources (either in whole or in part) unless you have been specifically given permission to do so by the relevant owners. 7.3 You acknowledge that your use of such third party applications, data, content, or resources may be subject to separate terms between you and the relevant third party. In that case, the License Agreement does not affect your legal relationship with these third parties.

8. Using Android APIs

8.1 Google Data APIs 8.1.1 If you use any API to retrieve data from Google, you acknowledge that the data may be protected by intellectual property rights which are owned by Google or those parties that provide the data (or by other persons or companies on their behalf). Your use of any such API may be subject to additional Terms of Service. You may not modify, rent, lease, loan, sell, distribute or create derivative works based on this data (either in whole or in part) unless allowed by the relevant Terms of Service. 8.1.2 If you use any API to retrieve a user's data from Google, you acknowledge and agree that you shall retrieve data only with the user's explicit consent and only when, and for the limited purposes for which, the user has given you permission to do so. If you use the Android Recognition Service API, documented at the following URL: https://developer.android.com/reference/android/speech/RecognitionService, as updated from time to time, you acknowledge that the use of the API is subject to the Data Processing Addendum for Products where Google is a Data Processor, which is located at the following URL: https://privacy.google.com/businesses/gdprprocessorterms/, as updated from time to time. By clicking to accept, you hereby agree to the terms of the Data Processing Addendum for Products where Google is a Data Processor.

9. Terminating this License Agreement

9.1 The License Agreement will continue to apply until terminated by either you or Google as set out below. 9.2 If you want to terminate the License Agreement, you may do so by ceasing your use of the SDK and any relevant developer credentials. 9.3 Google may at any time, terminate the License Agreement with you if: (A) you have breached any provision of the License Agreement; or (B) Google is required to do so by law; or (C) the partner with whom Google offered certain parts of SDK (such as APIs) to you has terminated its relationship with Google or ceased to offer certain parts of the SDK to you; or (D) Google decides to no longer provide the SDK or certain parts of the SDK to users in the country in which you are resident or from which you use the service, or the provision of the SDK or certain SDK services to you by Google is, in Google's sole discretion, no longer commercially viable. 9.4 When the License Agreement comes to an end, all of the legal rights, obligations and liabilities that you and Google have benefited from, been subject to (or which have accrued over time whilst the License Agreement has been in force) or which are expressed to continue indefinitely, shall be unaffected by this cessation, and the provisions of paragraph 14.7 shall continue to apply to such rights, obligations and liabilities indefinitely.

10. DISCLAIMER OF WARRANTIES

10.1 YOU EXPRESSLY UNDERSTAND AND AGREE THAT YOUR USE OF THE SDK IS AT YOUR SOLE RISK AND THAT THE SDK IS PROVIDED "AS IS" AND "AS AVAILABLE" WITHOUT WARRANTY OF ANY KIND FROM GOOGLE. 10.2 YOUR USE OF THE SDK AND ANY MATERIAL DOWNLOADED OR OTHERWISE OBTAINED THROUGH THE USE OF THE SDK IS AT YOUR OWN DISCRETION AND RISK AND YOU ARE SOLELY RESPONSIBLE FOR ANY DAMAGE TO YOUR COMPUTER SYSTEM OR OTHER DEVICE OR LOSS OF DATA THAT RESULTS FROM SUCH USE. 10.3 GOOGLE FURTHER EXPRESSLY DISCLAIMS ALL WARRANTIES AND CONDITIONS OF ANY KIND, WHETHER EXPRESS OR IMPLIED, INCLUDING, BUT NOT LIMITED TO THE IMPLIED WARRANTIES AND CONDITIONS OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT.

11. LIMITATION OF LIABILITY

11.1 YOU EXPRESSLY UNDERSTAND AND AGREE THAT GOOGLE, ITS SUBSIDIARIES AND AFFILIATES, AND ITS LICENSORS SHALL NOT BE LIABLE TO YOU UNDER ANY THEORY OF LIABILITY FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, CONSEQUENTIAL OR EXEMPLARY DAMAGES THAT MAY BE INCURRED BY YOU, INCLUDING ANY LOSS OF DATA, WHETHER OR NOT GOOGLE OR ITS REPRESENTATIVES HAVE BEEN ADVISED OF OR SHOULD HAVE BEEN AWARE OF THE POSSIBILITY OF ANY SUCH LOSSES ARISING.

12. Indemnification

12.1 To the maximum extent permitted by law, you agree to defend, indemnify and hold harmless Google, its affiliates and their respective directors, officers, employees and agents from and against any and all claims, actions, suits or proceedings, as well as any and all losses, liabilities, damages, costs and expenses (including reasonable attorneys fees) arising out of or accruing from (a) your use of the SDK, (b) any application you develop on the SDK that infringes any copyright, trademark, trade secret, trade dress, patent or other intellectual property right of any person or defames any person or violates their rights of publicity or privacy, and (c) any non-compliance by you with the License Agreement.

13. Changes to the License Agreement

13.1 Google may make changes to the License Agreement as it distributes new versions of the SDK. When these changes are made, Google will make a new version of the License Agreement available on the website where the SDK is made available. 14.1 The License Agreement constitutes the whole legal agreement between you and Google and governs your use of the SDK (excluding any services which Google may provide to you under a separate written agreement), and completely replaces any prior agreements between you and Google in relation to the SDK. 14.2 You agree that if Google does not exercise or enforce any legal right or remedy which is contained in the License Agreement (or which Google has the benefit of under any applicable law), this will not be taken to be a formal waiver of Google's rights and that those rights or remedies will still be available to Google. 14.3 If any court of law, having the jurisdiction to decide on this matter, rules that any provision of the License Agreement is invalid, then that provision will be removed from the License Agreement without affecting the rest of the License Agreement. The remaining provisions of the License Agreement will continue to be valid and enforceable. 14.4 You acknowledge and agree that each member of the group of companies of which Google is the parent shall be third party beneficiaries to the License Agreement and that such other companies shall be entitled to directly enforce, and rely upon, any provision of the License Agreement that confers a benefit on (or rights in favor of) them. Other than this, no other person or company shall be third party beneficiaries to the License Agreement. 14.5 EXPORT RESTRICTIONS. THE SDK IS SUBJECT TO UNITED STATES EXPORT LAWS AND REGULATIONS. YOU MUST COMPLY WITH ALL DOMESTIC AND INTERNATIONAL EXPORT LAWS AND REGULATIONS THAT APPLY TO THE SDK. THESE LAWS INCLUDE RESTRICTIONS ON DESTINATIONS, END USERS AND END USE. 14.6 The rights granted in the License Agreement may not be assigned or transferred by either you or Google without the prior written approval of the other party. Neither you nor Google shall be permitted to delegate their responsibilities or obligations under the License Agreement without the prior written approval of the other party. 14.7 The License Agreement, and your relationship with Google under the License Agreement, shall be governed by the laws of the State of California without regard to its conflict of laws provisions. You and Google agree to submit to the exclusive jurisdiction of the courts located within the county of Santa Clara, California to resolve any legal matter arising from the License Agreement. Notwithstanding this, you agree that Google shall still be allowed to apply for injunctive remedies (or an equivalent type of urgent legal relief) in any jurisdiction. July 27, 2021
Download Android SDK Platform-Tools for Mac

platform-tools-latest-darwin.zip

Download Android SDK Platform-Tools

Before downloading, you must agree to the following terms and conditions.

Terms and Conditions

This is the Android Software Development Kit License Agreement

1. Introduction

1.1 The Android Software Development Kit (referred to in the License Agreement as the "SDK" and specifically including the Android system files, packaged APIs, and Google APIs add-ons) is licensed to you subject to the terms of the License Agreement. The License Agreement forms a legally binding contract between you and Google in relation to your use of the SDK. 1.2 "Android" means the Android software stack for devices, as made available under the Android Open Source Project, which is located at the following URL: https://source.android.com/, as updated from time to time. 1.3 A "compatible implementation" means any Android device that (i) complies with the Android Compatibility Definition document, which can be found at the Android compatibility website (https://source.android.com/compatibility) and which may be updated from time to time; and (ii) successfully passes the Android Compatibility Test Suite (CTS). 1.4 "Google" means Google LLC, organized under the laws of the State of Delaware, USA, and operating under the laws of the USA with principal place of business at 1600 Amphitheatre Parkway, Mountain View, CA 94043, USA.

2. Accepting this License Agreement

2.1 In order to use the SDK, you must first agree to the License Agreement. You may not use the SDK if you do not accept the License Agreement. 2.2 By clicking to accept and/or using this SDK, you hereby agree to the terms of the License Agreement. 2.3 You may not use the SDK and may not accept the License Agreement if you are a person barred from receiving the SDK under the laws of the United States or other countries, including the country in which you are resident or from which you use the SDK. 2.4 If you are agreeing to be bound by the License Agreement on behalf of your employer or other entity, you represent and warrant that you have full legal authority to bind your employer or such entity to the License Agreement. If you do not have the requisite authority, you may not accept the License Agreement or use the SDK on behalf of your employer or other entity.

3. SDK License from Google

3.1 Subject to the terms of the License Agreement, Google grants you a limited, worldwide, royalty-free, non-assignable, non-exclusive, and non-sublicensable license to use the SDK solely to develop applications for compatible implementations of Android. 3.2 You may not use this SDK to develop applications for other platforms (including non-compatible implementations of Android) or to develop another SDK. You are of course free to develop applications for other platforms, including non-compatible implementations of Android, provided that this SDK is not used for that purpose. 3.3 You agree that Google or third parties own all legal right, title and interest in and to the SDK, including any Intellectual Property Rights that subsist in the SDK. "Intellectual Property Rights" means any and all rights under patent law, copyright law, trade secret law, trademark law, and any and all other proprietary rights. Google reserves all rights not expressly granted to you. 3.4 You may not use the SDK for any purpose not expressly permitted by the License Agreement. Except to the extent required by applicable third party licenses, you may not copy (except for backup purposes), modify, adapt, redistribute, decompile, reverse engineer, disassemble, or create derivative works of the SDK or any part of the SDK. 3.5 Use, reproduction and distribution of components of the SDK licensed under an open source software license are governed solely by the terms of that open source software license and not the License Agreement. 3.6 You agree that the form and nature of the SDK that Google provides may change without prior notice to you and that future versions of the SDK may be incompatible with applications developed on previous versions of the SDK. You agree that Google may stop (permanently or temporarily) providing the SDK (or any features within the SDK) to you or to users generally at Google's sole discretion, without prior notice to you. 3.7 Nothing in the License Agreement gives you a right to use any of Google's trade names, trademarks, service marks, logos, domain names, or other distinctive brand features. 3.8 You agree that you will not remove, obscure, or alter any proprietary rights notices (including copyright and trademark notices) that may be affixed to or contained within the SDK.

4. Use of the SDK by You

4.1 Google agrees that it obtains no right, title or interest from you (or your licensors) under the License Agreement in or to any software applications that you develop using the SDK, including any intellectual property rights that subsist in those applications. 4.2 You agree to use the SDK and write applications only for purposes that are permitted by (a) the License Agreement and (b) any applicable law, regulation or generally accepted practices or guidelines in the relevant jurisdictions (including any laws regarding the export of data or software to and from the United States or other relevant countries). 4.3 You agree that if you use the SDK to develop applications for general public users, you will protect the privacy and legal rights of those users. If the users provide you with user names, passwords, or other login information or personal information, you must make the users aware that the information will be available to your application, and you must provide legally adequate privacy notice and protection for those users. If your application stores personal or sensitive information provided by users, it must do so securely. If the user provides your application with Google Account information, your application may only use that information to access the user's Google Account when, and for the limited purposes for which, the user has given you permission to do so. 4.4 You agree that you will not engage in any activity with the SDK, including the development or distribution of an application, that interferes with, disrupts, damages, or accesses in an unauthorized manner the servers, networks, or other properties or services of any third party including, but not limited to, Google or any mobile communications carrier. 4.5 You agree that you are solely responsible for (and that Google has no responsibility to you or to any third party for) any data, content, or resources that you create, transmit or display through Android and/or applications for Android, and for the consequences of your actions (including any loss or damage which Google may suffer) by doing so. 4.6 You agree that you are solely responsible for (and that Google has no responsibility to you or to any third party for) any breach of your obligations under the License Agreement, any applicable third party contract or Terms of Service, or any applicable law or regulation, and for the consequences (including any loss or damage which Google or any third party may suffer) of any such breach.

5. Your Developer Credentials

5.1 You agree that you are responsible for maintaining the confidentiality of any developer credentials that may be issued to you by Google or which you may choose yourself and that you will be solely responsible for all applications that are developed under your developer credentials.

6. Privacy and Information

6.1 In order to continually innovate and improve the SDK, Google may collect certain usage statistics from the software including but not limited to a unique identifier, associated IP address, version number of the software, and information on which tools and/or services in the SDK are being used and how they are being used. Before any of this information is collected, the SDK will notify you and seek your consent. If you withhold consent, the information will not be collected. 6.2 The data collected is examined in the aggregate to improve the SDK and is maintained in accordance with Google's Privacy Policy, which is located at the following URL: https://policies.google.com/privacy 6.3 Anonymized and aggregated sets of the data may be shared with Google partners to improve the SDK.

7. Third Party Applications

7.1 If you use the SDK to run applications developed by a third party or that access data, content or resources provided by a third party, you agree that Google is not responsible for those applications, data, content, or resources. You understand that all data, content or resources which you may access through such third party applications are the sole responsibility of the person from which they originated and that Google is not liable for any loss or damage that you may experience as a result of the use or access of any of those third party applications, data, content, or resources. 7.2 You should be aware the data, content, and resources presented to you through such a third party application may be protected by intellectual property rights which are owned by the providers (or by other persons or companies on their behalf). You may not modify, rent, lease, loan, sell, distribute or create derivative works based on these data, content, or resources (either in whole or in part) unless you have been specifically given permission to do so by the relevant owners. 7.3 You acknowledge that your use of such third party applications, data, content, or resources may be subject to separate terms between you and the relevant third party. In that case, the License Agreement does not affect your legal relationship with these third parties.

8. Using Android APIs

8.1 Google Data APIs 8.1.1 If you use any API to retrieve data from Google, you acknowledge that the data may be protected by intellectual property rights which are owned by Google or those parties that provide the data (or by other persons or companies on their behalf). Your use of any such API may be subject to additional Terms of Service. You may not modify, rent, lease, loan, sell, distribute or create derivative works based on this data (either in whole or in part) unless allowed by the relevant Terms of Service. 8.1.2 If you use any API to retrieve a user's data from Google, you acknowledge and agree that you shall retrieve data only with the user's explicit consent and only when, and for the limited purposes for which, the user has given you permission to do so. If you use the Android Recognition Service API, documented at the following URL: https://developer.android.com/reference/android/speech/RecognitionService, as updated from time to time, you acknowledge that the use of the API is subject to the Data Processing Addendum for Products where Google is a Data Processor, which is located at the following URL: https://privacy.google.com/businesses/gdprprocessorterms/, as updated from time to time. By clicking to accept, you hereby agree to the terms of the Data Processing Addendum for Products where Google is a Data Processor.

9. Terminating this License Agreement

9.1 The License Agreement will continue to apply until terminated by either you or Google as set out below. 9.2 If you want to terminate the License Agreement, you may do so by ceasing your use of the SDK and any relevant developer credentials. 9.3 Google may at any time, terminate the License Agreement with you if: (A) you have breached any provision of the License Agreement; or (B) Google is required to do so by law; or (C) the partner with whom Google offered certain parts of SDK (such as APIs) to you has terminated its relationship with Google or ceased to offer certain parts of the SDK to you; or (D) Google decides to no longer provide the SDK or certain parts of the SDK to users in the country in which you are resident or from which you use the service, or the provision of the SDK or certain SDK services to you by Google is, in Google's sole discretion, no longer commercially viable. 9.4 When the License Agreement comes to an end, all of the legal rights, obligations and liabilities that you and Google have benefited from, been subject to (or which have accrued over time whilst the License Agreement has been in force) or which are expressed to continue indefinitely, shall be unaffected by this cessation, and the provisions of paragraph 14.7 shall continue to apply to such rights, obligations and liabilities indefinitely.

10. DISCLAIMER OF WARRANTIES

10.1 YOU EXPRESSLY UNDERSTAND AND AGREE THAT YOUR USE OF THE SDK IS AT YOUR SOLE RISK AND THAT THE SDK IS PROVIDED "AS IS" AND "AS AVAILABLE" WITHOUT WARRANTY OF ANY KIND FROM GOOGLE. 10.2 YOUR USE OF THE SDK AND ANY MATERIAL DOWNLOADED OR OTHERWISE OBTAINED THROUGH THE USE OF THE SDK IS AT YOUR OWN DISCRETION AND RISK AND YOU ARE SOLELY RESPONSIBLE FOR ANY DAMAGE TO YOUR COMPUTER SYSTEM OR OTHER DEVICE OR LOSS OF DATA THAT RESULTS FROM SUCH USE. 10.3 GOOGLE FURTHER EXPRESSLY DISCLAIMS ALL WARRANTIES AND CONDITIONS OF ANY KIND, WHETHER EXPRESS OR IMPLIED, INCLUDING, BUT NOT LIMITED TO THE IMPLIED WARRANTIES AND CONDITIONS OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT.

11. LIMITATION OF LIABILITY

11.1 YOU EXPRESSLY UNDERSTAND AND AGREE THAT GOOGLE, ITS SUBSIDIARIES AND AFFILIATES, AND ITS LICENSORS SHALL NOT BE LIABLE TO YOU UNDER ANY THEORY OF LIABILITY FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, CONSEQUENTIAL OR EXEMPLARY DAMAGES THAT MAY BE INCURRED BY YOU, INCLUDING ANY LOSS OF DATA, WHETHER OR NOT GOOGLE OR ITS REPRESENTATIVES HAVE BEEN ADVISED OF OR SHOULD HAVE BEEN AWARE OF THE POSSIBILITY OF ANY SUCH LOSSES ARISING.

12. Indemnification

12.1 To the maximum extent permitted by law, you agree to defend, indemnify and hold harmless Google, its affiliates and their respective directors, officers, employees and agents from and against any and all claims, actions, suits or proceedings, as well as any and all losses, liabilities, damages, costs and expenses (including reasonable attorneys fees) arising out of or accruing from (a) your use of the SDK, (b) any application you develop on the SDK that infringes any copyright, trademark, trade secret, trade dress, patent or other intellectual property right of any person or defames any person or violates their rights of publicity or privacy, and (c) any non-compliance by you with the License Agreement.

13. Changes to the License Agreement

13.1 Google may make changes to the License Agreement as it distributes new versions of the SDK. When these changes are made, Google will make a new version of the License Agreement available on the website where the SDK is made available. 14.1 The License Agreement constitutes the whole legal agreement between you and Google and governs your use of the SDK (excluding any services which Google may provide to you under a separate written agreement), and completely replaces any prior agreements between you and Google in relation to the SDK. 14.2 You agree that if Google does not exercise or enforce any legal right or remedy which is contained in the License Agreement (or which Google has the benefit of under any applicable law), this will not be taken to be a formal waiver of Google's rights and that those rights or remedies will still be available to Google. 14.3 If any court of law, having the jurisdiction to decide on this matter, rules that any provision of the License Agreement is invalid, then that provision will be removed from the License Agreement without affecting the rest of the License Agreement. The remaining provisions of the License Agreement will continue to be valid and enforceable. 14.4 You acknowledge and agree that each member of the group of companies of which Google is the parent shall be third party beneficiaries to the License Agreement and that such other companies shall be entitled to directly enforce, and rely upon, any provision of the License Agreement that confers a benefit on (or rights in favor of) them. Other than this, no other person or company shall be third party beneficiaries to the License Agreement. 14.5 EXPORT RESTRICTIONS. THE SDK IS SUBJECT TO UNITED STATES EXPORT LAWS AND REGULATIONS. YOU MUST COMPLY WITH ALL DOMESTIC AND INTERNATIONAL EXPORT LAWS AND REGULATIONS THAT APPLY TO THE SDK. THESE LAWS INCLUDE RESTRICTIONS ON DESTINATIONS, END USERS AND END USE. 14.6 The rights granted in the License Agreement may not be assigned or transferred by either you or Google without the prior written approval of the other party. Neither you nor Google shall be permitted to delegate their responsibilities or obligations under the License Agreement without the prior written approval of the other party. 14.7 The License Agreement, and your relationship with Google under the License Agreement, shall be governed by the laws of the State of California without regard to its conflict of laws provisions. You and Google agree to submit to the exclusive jurisdiction of the courts located within the county of Santa Clara, California to resolve any legal matter arising from the License Agreement. Notwithstanding this, you agree that Google shall still be allowed to apply for injunctive remedies (or an equivalent type of urgent legal relief) in any jurisdiction. July 27, 2021
Download Android SDK Platform-Tools for Linux

platform-tools-latest-linux.zip