Το Android Debug Bridge (adb) είναι ένα καθολικό εργαλείο γραμμής εντολών που σας επιτρέπει να επικοινωνείτε με μια παρουσία εξομοιωτή ή μια συνδεδεμένη συσκευή Android. Διευκολύνει μια ποικιλία λειτουργιών της συσκευής, όπως η εγκατάσταση και ο εντοπισμός σφαλμάτων εφαρμογών, και παρέχει πρόσβαση στο κέλυφος Unix, το οποίο μπορεί να χρησιμοποιηθεί για την εκτέλεση διαφόρων εντολών σε εξομοιωτές ή συνδεδεμένες συσκευές. Το εργαλείο λειτουργεί ως πρόγραμμα πελάτη-διακομιστή και περιλαμβάνει τρία στοιχεία:
πελάτη, το στοιχείο στέλνει εντολές. Ο πελάτης εκτελείται στον υπολογιστή ανάπτυξης. Μπορείτε να καλέσετε τον πελάτη από το τερματικό της γραμμής εντολών εκδίδοντας μια εντολή adb. Ένα πρόγραμμα παρασκηνίου που εκτελεί εντολές στη συσκευή. Το πρόγραμμα παρασκηνίου εκτελείται ως διαδικασία παρασκηνίου σε κάθε εξομοιωτή ή παρουσία συσκευής. Ο διακομιστής, ο οποίος διαχειρίζεται την επικοινωνία μεταξύ του πελάτη και του προγράμματος παρασκηνίου. Ο διακομιστής εκτελείται ως διαδικασία παρασκηνίου στη μηχανή ανάπτυξης. ΜπορείςΒρείτε το εργαλείο adb στο android_sdk/platform-tools/。
Λίστα αρχείων:
Λίστα PATH φακέλου Ο σειριακός αριθμός τόμου είναι 00000004 7081:E3E5 C:. │ adb.exe │ AdbWinApi.dll │ AdbWinUsbApi.dll │ dmtracedump.exe │ etc1tool.exe │ fastboot.exe │ hprof-conv.exe │ libwinpthread-1.dll │ make_f2fs.exe │ mke2fs.conf │ mke2fs.exe │ NOTICE.txt │ πηγή.ιδιότητες │ sqlite3.exe │ ├─API │ annotations.zip │ api-versions.xml │ ├─lib64 │ libc++.έτσι │ └─systrace │ ΕΙΔΟΠΟΙΗΣΗ │ systrace.py │ UPSTREAM_REVISION │ └─καταπέλτης ├─Κοινό │ ├─Battor │ │ ├─battor │ │ │ battor_binary_dependencies.json │ │ │ battor_error.py │ │ │ battor_wrapper.py │ │ │ battor_wrapper_devicetest.py │ │ │ battor_wrapper_unittest.py │ │ │ __init__.py │ │ │ │ │ └─κάδος │ │ run_py_tests │ │ upload_battor_binaries.py │ │ │ ├─κάδος │ │ run_tests │ │ │ ├─eslint │ │ │ ΑΔΕΙΑ │ │ │ README.md │ │ │ │ │ ├─κάδος │ │ │ run_eslint │ │ │ run_tests │ │ │ │ │ ├─eslint │ │ │ smoke_test.py │ │ │ __init__.py │ │ │ │ │ ├─κανόνες │ │ │ catapult-camelcase.js │ │ │ │ │ └─τεστ │ │ catapult-camelcase.js │ │ │ ├─εργαστήριο │ │ commits.py │ │ hardware.py │ │ keychain_unlock.sh │ │ │ ├─node_runner │ │ └─node_runner │ │ node_binaries.json │ │ node_util.py │ │ package.json │ │ __init__.py │ │ │ ├─py_trace_event │ │ │ README.txt │ │ │ │ │ └─py_trace_event │ │ │ run_tests │ │ │ setup.py │ │ │ trace_event.py │ │ │ trace_event_unittest.py │ │ │ trace_time.py │ │ │ trace_time_unittest.py │ │ │ __init__.py │ │ │ │ │ └─trace_event_impl │ │ decorators.py │ │ decorators_test.py │ │ log.py │ │ log_io_test.py │ │ meta_class.py │ │ multiprocessing_shim.py │ │ parsed_trace_events.py │ │ trace_test.py │ │ __init__.py │ │ │ └─py_utils │ │ PRESUBMIT.py │ │ │ └─py_utils │ │ binary_manager.py │ │ binary_manager_unittest.py │ │ chrome_binaries.json │ │ cloud_storage.py │ │ cloud_storage_global_lock.py │ │ cloud_storage_unittest.py │ │ contextlib_ext.py │ │ contextlib_ext_unittest.py │ │ dependency_util.py │ │ lock.py │ │ lock_unittest.py │ │ py_utils_unittest.py │ │ shell_util.py │ │ tempfile_ext.py │ │ tempfile_ext_unittest.py │ │ xvfb.py │ │ __init__.py │ │ │ ├─αναπαράγοντας │ │ │ module.py │ │ │ offset_token.py │ │ │ snippet.py │ │ │ __init__.py │ │ │ │ │ └─annotated_symbol │ │ base_symbol.py │ │ class_definition.py │ │ function_definition.py │ │ import_statement.py │ │ reference.py │ │ __init__.py │ │ │ ├─refactor_util │ │ move.py │ │ __init__.py │ │ │ └─test_data │ foo.txt │ ├─dependency_manager │ │ PRESUBMIT.py │ │ pylintrc │ │ │ ├─κάδος │ │ run_tests │ │ ενημέρωση │ │ │ └─dependency_manager │ archive_info.py │ base_config.py │ base_config_unittest.py │ cloud_storage_info.py │ cloud_storage_info_unittest.py │ dependency_info.py │ dependency_info_unittest.py │ dependency_manager_unittest.py │ dependency_manager_util.py │ dependency_manager_util_unittest.py │ exceptions.py │ local_path_info.py │ manager.py │ uploader.py │ uploader_unittest.py │ __init__.py │ ├─Διάβολος │ │ PRESUBMIT.py │ │ pylintrc │ │ README.md │ │ │ ├─κάδος │ │ generate_md_docs │ │ run_py_devicetests │ │ run_py_tests │ │ │ ├─διάβολος │ │ │ base_error.py │ │ │ devil_dependencies.json │ │ │ devil_env.py │ │ │ devil_env_test.py │ │ │ __init__.py │ │ │ │ │ ├─android │ │ │ │ apk_helper.py │ │ │ │ apk_helper_test.py │ │ │ │ app_ui.py │ │ │ │ app_ui_test.py │ │ │ │ battery_utils.py │ │ │ │ battery_utils_test.py │ │ │ │ decorators.py │ │ │ │ decorators_test.py │ │ │ │ device_blacklist.py │ │ │ │ device_blacklist_test.py │ │ │ │ device_errors.py │ │ │ │ device_errors_test.py │ │ │ │ device_list.py │ │ │ │ device_signal.py │ │ │ │ device_temp_file.py │ │ │ │ device_test_case.py │ │ │ │ device_utils.py │ │ │ │ device_utils_devicetest.py │ │ │ │ device_utils_test.py │ │ │ │ fastboot_utils.py │ │ │ │ fastboot_utils_test.py │ │ │ │ flag_changer.py │ │ │ │ flag_changer_devicetest.py │ │ │ │ flag_changer_test.py │ │ │ │ forwarder.py │ │ │ │ install_commands.py │ │ │ │ logcat_monitor.py │ │ │ │ logcat_monitor_test.py │ │ │ │ md5sum.py │ │ │ │ md5sum_test.py │ │ │ │ ports.py │ │ │ │ settings.py │ │ │ │ __init__.py │ │ │ │ │ │ │ ├─σταθερές │ │ │ │ chrome.py │ │ │ │ file_system.py │ │ │ │ __init__.py │ │ │ │ │ │ │ ├─perf │ │ │ │ cache_control.py │ │ │ │ perf_control.py │ │ │ │ perf_control_devicetest.py │ │ │ │ surface_stats_collector.py │ │ │ │ thermal_throttle.py │ │ │ │ __init__.py │ │ │ │ │ │ │ ├─sdk │ │ │ │ │ aapt.py │ │ │ │ │ adb_compatibility_devicetest.py │ │ │ │ │ adb_wrapper.py │ │ │ │ │ adb_wrapper_devicetest.py │ │ │ │ │ adb_wrapper_test.py │ │ │ │ │ build_tools.py │ │ │ │ │ dexdump.py │ │ │ │ │ fastboot.py │ │ │ │ │ gce_adb_wrapper.py │ │ │ │ │ intent.py │ │ │ │ │ keyevent.py │ │ │ │ │ shared_prefs.py │ │ │ │ │ shared_prefs_test.py │ │ │ │ │ split_select.py │ │ │ │ │ version_codes.py │ │ │ │ │ __init__.py │ │ │ │ │ │ │ │ │ └─δοκιμή │ │ │ │ └─δεδομένα │ │ │ │ │ push_file.txt │ │ │ │ │ │ │ │ │ └─push_directory │ │ │ │ push_directory_contents.txt │ │ │ │ │ │ │ ├─εργαλεία │ │ │ │ adb_run_shell_cmd.py │ │ │ │ cpufreq.py │ │ │ │ device_monitor.py │ │ │ │ device_monitor_test.py │ │ │ │ device_recovery.py │ │ │ │ device_status.py │ │ │ │ flash_device.py │ │ │ │ keyboard.py │ │ │ │ provision_devices.py │ │ │ │ screenshot.py │ │ │ │ scrip{filter}t_common.py │ │ │ │ scrip{filter}t_common_test.py │ │ │ │ video_recorder.py │ │ │ │ wait_for_devices.py │ │ │ │ __init__.py │ │ │ │ │ │ │ └─valgrind_tools │ │ │ base_tool.py │ │ │ __init__.py │ │ │ │ │ ├─σταθερές │ │ │ exit_codes.py │ │ │ __init__.py │ │ │ │ │ └─utils │ │ │ battor_device_mapping.py │ │ │ cmd_helper.py │ │ │ cmd_helper_test.py │ │ │ file_utils.py │ │ │ find_usb_devices.py │ │ │ find_usb_devices_test.py │ │ │ geometry.py │ │ │ geometry_test.py │ │ │ host_utils.py │ │ │ lsusb.py │ │ │ lsusb_test.py │ │ │ markdown.py │ │ │ markdown_test.py │ │ │ mock_calls.py │ │ │ mock_calls_test.py │ │ │ parallelizer.py │ │ │ parallelizer_test.py │ │ │ reraiser_thread.py │ │ │ reraiser_thread_unittest.py │ │ │ reset_usb.py │ │ │ run_tests_helper.py │ │ │ signal_handler.py │ │ │ timeout_retry.py │ │ │ timeout_retry_unittest.py │ │ │ update_mapping.py │ │ │ usb_hubs.py │ │ │ watchdog_timer.py │ │ │ zip_utils.py │ │ │ __init__.py │ │ │ │ │ ├─τεμπέλης │ │ │ weak_constant.py │ │ │ __init__.py │ │ │ │ │ └─τεστ │ │ └─δεδομένα │ │ test_serial_map.json │ │ │ └─έγγραφα │ adb_wrapper.md │ device_blacklist.md │ device_utils.md │ markdown.md │ persistent_device_list.md │ ├─systrace │ │ PRESUBMIT.py │ │ pylintrc │ │ README.md │ │ │ ├─atrace_helper │ │ │ README.md │ │ │ │ │ └─jni │ │ Application.mk │ │ file_utils.cc │ │ file_utils.h │ │ logging.h │ │ main.cc │ │ process_info.cc │ │ process_info.h │ │ process_memory_stats.cc │ │ process_memory_stats.h │ │ │ ├─κάδος │ │ adb_profile_chrome │ │ adb_profile_chrome_startup │ │ run_tests │ │ Systrace │ │ │ ├─profile_chrome │ │ │ chrome_startup_tracing_agent.py │ │ │ chrome_startup_tracing_agent_unittest.py │ │ │ chrome_tracing_agent.py │ │ │ chrome_tracing_agent_unittest.py │ │ │ ddms_tracing_agent.py │ │ │ ddms_tracing_agent_unittest.py │ │ │ fake_agent_1.py │ │ │ fake_agent_2.py │ │ │ flags.py │ │ │ main.py │ │ │ perf_tracing_agent.py │ │ │ perf_tracing_agent_unittest.py │ │ │ profiler.py │ │ │ profiler_unittest.py │ │ │ run_tests │ │ │ ui.py │ │ │ util.py │ │ │ __init__.py │ │ │ │ │ └─third_party │ │ ΑΝΤΙΓΡΑΦΉ │ │ perf_to_tracing.py │ │ README.χρώμιο │ │ │ └─systrace │ │ ΣΥΓΓΡΑΦΕΊΣ │ │ decorators.py │ │ ΑΔΕΙΑ │ │ monitor_unittest.py │ │ output_generator.py │ │ output_generator_unittest.py │ │ prefix.html │ │ README.md │ │ run_systrace.py │ │ suffix.html │ │ systrace_runner.py │ │ systrace_trace_viewer.html │ │ trace_result.py │ │ tracing_controller.py │ │ update_systrace_trace_viewer.py │ │ util.py │ │ util_unittest.py │ │ __init__.py │ │ │ ├─test_data │ │ atrace_data │ │ atrace_data_raw │ │ atrace_data_stripped │ │ atrace_extracted_tgids │ │ atrace_extracted_threads │ │ atrace_fixed_tgids │ │ atrace_missing_tgids │ │ atrace_procfs_dump │ │ battor_test_data.txt │ │ compressed_atrace_data.txt │ │ decompressed_atrace_data.txt │ │ προφίλ-chrome_systrace_perf_chrome_data │ │ │ └─tracing_agents │ agents_unittest.py │ android_process_data_agent.py │ atrace_agent.py │ atrace_agent_unittest.py │ atrace_from_file_agent.py │ atrace_from_file_agent_unittest.py │ battor_trace_agent.py │ battor_trace_agent_unittest.py │ ftrace_agent.py │ ftrace_agent_unittest.py │ walt_agent.py │ walt_agent_unittest.py │ __init__.py │ ├─third_party │ ├─pyσειριακό │ │ │ LICENSE.txt │ │ │ linux-product_info.patch │ │ │ README.χρώμιο │ │ │ │ │ └─σειριακό │ │ │ rfc2217.py │ │ │ serialcli.py │ │ │ serialjava.py │ │ │ serialposix.py │ │ │ serialutil.py │ │ │ serialwin32.py │ │ │ sermsdos.py │ │ │ win32.py │ │ │ __init__.py │ │ │ │ │ ├─εργαλεία │ │ │ list_ports.py │ │ │ list_ports_linux.py │ │ │ list_ports_osx.py │ │ │ list_ports_posix.py │ │ │ list_ports_windows.py │ │ │ miniterm.py │ │ │ __init__.py │ │ │ │ │ └─urlhandler │ │ protocol_hwgrep.py │ │ protocol_loop.py │ │ protocol_rfc2217.py │ │ protocol_socket.py │ │ __init__.py │ │ │ └─αρχείο zip │ ΑΔΕΙΑ │ README.χρώμιο │ zipfile_2_7_13.py │ └─ιχνηλάτηση │ tracing_project.py │ └─ιχνηλάτηση │ __init__.py │ └─trace_data trace_data.py trace_data_unittest.py __init__.py
Επίσημη διεύθυνση λήψης Google:
Linux :
https://dl.google.com/android/repository/platform-tools-latest-linux.zip
Μακ:
https://dl.google.com/android/repository/platform-tools-latest-darwin.zip
Παράθυρα:
https://dl.google.com/android/repository/platform-tools-latest-windows.zip
Επειδή, πολλοί άνθρωποι δεν μπορούν να ανοίξουν το Google, το έχω ήδη κατεβάσει όταν το ξεφύλλισα.
Κατεβάστε το αρχικό επίσημο αρχείο:
Τουρίστες, αν θέλετε να δείτε το κρυφό περιεχόμενο αυτής της ανάρτησης, παρακαλώ Απάντηση
|