O Android Debug Bridge (adb) é uma ferramenta universal de linha de comando que permite que você se comunique com uma instância emuladora ou com um dispositivo Android conectado. Ele facilita uma variedade de operações de dispositivos, como instalação e depuração de aplicações, e fornece acesso ao shell Unix, que pode ser usado para executar vários comandos em emuladores ou dispositivos conectados. A ferramenta funciona como um programa cliente-servidor e inclui três componentes:
cliente, o componente envia comandos. O cliente está rodando na máquina de desenvolvimento. Você pode invocar o cliente a partir do terminal da linha de comando emitindo um comando adb. Um programa em segundo plano que executa comandos no dispositivo. O programa em segundo plano roda como um processo em segundo plano em cada emulador ou instância de dispositivo. O servidor, que gerencia a comunicação entre o cliente e o programa em segundo plano. O servidor roda como um processo em segundo plano na máquina de desenvolvimento. É possívelEncontre a ferramenta adb em android_sdk/platform-tools/。
Lista de arquivos:
Lista de PATH de pastas O número de série do 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.propriedades │ sqlite3.exe │ ├─API │ annotations.zip │ api-versions.xml │ ├─lib64 │ libc++.so │ └─systrace │ AVISO │ systrace.py │ UPSTREAM_REVISION │ └─catapulta ├─comum │ ├─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 │ │ │ LICENÇA │ │ │ README.md │ │ │ │ │ ├─bin │ │ │ run_eslint │ │ │ run_tests │ │ │ │ │ │ ├─eslint │ │ │ smoke_test.py │ │ │ __init__.py │ │ │ │ │ ├─regras │ │ │ catapult-camelcase.js │ │ │ │ │ └─testes │ │ 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 │ │ atualização │ │ │ └─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 │ ├─diabo │ │ PRESUBMIT.py │ │ pylintrc │ │ README.md │ │ │ ├─bin │ │ generate_md_docs │ │ run_py_devicetests │ │ run_py_tests │ │ │ ├─diabo │ │ │ 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 │ │ │ │ │ │ │ │ ├─constantes │ │ │ │ │ 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 │ │ │ │ │ │ │ │ │ └─teste │ │ │ │ └─data │ │ │ │ │ │ push_file.txt │ │ │ │ │ │ │ │ │ └─push_directory │ │ │ │ push_directory_contents.txt │ │ │ │ │ │ │ ├─ferramentas │ │ │ │ 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 │ │ │ │ │ │ ├─constantes │ │ │ 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 │ │ │ │ │ ├─preguiçoso │ │ │ weak_constant.py │ │ │ __init__.py │ │ │ │ │ └─teste │ │ └─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 │ │ madeirando.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 │ │ COPIANDO │ │ perf_to_tracing.py │ │ README.chromium │ │ │ └─systrace │ │ AUTORES │ │ decorators.py │ │ LICENÇA │ │ 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 │ │ perfil-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 │ │ │ │ │ ├─ferramentas │ │ │ 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 │ LICENÇA │ README.chromium │ zipfile_2_7_13.py │ └─rastreio │ tracing_project.py │ └─rastreio │ __init__.py │ └─trace_data trace_data.py trace_data_unittest.py __init__.py
Endereço oficial de download do 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
Janelas:
https://dl.google.com/android/repository/platform-tools-latest-windows.zip
Como muitas pessoas não conseguem abrir o Google, eu já tinha baixado quando folheei o Google.
Baixe o arquivo oficial original:
Turistas, se quiserem ver o conteúdo oculto deste post, por favor Resposta
|