L'Android Debug Bridge (adb) è uno strumento universale da riga di comando che permette di comunicare con un'istanza emulatore o con un dispositivo Android collegato. Facilita una varietà di operazioni del dispositivo, come l'installazione e il debug di applicazioni, e fornisce accesso alla shell Unix, che può essere utilizzata per eseguire vari comandi su emulatori o dispositivi connessi. Lo strumento funziona come un programma client-server e include tre componenti:
client, il componente invia comandi. Il client gira sulla macchina di sviluppo. Puoi invocare il client dal terminale della riga di comando emettendo un comando adb. Un programma in background che esegue comandi sul dispositivo. Il programma in background viene eseguito come processo in background su ogni emulatore o istanza di dispositivo. Il server, che gestisce la comunicazione tra il client e il programma in background. Il server funziona come processo in background sulla macchina di sviluppo. Si puòTrova lo strumento adb su android_sdk/platform-tools/。
Elenco dei file:
Elenco PATH delle cartelle Il numero di serie del volume è 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 │ fonte.proprietà │ sqlite3.exe │ ├─API │ annotations.zip │ api-versions.xml │ ├─lib64 │ libc++.so │ └─systrace │ AVVISO │ systrace.py │ UPSTREAM_REVISION │ └─catapulta ├─comune │ ├─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 │ │ │ LICENZA │ │ │ README.md │ │ │ │ │ ├─bin │ │ │ run_eslint │ │ │ run_tests │ │ │ │ │ ├─eslint │ │ │ smoke_test.py │ │ │ __init__.py │ │ │ │ │ ├─regole │ │ │ catapult-camelcase.js │ │ │ │ │ └─test │ │ 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 │ │ │ ├─refactor │ │ │ 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 │ │ aggiornamento │ │ │ └─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 │ ├─diavolo │ │ PRESUBMIT.py │ │ pylintrc │ │ README.md │ │ │ ├─Bin │ │ generate_md_docs │ │ run_py_devicetests │ │ run_py_tests │ │ │ ├─diavolo │ │ │ base_error.py │ │ │ devil_dependencies.json │ │ │ devil_env.py │ │ │ devil_env_test.py │ │ │ __init__.py │ │ │ │ │ ├─androide │ │ │ │ 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 │ │ │ │ │ │ │ ├─costanti │ │ │ │ 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 │ │ │ │ │ │ │ ├─strumenti │ │ │ │ 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 │ │ │ │ │ ├─costanti │ │ │ 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 │ │ │ │ │ ├─pigro │ │ │ 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 │ │ logging │ │ 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 │ │ COPIA │ │ perf_to_tracing.py │ │ README.chromium │ │ │ └─systrace │ │ AUTORI │ │ decorators.py │ │ LICENZA │ │ 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 │ │ profilo-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 │ │ │ │ │ └─serial │ │ │ rfc2217.py │ │ │ serialcli.py │ │ │ serialjava.py │ │ │ serialposix.py │ │ │ serialutil.py │ │ │ serialwin32.py │ │ │ sermsdos.py │ │ │ win32.py │ │ │ __init__.py │ │ │ │ │ ├─strumenti │ │ │ 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 │ LICENZA │ README.chromium │ zipfile_2_7_13.py │ └─tracciamento │ tracing_project.py │ └─tracciamento │ __init__.py │ └─trace_data trace_data.py trace_data_unittest.py __init__.py
Indirizzo ufficiale di download di Google:
Linux :
https://dl.google.com/android/repository/platform-tools-latest-linux.zip
Mac:
https://dl.google.com/android/repository/platform-tools-latest-darwin.zip
Finestre:
https://dl.google.com/android/repository/platform-tools-latest-windows.zip
Poiché molte persone non riescono ad aprire Google, io l'ho già scaricato quando l'ho sfogliato.
Scarica il file ufficiale originale:
Turisti, se volete vedere il contenuto nascosto di questo post, vi prego Risposta
|