Android Debug Bridge (adb) är ett universellt kommandoradsverktyg som låter dig kommunicera med en emulatorinstans eller en ansluten Android-enhet. Den möjliggör en mängd olika enhetsoperationer, såsom installation och felsökning av applikationer, och ger tillgång till Unix-skalet, som kan användas för att köra olika kommandon på emulatorer eller anslutna enheter. Verktyget fungerar som ett klient-server-program och inkluderar tre komponenter:
klienten, komponenten skickar kommandon. Klienten körs på utvecklingsmaskinen. Du kan anropa klienten från kommandoradsterminalen genom att ge ett adb-kommando. Ett bakgrundsprogram som kör kommandon på enheten. Bakgrundsprogrammet körs som en bakgrundsprocess på varje emulator eller enhetsinstans. Servern, som hanterar kommunikationen mellan klienten och bakgrundsprogrammet. Servern körs som en bakgrundsprocess på utvecklingsmaskinen. Du kanHitta adb-verktyget i android_sdk/platform-tools/。
Fillista:
Mapp-PATH-lista Volymens serienummer är 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 │ MEDDELANDE │ systrace.py │ UPSTREAM_REVISION │ └─katapult ├─gemensamt │ ├─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 │ │ │ LICENS │ │ │ README.md │ │ │ │ │ ├─bin │ │ │ run_eslint │ │ │ run_tests │ │ │ │ │ ├─eslint │ │ │ smoke_test.py │ │ │ __init__.py │ │ │ │ │ ├─regler │ │ │ catapult-camelcase.js │ │ │ │ │ └─tester │ │ 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 │ │ │ ├─refaktor │ │ │ 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 │ │ uppdatering │ │ │ └─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 │ ├─djävulen │ │ PRESUBMIT.py │ │ pylintrc │ │ README.md │ │ │ ├─bin │ │ generate_md_docs │ │ run_py_devicetests │ │ run_py_tests │ │ │ ├─Djävul │ │ │ 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 │ │ │ │ │ │ │ ├─konstanter │ │ │ │ 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 │ │ │ │ │ │ │ ├─verktyg │ │ │ │ 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 │ │ │ │ │ ├─konstanter │ │ │ 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 │ │ │ │ │ ├─lat │ │ │ 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.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 │ │ KOPIERING │ │ perf_to_tracing.py │ │ README.chromium │ │ │ └─systrace │ │ FÖRFATTARE │ │ decorators.py │ │ LICENS │ │ 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 │ │ profil-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 │ │ │ │ │ ├─verktyg │ │ │ 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 │ LICENS │ README.chromium │ zipfile_2_7_13.py │ └─spårning │ tracing_project.py │ └─spårning │ __init__.py │ └─trace_data trace_data.py trace_data_unittest.py __init__.py
Google officiell nedladdningsadress:
Linux:
https://dl.google.com/android/repository/platform-tools-latest-linux.zip
Mac:
https://dl.google.com/android/repository/platform-tools-latest-darwin.zip
Windows:
https://dl.google.com/android/repository/platform-tools-latest-windows.zip
Eftersom många inte kan öppna Google har jag redan laddat ner det när jag bläddrade igenom det.
Ladda ner den ursprungliga officiella filen:
Turister, om ni vill se det dolda innehållet i detta inlägg, snälla Svar
|