Die Android Debug Bridge (adb) ist ein universelles Kommandozeilen-Tool, das es Ihnen ermöglicht, mit einer Emulatorinstanz oder einem verbundenen Android-Gerät zu kommunizieren. Es erleichtert verschiedene Geräteoperationen, wie das Installieren und Debuggen von Anwendungen, und bietet Zugriff auf die Unix-Shell, die verwendet werden kann, um verschiedene Befehle auf Emulatoren oder angeschlossenen Geräten auszuführen. Das Tool funktioniert als Client-Server-Programm und besteht aus drei Komponenten:
Client sendet die Komponente Befehle. Der Client läuft auf der Entwicklungsmaschine. Du kannst den Client vom Kommandozeilen-Terminal aus aufrufen, indem du einen adb-Befehl gibst. Ein Hintergrundprogramm, das Befehle auf dem Gerät ausführt. Das Hintergrundprogramm läuft als Hintergrundprozess auf jedem Emulator oder jeder Geräteinstanz. Der Server, der die Kommunikation zwischen dem Client und dem Hintergrundprogramm verwaltet. Der Server läuft als Hintergrundprozess auf der Entwicklungsmaschine. Sie könnenFinden Sie das ADB-Tool in android_sdk/platform-tools/。
Dateiliste:
Ordner-PATH-Liste Die Seriennummer des Bandes lautet 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 │ source.properties │ sqlite3.exe │ ├─api │ annotations.zip │ api-versions.xml │ ├─lib64 │ libc++.so │ └─Systrace │ HINWEIS │ systrace.py │ UPSTREAM_REVISION │ └─Katapult ├─gewöhnlich │ ├─battor │ │ ├─battor │ │ │ battor_binary_dependencies.json │ │ │ battor_error.py │ │ │ battor_wrapper.py │ │ │ battor_wrapper_devicetest.py │ │ │ battor_wrapper_unittest.py │ │ │ __init__.py │ │ │ │ │ └─bin │ │ run_py_tests │ │ upload_battor_binaries.py │ │ │ ├─bin │ │ run_tests │ │ │ ├─eslint │ │ │ LIZENZ │ │ │ README.md │ │ │ │ │ ├─bin │ │ │ run_eslint │ │ │ run_tests │ │ │ │ │ ├─eslint │ │ │ smoke_test.py │ │ │ __init__.py │ │ │ │ │ ├─Regeln │ │ │ catapult-camelcase.js │ │ │ │ │ └─Tests │ │ catapult-camelcase.js │ │ │ ├─Lab │ │ 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 │ │ │ ├─refaktorisieren │ │ │ 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 │ │ │ ├─bin │ │ run_tests │ │ Update │ │ │ └─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 │ ├─Teufel │ │ PRESUBMIT.py │ │ Pylintrc │ │ README.md │ │ │ ├─bin │ │ generate_md_docs │ │ run_py_devicetests │ │ run_py_tests │ │ │ ├─Teufel │ │ │ 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 │ │ │ │ │ │ │ ├─konstanten │ │ │ │ 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 │ │ │ │ │ │ │ │ │ └─test │ │ │ │ └─data │ │ │ │ │ push_file.txt │ │ │ │ │ │ │ │ │ └─push_directory │ │ │ │ push_directory_contents.txt │ │ │ │ │ │ │ ├─Werkzeuge │ │ │ │ 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 │ │ │ │ │ ├─konstanten │ │ │ 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 │ │ │ │ │ ├─faul │ │ │ weak_constant.py │ │ │ __init__.py │ │ │ │ │ └─test │ │ └─data │ │ test_serial_map.json │ │ │ └─docs │ 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 │ │ Holzeinschlag.h │ │ main.cc │ │ process_info.cc │ │ process_info.h │ │ process_memory_stats.cc │ │ process_memory_stats.h │ │ │ ├─bin │ │ 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 │ │ KOPIEREN │ │ perf_to_tracing.py │ │ README.chromium │ │ │ └─systrace │ │ AUTOREN │ │ decorators.py │ │ LIZENZ │ │ 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 │ │ Profile-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 │ ├─pyserial │ │ │ LICENSE.txt │ │ │ linux-product_info.patch │ │ │ README.chromium │ │ │ │ │ └─seriell │ │ │ rfc2217.py │ │ │ serialcli.py │ │ │ serialjava.py │ │ │ serialposix.py │ │ │ serialutil.py │ │ │ serialwin32.py │ │ │ sermsdos.py │ │ │ win32.py │ │ │ __init__.py │ │ │ │ │ ├─Werkzeuge │ │ │ 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 │ │ │ └─zipfile │ LIZENZ │ README.chromium │ zipfile_2_7_13.py │ └─Verfolgung │ tracing_project.py │ └─Verfolgung │ __init__.py │ └─trace_data trace_data.py trace_data_unittest.py __init__.py
Google offizielle Download-Adresse:
Linux :
https://dl.google.com/android/repository/platform-tools-latest-linux.zip
Mac:
https://dl.google.com/android/repository/platform-tools-latest-darwin.zip
Fenster:
https://dl.google.com/android/repository/platform-tools-latest-windows.zip
Da viele Leute Google nicht öffnen können, habe ich es beim Durchblättern bereits heruntergeladen.
Laden Sie die offizielle Originaldatei herunter:
Touristen, wenn ihr den versteckten Inhalt dieses Beitrags sehen wollt, bitte Antwort
|