読者です 読者をやめる 読者になる 読者になる

Android Studio無しでadb等のCLIツールだけ導入する

 Android端末をPCのコマンドラインから操作できるツールとしてadb(android debug bridge)がありますが、従来はAndroidの開発環境であるAndroid Studioと共に導入されていました。が、以下の記事によれば、CLIツールだけ単独で入手可能になったようです。
Google、Android Studio無しでもADBやFastbootが利用できるPlatform-Toolsを個別パッケージで公開 | juggly.cn
 

 上記記事のソースとされているGoogle+の投稿を確認すると、投稿者はGoogle公式アカウントでもGoogleの中の人でもなさそうです。
plus.google.com

 また検索してみた限りでは本件について、Googleによる公式発表も見当たりません。

 海外記事では以下が見つかりましたが、こちらのソースも上記のGoogle+の投稿となっています。
Google makes ADB, fastboot, and other platform tools available without full SDK or Android Studio download

 ということで、Googleが正式にこの形態で最新版を提供し続けるのかは不明確ですが、とりあえず現時点ではCLIツール単独でダウンロード可能な事は確認できました。
 

中身

 以降、Windows版(platform-tools-latest-windows.zip)を例に記載します。
 上記ダウンロード元より得られるZIPファイルの内部は以下の通り。

Path = platform-tools-latest-windows.zip
Type = zip
Physical Size = 3573642

   Date      Time    Attr         Size   Compressed  Name
------------------- ----- ------------ ------------  ------------------------
2016-12-17 05:27:00 .....      1489920       621474  platform-tools\adb.exe
2016-12-17 05:27:00 .....        97792        49374  platform-tools\AdbWinApi.dll
2016-12-17 05:27:00 .....        62976        32276  platform-tools\AdbWinUsbApi.dll
2016-12-17 05:26:59 D....            0            0  platform-tools\api
2016-12-17 05:26:59 .....      3539324       406317  platform-tools\api\api-versions.xml
2016-12-17 05:26:59 .....      1138352        68072  platform-tools\api\annotations.zip
2016-12-17 05:27:00 .....       147456        59218  platform-tools\dmtracedump.exe
2016-12-17 05:27:00 .....       329216       163378  platform-tools\etc1tool.exe
2016-12-17 05:27:00 .....       806912       325257  platform-tools\fastboot.exe
2016-12-17 05:27:00 .....        43008        23165  platform-tools\hprof-conv.exe
2016-12-17 05:26:59 D....            0            0  platform-tools\lib64
2016-12-17 05:26:59 .....      1211614       351879  platform-tools\lib64\libc++.so
2016-12-17 05:26:59 .....       695380        63738  platform-tools\NOTICE.txt
2016-12-17 05:26:59 .....           39           39  platform-tools\source.properties
2016-12-17 05:27:00 .....       726528       401549  platform-tools\sqlite3.exe
2016-12-17 05:26:59 D....            0            0  platform-tools\systrace
2016-12-17 05:26:59 .....         1456          686  platform-tools\systrace\systrace.py
2016-12-17 05:26:59 .....           41           41  platform-tools\systrace\UPSTREAM_REVISION
2016-12-17 05:26:59 D....            0            0  platform-tools\systrace\catapult
2016-12-17 05:26:59 D....            0            0  platform-tools\systrace\catapult\common
2016-12-17 05:26:59 D....            0            0  platform-tools\systrace\catapult\common\py_utils
2016-12-17 05:26:59 D....            0            0  platform-tools\systrace\catapult\common\py_utils\py_utils
2016-12-17 05:26:59 .....         5590         1377  platform-tools\systrace\catapult\common\py_utils\py_utils\lock_unittest.py
2016-12-17 05:26:59 .....          828          460  platform-tools\systrace\catapult\common\py_utils\py_utils\xvfb.py
2016-12-17 05:26:59 .....         1346          606  platform-tools\systrace\catapult\common\py_utils\py_utils\dependency_util.py
2016-12-17 05:26:59 .....        13314         4570  platform-tools\systrace\catapult\common\py_utils\py_utils\cloud_storage.py
2016-12-17 05:26:59 .....          772          422  platform-tools\systrace\catapult\common\py_utils\py_utils\py_utils_unittest.py
2016-12-17 05:26:59 .....          243          186  platform-tools\systrace\catapult\common\py_utils\py_utils\cloud_storage_global_lock.py
2016-12-17 05:26:59 .....         9653         2334  platform-tools\systrace\catapult\common\py_utils\py_utils\cloud_storage_unittest.py
2016-12-17 05:26:59 .....         2350          752  platform-tools\systrace\catapult\common\py_utils\py_utils\binary_manager.py
2016-12-17 05:26:59 .....         3561         1223  platform-tools\systrace\catapult\common\py_utils\py_utils\lock.py
2016-12-17 05:26:59 D....            0            0  platform-tools\systrace\catapult\common\py_utils\py_utils\refactor
2016-12-17 05:26:59 .....         3173         1219  platform-tools\systrace\catapult\common\py_utils\py_utils\refactor\offset_token.py
2016-12-17 05:26:59 D....            0            0  platform-tools\systrace\catapult\common\py_utils\py_utils\refactor\annotated_symbol
2016-12-17 05:26:59 .....         2042          810  platform-tools\systrace\catapult\common\py_utils\py_utils\refactor\annotated_symbol\reference.py
2016-12-17 05:26:59 .....         1073          474  platform-tools\systrace\catapult\common\py_utils\py_utils\refactor\annotated_symbol\base_symbol.py
2016-12-17 05:26:59 .....         1301          533  platform-tools\systrace\catapult\common\py_utils\py_utils\refactor\annotated_symbol\function_definition.py
2016-12-17 05:26:59 .....         1890          781  platform-tools\systrace\catapult\common\py_utils\py_utils\refactor\annotated_symbol\__init__.py
2016-12-17 05:26:59 .....         8147         1868  platform-tools\systrace\catapult\common\py_utils\py_utils\refactor\annotated_symbol\import_statement.py
2016-12-17 05:26:59 .....         1297          529  platform-tools\systrace\catapult\common\py_utils\py_utils\refactor\annotated_symbol\class_definition.py
2016-12-17 05:26:59 .....         6717         2176  platform-tools\systrace\catapult\common\py_utils\py_utils\refactor\snippet.py
2016-12-17 05:26:59 .....         1000          450  platform-tools\systrace\catapult\common\py_utils\py_utils\refactor\module.py
2016-12-17 05:26:59 .....          805          419  platform-tools\systrace\catapult\common\py_utils\py_utils\refactor\__init__.py
2016-12-17 05:26:59 D....            0            0  platform-tools\systrace\catapult\common\py_utils\py_utils\refactor_util
2016-12-17 05:26:59 .....         3498         1161  platform-tools\systrace\catapult\common\py_utils\py_utils\refactor_util\move.py
2016-12-17 05:26:59 .....            0            0  platform-tools\systrace\catapult\common\py_utils\py_utils\refactor_util\__init__.py
2016-12-17 05:26:59 .....         2977         1346  platform-tools\systrace\catapult\common\py_utils\py_utils\__init__.py
2016-12-17 05:26:59 .....         7085         1189  platform-tools\systrace\catapult\common\py_utils\py_utils\chrome_binaries.json
2016-12-17 05:26:59 .....         8637         1636  platform-tools\systrace\catapult\common\py_utils\py_utils\binary_manager_unittest.py
2016-12-17 05:26:59 D....            0            0  platform-tools\systrace\catapult\common\py_utils\py_utils\test_data
2016-12-17 05:26:59 .....           29           29  platform-tools\systrace\catapult\common\py_utils\py_utils\test_data\foo.txt
2016-12-17 05:26:59 .....         1048          417  platform-tools\systrace\catapult\common\py_utils\PRESUBMIT.py
2016-12-17 05:26:59 D....            0            0  platform-tools\systrace\catapult\common\bin
2016-12-17 05:26:59 .....          928          488  platform-tools\systrace\catapult\common\bin\run_tests
2016-12-17 05:26:59 D....            0            0  platform-tools\systrace\catapult\common\py_trace_event
2016-12-17 05:26:59 .....          329          207  platform-tools\systrace\catapult\common\py_trace_event\README.txt
2016-12-17 05:26:59 D....            0            0  platform-tools\systrace\catapult\common\py_trace_event\py_trace_event
2016-12-17 05:26:59 .....         4210         1095  platform-tools\systrace\catapult\common\py_trace_event\py_trace_event\trace_time_unittest.py
2016-12-17 05:26:59 .....         4854         1716  platform-tools\systrace\catapult\common\py_trace_event\py_trace_event\run_tests
2016-12-17 05:26:59 .....         8171         2960  platform-tools\systrace\catapult\common\py_trace_event\py_trace_event\trace_event.py
2016-12-17 05:26:59 .....         7242         2370  platform-tools\systrace\catapult\common\py_trace_event\py_trace_event\trace_time.py
2016-12-17 05:26:59 D....            0            0  platform-tools\systrace\catapult\common\py_trace_event\py_trace_event\trace_event_impl
2016-12-17 05:26:59 .....         4692         1595  platform-tools\systrace\catapult\common\py_trace_event\py_trace_event\trace_event_impl\log.py
2016-12-17 05:26:59 .....         2108          783  platform-tools\systrace\catapult\common\py_trace_event\py_trace_event\trace_event_impl\multiprocessing_shim.py
2016-12-17 05:26:59 .....         2669          977  platform-tools\systrace\catapult\common\py_trace_event\py_trace_event\trace_event_impl\decorators.py
2016-12-17 05:26:59 .....         1758          634  platform-tools\systrace\catapult\common\py_trace_event\py_trace_event\trace_event_impl\decorators_test.py
2016-12-17 05:26:59 .....          258          182  platform-tools\systrace\catapult\common\py_trace_event\py_trace_event\trace_event_impl\__init__.py
2016-12-17 05:26:59 .....         2945         1060  platform-tools\systrace\catapult\common\py_trace_event\py_trace_event\trace_event_impl\parsed_trace_events.py
2016-12-17 05:26:59 .....          538          312  platform-tools\systrace\catapult\common\py_trace_event\py_trace_event\trace_event_impl\meta_class.py
2016-12-17 05:26:59 .....         1187          550  platform-tools\systrace\catapult\common\py_trace_event\py_trace_event\trace_event_impl\trace_test.py
2016-12-17 05:26:59 .....         1356          540  platform-tools\systrace\catapult\common\py_trace_event\py_trace_event\trace_event_impl\log_io_test.py
2016-12-17 05:26:59 .....        16471         1998  platform-tools\systrace\catapult\common\py_trace_event\py_trace_event\trace_event_unittest.py
2016-12-17 05:26:59 .....          212          172  platform-tools\systrace\catapult\common\py_trace_event\py_trace_event\__init__.py
2016-12-17 05:26:59 .....          381          269  platform-tools\systrace\catapult\common\py_trace_event\py_trace_event\setup.py
2016-12-17 05:26:59 D....            0            0  platform-tools\systrace\catapult\common\battor
2016-12-17 05:26:59 D....            0            0  platform-tools\systrace\catapult\common\battor\bin
2016-12-17 05:26:59 .....          576          335  platform-tools\systrace\catapult\common\battor\bin\run_py_tests
2016-12-17 05:26:59 .....         1832          806  platform-tools\systrace\catapult\common\battor\bin\upload_battor_binaries.py
2016-12-17 05:26:59 D....            0            0  platform-tools\systrace\catapult\common\battor\battor
2016-12-17 05:26:59 .....         1542          375  platform-tools\systrace\catapult\common\battor\battor\battor_binary_dependencies.json
2016-12-17 05:26:59 .....         3341         1362  platform-tools\systrace\catapult\common\battor\battor\battor_wrapper_devicetest.py
2016-12-17 05:26:59 .....        10362         1804  platform-tools\systrace\catapult\common\battor\battor\battor_wrapper_unittest.py
2016-12-17 05:26:59 .....        11406         3458  platform-tools\systrace\catapult\common\battor\battor\battor_wrapper.py
2016-12-17 05:26:59 .....         1025          465  platform-tools\systrace\catapult\common\battor\battor\__init__.py
2016-12-17 05:26:59 .....          241          184  platform-tools\systrace\catapult\common\battor\battor\battor_error.py
2016-12-17 05:26:59 D....            0            0  platform-tools\systrace\catapult\common\node_runner
2016-12-17 05:26:59 D....            0            0  platform-tools\systrace\catapult\common\node_runner\bin
2016-12-17 05:26:59 .....          661          375  platform-tools\systrace\catapult\common\node_runner\bin\test_node_for_smoke
2016-12-17 05:26:59 D....            0            0  platform-tools\systrace\catapult\common\node_runner\node_runner
2016-12-17 05:26:59 .....         1020          367  platform-tools\systrace\catapult\common\node_runner\node_runner\node_binaries.json
2016-12-17 05:26:59 .....         2166          888  platform-tools\systrace\catapult\common\node_runner\node_runner\node_util.py
2016-12-17 05:26:59 .....          546          307  platform-tools\systrace\catapult\common\node_runner\node_runner\package.json
2016-12-17 05:26:59 .....          163          136  platform-tools\systrace\catapult\common\node_runner\node_runner\__init__.py
2016-12-17 05:26:59 D....            0            0  platform-tools\systrace\catapult\common\lab
2016-12-17 05:26:59 .....         2666         1180  platform-tools\systrace\catapult\common\lab\commits.py
2016-12-17 05:26:59 .....          612          368  platform-tools\systrace\catapult\common\lab\keychain_unlock.sh
2016-12-17 05:26:59 .....         2477         1041  platform-tools\systrace\catapult\common\lab\hardware.py
2016-12-17 05:26:59 D....            0            0  platform-tools\systrace\catapult\devil
2016-12-17 05:26:59 D....            0            0  platform-tools\systrace\catapult\devil\docs
2016-12-17 05:26:59 .....         1455          721  platform-tools\systrace\catapult\devil\docs\persistent_device_list.md
2016-12-17 05:26:59 .....         2280          953  platform-tools\systrace\catapult\devil\docs\device_blacklist.md
2016-12-17 05:26:59 D....            0            0  platform-tools\systrace\catapult\devil\bin
2016-12-17 05:26:59 .....          567          334  platform-tools\systrace\catapult\devil\bin\run_py_tests
2016-12-17 05:26:59 .....          851          449  platform-tools\systrace\catapult\devil\bin\run_py_devicetests
2016-12-17 05:26:59 D....            0            0  platform-tools\systrace\catapult\devil\devil
2016-12-17 05:26:59 D....            0            0  platform-tools\systrace\catapult\devil\devil\utils
2016-12-17 05:26:59 .....         1212          525  platform-tools\systrace\catapult\devil\devil\utils\zip_utils.py
2016-12-17 05:26:59 D....            0            0  platform-tools\systrace\catapult\devil\devil\utils\lazy
2016-12-17 05:26:59 .....          835          417  platform-tools\systrace\catapult\devil\devil\utils\lazy\weak_constant.py
2016-12-17 05:26:59 .....          219          175  platform-tools\systrace\catapult\devil\devil\utils\lazy\__init__.py
2016-12-17 05:26:59 .....         5062         1396  platform-tools\systrace\catapult\devil\devil\utils\parallelizer_test.py
2016-12-17 05:26:59 .....         2811          774  platform-tools\systrace\catapult\devil\devil\utils\reraiser_thread_unittest.py
2016-12-17 05:26:59 .....         2402          965  platform-tools\systrace\catapult\devil\devil\utils\geometry.py
2016-12-17 05:26:59 .....          907          465  platform-tools\systrace\catapult\devil\devil\utils\file_utils.py
2016-12-17 05:26:59 .....         5597         1414  platform-tools\systrace\catapult\devil\devil\utils\mock_calls_test.py
2016-12-17 05:26:59 .....         6593         2236  platform-tools\systrace\catapult\devil\devil\utils\mock_calls.py
2016-12-17 05:26:59 .....         5612         1631  platform-tools\systrace\catapult\devil\devil\utils\usb_hubs.py
2016-12-17 05:26:59 .....         2049          803  platform-tools\systrace\catapult\devil\devil\utils\markdown.py
2016-12-17 05:26:59 .....        16200         4870  platform-tools\systrace\catapult\devil\devil\utils\find_usb_devices.py
2016-12-17 05:26:59 .....        13821         3245  platform-tools\systrace\catapult\devil\devil\utils\find_usb_devices_test.py
2016-12-17 05:26:59 .....         4441         1068  platform-tools\systrace\catapult\devil\devil\utils\cmd_helper_test.py
2016-12-17 05:26:59 .....         1703          601  platform-tools\systrace\catapult\devil\devil\utils\geometry_test.py
2016-12-17 05:26:59 .....         1463          666  platform-tools\systrace\catapult\devil\devil\utils\run_tests_helper.py
2016-12-17 05:26:59 .....         2010          687  platform-tools\systrace\catapult\devil\devil\utils\timeout_retry_unittest.py
2016-12-17 05:26:59 .....         3181         1222  platform-tools\systrace\catapult\devil\devil\utils\lsusb.py
2016-12-17 05:26:59 .....        11913         3700  platform-tools\systrace\catapult\devil\devil\utils\battor_device_mapping.py
2016-12-17 05:26:59 .....         7497         2372  platform-tools\systrace\catapult\devil\devil\utils\reraiser_thread.py
2016-12-17 05:26:59 .....        10126         2982  platform-tools\systrace\catapult\devil\devil\utils\cmd_helper.py
2016-12-17 05:26:59 .....          536          321  platform-tools\systrace\catapult\devil\devil\utils\host_utils.py
2016-12-17 05:26:59 .....          852          403  platform-tools\systrace\catapult\devil\devil\utils\signal_handler.py
2016-12-17 05:26:59 .....         9687         1824  platform-tools\systrace\catapult\devil\devil\utils\lsusb_test.py
2016-12-17 05:26:59 .....         1888          801  platform-tools\systrace\catapult\devil\devil\utils\update_mapping.py
2016-12-17 05:26:59 .....         5906         2115  platform-tools\systrace\catapult\devil\devil\utils\timeout_retry.py
2016-12-17 05:26:59 .....         6965         1986  platform-tools\systrace\catapult\devil\devil\utils\parallelizer.py
2016-12-17 05:26:59 .....          797          417  platform-tools\systrace\catapult\devil\devil\utils\__init__.py
2016-12-17 05:26:59 D....            0            0  platform-tools\systrace\catapult\devil\devil\utils\test
2016-12-17 05:26:59 D....            0            0  platform-tools\systrace\catapult\devil\devil\utils\test\data
2016-12-17 05:26:59 .....          127           54  platform-tools\systrace\catapult\devil\devil\utils\test\data\test_serial_map.json
2016-12-17 05:26:59 .....         1177          503  platform-tools\systrace\catapult\devil\devil\utils\watchdog_timer.py
2016-12-17 05:26:59 .....         2974         1089  platform-tools\systrace\catapult\devil\devil\utils\reset_usb.py
2016-12-17 05:26:59 .....         4909         1805  platform-tools\systrace\catapult\devil\devil\devil_env.py
2016-12-17 05:26:59 .....          466          328  platform-tools\systrace\catapult\devil\devil\README.md
2016-12-17 05:26:59 .....          533          313  platform-tools\systrace\catapult\devil\devil\base_error.py
2016-12-17 05:26:59 .....         4531          810  platform-tools\systrace\catapult\devil\devil\devil_dependencies.json
2016-12-17 05:26:59 D....            0            0  platform-tools\systrace\catapult\devil\devil\constants
2016-12-17 05:26:59 .....          241          194  platform-tools\systrace\catapult\devil\devil\constants\exit_codes.py
2016-12-17 05:26:59 .....          162          136  platform-tools\systrace\catapult\devil\devil\constants\__init__.py
2016-12-17 05:26:59 .....          162          136  platform-tools\systrace\catapult\devil\devil\__init__.py
2016-12-17 05:26:59 .....         1978          711  platform-tools\systrace\catapult\devil\devil\devil_env_test.py
2016-12-17 05:26:59 D....            0            0  platform-tools\systrace\catapult\devil\devil\android
2016-12-17 05:26:59 .....        13006         3496  platform-tools\systrace\catapult\devil\devil\android\forwarder.py
2016-12-17 05:26:59 .....         1370          591  platform-tools\systrace\catapult\devil\devil\android\device_test_case.py
2016-12-17 05:26:59 .....         9258         3024  platform-tools\systrace\catapult\devil\devil\android\fastboot_utils.py
2016-12-17 05:26:59 .....         7068         2307  platform-tools\systrace\catapult\devil\devil\android\flag_changer.py
2016-12-17 05:26:59 .....         4641         1228  platform-tools\systrace\catapult\devil\devil\android\device_errors.py
2016-12-17 05:26:59 .....        92216        23096  platform-tools\systrace\catapult\devil\devil\android\device_utils.py
2016-12-17 05:26:59 D....            0            0  platform-tools\systrace\catapult\devil\devil\android\tools
2016-12-17 05:26:59 .....         1951          842  platform-tools\systrace\catapult\devil\devil\android\tools\adb_run_shell_cmd.py
2016-12-17 05:26:59 .....         1837          825  platform-tools\systrace\catapult\devil\devil\android\tools\screenshot.py
2016-12-17 05:26:59 .....        21128         6101  platform-tools\systrace\catapult\devil\devil\android\tools\provision_devices.py
2016-12-17 05:26:59 .....        10697         3203  platform-tools\systrace\catapult\devil\devil\android\tools\device_status.py
2016-12-17 05:26:59 .....         1867          567  platform-tools\systrace\catapult\devil\devil\android\tools\script_common_test.py
2016-12-17 05:26:59 .....         5968         2204  platform-tools\systrace\catapult\devil\devil\android\tools\video_recorder.py
2016-12-17 05:26:59 .....         1027          436  platform-tools\systrace\catapult\devil\devil\android\tools\script_common.py
2016-12-17 05:26:59 .....          162          136  platform-tools\systrace\catapult\devil\devil\android\tools\__init__.py
2016-12-17 05:26:59 .....         7318         2233  platform-tools\systrace\catapult\devil\devil\android\tools\device_recovery.py
2016-12-17 05:26:59 .....         3475         1315  platform-tools\systrace\catapult\devil\devil\android\tools\keyboard.py
2016-12-17 05:26:59 .....         2440          945  platform-tools\systrace\catapult\devil\devil\android\tools\flash_device.py
2016-12-17 05:26:59 D....            0            0  platform-tools\systrace\catapult\devil\devil\android\sdk
2016-12-17 05:26:59 .....         6297         1649  platform-tools\systrace\catapult\devil\devil\android\sdk\shared_prefs_test.py
2016-12-17 05:26:59 .....         5005         1618  platform-tools\systrace\catapult\devil\devil\android\sdk\gce_adb_wrapper.py
2016-12-17 05:26:59 .....        11449         3256  platform-tools\systrace\catapult\devil\devil\android\sdk\shared_prefs.py
2016-12-17 05:26:59 .....         7554         2139  platform-tools\systrace\catapult\devil\devil\android\sdk\adb_compatibility_devicetest.py
2016-12-17 05:26:59 .....          899          516  platform-tools\systrace\catapult\devil\devil\android\sdk\dexdump.py
2016-12-17 05:26:59 .....         3720         1299  platform-tools\systrace\catapult\devil\devil\android\sdk\adb_wrapper_devicetest.py
2016-12-17 05:26:59 .....         3235         1227  platform-tools\systrace\catapult\devil\devil\android\sdk\fastboot.py
2016-12-17 05:26:59 .....          410          289  platform-tools\systrace\catapult\devil\devil\android\sdk\version_codes.py
2016-12-17 05:26:59 .....        30983         7916  platform-tools\systrace\catapult\devil\devil\android\sdk\adb_wrapper.py
2016-12-17 05:26:59 .....         1940          815  platform-tools\systrace\catapult\devil\devil\android\sdk\split_select.py
2016-12-17 05:26:59 .....         1330          539  platform-tools\systrace\catapult\devil\devil\android\sdk\build_tools.py
2016-12-17 05:26:59 .....         3825         1328  platform-tools\systrace\catapult\devil\devil\android\sdk\intent.py
2016-12-17 05:26:59 .....         1199          622  platform-tools\systrace\catapult\devil\devil\android\sdk\aapt.py
2016-12-17 05:26:59 .....          970          435  platform-tools\systrace\catapult\devil\devil\android\sdk\keyevent.py
2016-12-17 05:26:59 .....          273          203  platform-tools\systrace\catapult\devil\devil\android\sdk\__init__.py
2016-12-17 05:26:59 D....            0            0  platform-tools\systrace\catapult\devil\devil\android\sdk\test
2016-12-17 05:26:59 D....            0            0  platform-tools\systrace\catapult\devil\devil\android\sdk\test\data
2016-12-17 05:26:59 .....           14           14  platform-tools\systrace\catapult\devil\devil\android\sdk\test\data\push_file.txt
2016-12-17 05:26:59 D....            0            0  platform-tools\systrace\catapult\devil\devil\android\sdk\test\data\push_directory
2016-12-17 05:26:59 .....           17           17  platform-tools\systrace\catapult\devil\devil\android\sdk\test\data\push_directory\push_directory_contents.txt
2016-12-17 05:26:59 .....         1234          691  platform-tools\systrace\catapult\devil\devil\android\device_signal.py
2016-12-17 05:26:59 .....         2215          825  platform-tools\systrace\catapult\devil\devil\android\device_blacklist.py
2016-12-17 05:26:59 .....         6241         2374  platform-tools\systrace\catapult\devil\devil\android\ports.py
2016-12-17 05:26:59 .....         1869          924  platform-tools\systrace\catapult\devil\devil\android\device_temp_file.py
2016-12-17 05:26:59 .....         6114         1632  platform-tools\systrace\catapult\devil\devil\android\decorators.py
2016-12-17 05:26:59 .....         1051          458  platform-tools\systrace\catapult\devil\devil\android\device_blacklist_test.py
2016-12-17 05:26:59 .....         8228         1604  platform-tools\systrace\catapult\devil\devil\android\device_utils_devicetest.py
2016-12-17 05:26:59 .....         1643          739  platform-tools\systrace\catapult\devil\devil\android\device_list.py
2016-12-17 05:26:59 D....            0            0  platform-tools\systrace\catapult\devil\devil\android\perf
2016-12-17 05:26:59 .....         6494         2359  platform-tools\systrace\catapult\devil\devil\android\perf\surface_stats_collector.py
2016-12-17 05:26:59 .....         6171         2128  platform-tools\systrace\catapult\devil\devil\android\perf\perf_control.py
2016-12-17 05:26:59 .....          517          325  platform-tools\systrace\catapult\devil\devil\android\perf\cache_control.py
2016-12-17 05:26:59 .....         4334         1264  platform-tools\systrace\catapult\devil\devil\android\perf\thermal_throttle.py
2016-12-17 05:26:59 .....          162          136  platform-tools\systrace\catapult\devil\devil\android\perf\__init__.py
2016-12-17 05:26:59 .....         1109          559  platform-tools\systrace\catapult\devil\devil\android\perf\perf_control_devicetest.py
2016-12-17 05:26:59 .....         7134         1983  platform-tools\systrace\catapult\devil\devil\android\app_ui_test.py
2016-12-17 05:26:59 D....            0            0  platform-tools\systrace\catapult\devil\devil\android\valgrind_tools
2016-12-17 05:26:59 .....         1298          608  platform-tools\systrace\catapult\devil\devil\android\valgrind_tools\base_tool.py
2016-12-17 05:26:59 .....          674          392  platform-tools\systrace\catapult\devil\devil\android\valgrind_tools\__init__.py
2016-12-17 05:26:59 .....        13296         1839  platform-tools\systrace\catapult\devil\devil\android\decorators_test.py
2016-12-17 05:26:59 .....       107759        14364  platform-tools\systrace\catapult\devil\devil\android\device_utils_test.py
2016-12-17 05:26:59 .....         8435         2748  platform-tools\systrace\catapult\devil\devil\android\logcat_monitor.py
2016-12-17 05:26:59 .....         8539         3012  platform-tools\systrace\catapult\devil\devil\android\app_ui.py
2016-12-17 05:26:59 .....         4253         1642  platform-tools\systrace\catapult\devil\devil\android\md5sum.py
2016-12-17 05:26:59 .....        13966         2424  platform-tools\systrace\catapult\devil\devil\android\fastboot_utils_test.py
2016-12-17 05:26:59 D....            0            0  platform-tools\systrace\catapult\devil\devil\android\constants
2016-12-17 05:26:59 .....         2074          460  platform-tools\systrace\catapult\devil\devil\android\constants\chrome.py
2016-12-17 05:26:59 .....          203          170  platform-tools\systrace\catapult\devil\devil\android\constants\file_system.py
2016-12-17 05:26:59 .....          162          136  platform-tools\systrace\catapult\devil\devil\android\constants\__init__.py
2016-12-17 05:26:59 .....         8663         3076  platform-tools\systrace\catapult\devil\devil\android\settings.py
2016-12-17 05:26:59 .....        10335         1592  platform-tools\systrace\catapult\devil\devil\android\md5sum_test.py
2016-12-17 05:26:59 .....          162          136  platform-tools\systrace\catapult\devil\devil\android\__init__.py
2016-12-17 05:26:59 .....        27454         3335  platform-tools\systrace\catapult\devil\devil\android\battery_utils_test.py
2016-12-17 05:26:59 .....        24153         5595  platform-tools\systrace\catapult\devil\devil\android\battery_utils.py
2016-12-17 05:26:59 .....         8737         1734  platform-tools\systrace\catapult\devil\devil\android\logcat_monitor_test.py
2016-12-17 05:26:59 .....         4086         1346  platform-tools\systrace\catapult\devil\devil\android\apk_helper.py
2016-12-17 05:26:59 .....         1827          803  platform-tools\systrace\catapult\devil\devil\android\install_commands.py
2016-12-17 05:26:59 .....         1821          885  platform-tools\systrace\catapult\devil\pylintrc
2016-12-17 05:26:59 .....         2624          992  platform-tools\systrace\catapult\devil\PRESUBMIT.py
2016-12-17 05:26:59 D....            0            0  platform-tools\systrace\catapult\dependency_manager
2016-12-17 05:26:59 D....            0            0  platform-tools\systrace\catapult\dependency_manager\bin
2016-12-17 05:26:59 .....          800          440  platform-tools\systrace\catapult\dependency_manager\bin\run_tests
2016-12-17 05:26:59 .....         1825          889  platform-tools\systrace\catapult\dependency_manager\pylintrc
2016-12-17 05:26:59 D....            0            0  platform-tools\systrace\catapult\dependency_manager\dependency_manager
2016-12-17 05:26:59 .....        77301         5291  platform-tools\systrace\catapult\dependency_manager\dependency_manager\base_config_unittest.py
2016-12-17 05:26:59 .....         2732          960  platform-tools\systrace\catapult\dependency_manager\dependency_manager\archive_info.py
2016-12-17 05:26:59 .....         3441         1406  platform-tools\systrace\catapult\dependency_manager\dependency_manager\dependency_manager_util.py
2016-12-17 05:26:59 .....        15647         4086  platform-tools\systrace\catapult\dependency_manager\dependency_manager\base_config.py
2016-12-17 05:26:59 .....        22469         2363  platform-tools\systrace\catapult\dependency_manager\dependency_manager\dependency_manager_unittest.py
2016-12-17 05:26:59 .....         4156         1284  platform-tools\systrace\catapult\dependency_manager\dependency_manager\uploader.py
2016-12-17 05:26:59 .....         1264          495  platform-tools\systrace\catapult\dependency_manager\dependency_manager\local_path_info.py
2016-12-17 05:26:59 .....         4045         1381  platform-tools\systrace\catapult\dependency_manager\dependency_manager\cloud_storage_info.py
2016-12-17 05:26:59 .....         9983         1610  platform-tools\systrace\catapult\dependency_manager\dependency_manager\cloud_storage_info_unittest.py
2016-12-17 05:26:59 .....         4661         1447  platform-tools\systrace\catapult\dependency_manager\dependency_manager\dependency_info.py
2016-12-17 05:26:59 .....         7758         1645  platform-tools\systrace\catapult\dependency_manager\dependency_manager\dependency_manager_util_unittest.py
2016-12-17 05:26:59 .....        10318         2283  platform-tools\systrace\catapult\dependency_manager\dependency_manager\manager.py
2016-12-17 05:26:59 .....        11213         1169  platform-tools\systrace\catapult\dependency_manager\dependency_manager\dependency_info_unittest.py
2016-12-17 05:26:59 .....         4169          829  platform-tools\systrace\catapult\dependency_manager\dependency_manager\uploader_unittest.py
2016-12-17 05:26:59 .....         1695          618  platform-tools\systrace\catapult\dependency_manager\dependency_manager\exceptions.py
2016-12-17 05:26:59 .....         1447          576  platform-tools\systrace\catapult\dependency_manager\dependency_manager\__init__.py
2016-12-17 05:26:59 .....          985          409  platform-tools\systrace\catapult\dependency_manager\PRESUBMIT.py
2016-12-17 05:26:59 D....            0            0  platform-tools\systrace\catapult\systrace
2016-12-17 05:26:59 .....          376          262  platform-tools\systrace\catapult\systrace\README.md
2016-12-17 05:26:59 D....            0            0  platform-tools\systrace\catapult\systrace\bin
2016-12-17 05:26:59 .....         1338          692  platform-tools\systrace\catapult\systrace\bin\run_tests
2016-12-17 05:26:59 .....         3852         1441  platform-tools\systrace\catapult\systrace\bin\adb_profile_chrome_startup
2016-12-17 05:26:59 .....          430          288  platform-tools\systrace\catapult\systrace\bin\systrace
2016-12-17 05:26:59 .....          407          272  platform-tools\systrace\catapult\systrace\bin\adb_profile_chrome
2016-12-17 05:26:59 .....         1807          880  platform-tools\systrace\catapult\systrace\pylintrc
2016-12-17 05:26:59 D....            0            0  platform-tools\systrace\catapult\systrace\profile_chrome
2016-12-17 05:26:59 .....         1272          528  platform-tools\systrace\catapult\systrace\profile_chrome\perf_tracing_agent_unittest.py
2016-12-17 05:26:59 .....         5662         2084  platform-tools\systrace\catapult\systrace\profile_chrome\atrace_tracing_agent.py
2016-12-17 05:26:59 .....          852          464  platform-tools\systrace\catapult\systrace\profile_chrome\ddms_tracing_agent_unittest.py
2016-12-17 05:26:59 .....         9275         3163  platform-tools\systrace\catapult\systrace\profile_chrome\perf_tracing_agent.py
2016-12-17 05:26:59 .....           98           89  platform-tools\systrace\catapult\systrace\profile_chrome\run_tests
2016-12-17 05:26:59 .....         4382         1573  platform-tools\systrace\catapult\systrace\profile_chrome\profiler.py
2016-12-17 05:26:59 .....          624          368  platform-tools\systrace\catapult\systrace\profile_chrome\ui.py
2016-12-17 05:26:59 .....         9046         2577  platform-tools\systrace\catapult\systrace\profile_chrome\chrome_tracing_agent.py
2016-12-17 05:26:59 .....         6138         2070  platform-tools\systrace\catapult\systrace\profile_chrome\main.py
2016-12-17 05:26:59 .....          994          522  platform-tools\systrace\catapult\systrace\profile_chrome\chrome_startup_tracing_agent_unittest.py
2016-12-17 05:26:59 .....         1815          563  platform-tools\systrace\catapult\systrace\profile_chrome\profiler_unittest.py
2016-12-17 05:26:59 .....         4504         1573  platform-tools\systrace\catapult\systrace\profile_chrome\chrome_startup_tracing_agent.py
2016-12-17 05:26:59 .....          701          346  platform-tools\systrace\catapult\systrace\profile_chrome\flags.py
2016-12-17 05:26:59 .....         1807          720  platform-tools\systrace\catapult\systrace\profile_chrome\fake_agent_2.py
2016-12-17 05:26:59 .....         1075          464  platform-tools\systrace\catapult\systrace\profile_chrome\util.py
2016-12-17 05:26:59 .....         1440          613  platform-tools\systrace\catapult\systrace\profile_chrome\agents_unittest.py
2016-12-17 05:26:59 .....         1294          575  platform-tools\systrace\catapult\systrace\profile_chrome\atrace_tracing_agent_unittest.py
2016-12-17 05:26:59 .....          454          251  platform-tools\systrace\catapult\systrace\profile_chrome\__init__.py
2016-12-17 05:26:59 D....            0            0  platform-tools\systrace\catapult\systrace\profile_chrome\third_party
2016-12-17 05:26:59 .....         6779         2158  platform-tools\systrace\catapult\systrace\profile_chrome\third_party\perf_to_tracing.py
2016-12-17 05:26:59 .....        18092         6806  platform-tools\systrace\catapult\systrace\profile_chrome\third_party\COPYING
2016-12-17 05:26:59 .....          293          211  platform-tools\systrace\catapult\systrace\profile_chrome\third_party\README.chromium
2016-12-17 05:26:59 .....         1992          665  platform-tools\systrace\catapult\systrace\profile_chrome\chrome_tracing_agent_unittest.py
2016-12-17 05:26:59 .....         1814          722  platform-tools\systrace\catapult\systrace\profile_chrome\fake_agent_1.py
2016-12-17 05:26:59 .....         2960         1116  platform-tools\systrace\catapult\systrace\profile_chrome\ddms_tracing_agent.py
2016-12-17 05:26:59 .....         1215          433  platform-tools\systrace\catapult\systrace\PRESUBMIT.py
2016-12-17 05:26:59 D....            0            0  platform-tools\systrace\catapult\systrace\systrace
2016-12-17 05:26:59 .....      2060704       488370  platform-tools\systrace\catapult\systrace\systrace\systrace_trace_viewer.html
2016-12-17 05:26:59 .....          715          367  platform-tools\systrace\catapult\systrace\systrace\README.md
2016-12-17 05:26:59 .....         1057          461  platform-tools\systrace\catapult\systrace\systrace\util_unittest.py
2016-12-17 05:26:59 .....         1563          804  platform-tools\systrace\catapult\systrace\systrace\LICENSE
2016-12-17 05:26:59 .....         5673         1867  platform-tools\systrace\catapult\systrace\systrace\output_generator.py
2016-12-17 05:26:59 D....            0            0  platform-tools\systrace\catapult\systrace\systrace\tracing_agents
2016-12-17 05:26:59 .....         5597         1462  platform-tools\systrace\catapult\systrace\systrace\tracing_agents\atrace_agent_unittest.py
2016-12-17 05:26:59 .....        19279         5872  platform-tools\systrace\catapult\systrace\systrace\tracing_agents\atrace_agent.py
2016-12-17 05:26:59 .....         6028         1995  platform-tools\systrace\catapult\systrace\systrace\tracing_agents\battor_trace_agent.py
2016-12-17 05:26:59 .....         8517         2610  platform-tools\systrace\catapult\systrace\systrace\tracing_agents\ftrace_agent.py
2016-12-17 05:26:59 .....         1920          753  platform-tools\systrace\catapult\systrace\systrace\tracing_agents\atrace_from_file_agent_unittest.py
2016-12-17 05:26:59 .....         4734         1305  platform-tools\systrace\catapult\systrace\systrace\tracing_agents\ftrace_agent_unittest.py
2016-12-17 05:26:59 .....         5470         1236  platform-tools\systrace\catapult\systrace\systrace\tracing_agents\battor_trace_agent_unittest.py
2016-12-17 05:26:59 .....         2688         1060  platform-tools\systrace\catapult\systrace\systrace\tracing_agents\atrace_from_file_agent.py
2016-12-17 05:26:59 .....         2671          987  platform-tools\systrace\catapult\systrace\systrace\tracing_agents\__init__.py
2016-12-17 05:26:59 .....         1238          483  platform-tools\systrace\catapult\systrace\systrace\decorators.py
2016-12-17 05:26:59 .....         2524          901  platform-tools\systrace\catapult\systrace\systrace\systrace_runner.py
2016-12-17 05:26:59 .....        10872         3132  platform-tools\systrace\catapult\systrace\systrace\tracing_controller.py
2016-12-17 05:26:59 .....         4850         1809  platform-tools\systrace\catapult\systrace\systrace\util.py
2016-12-17 05:26:59 .....          470          301  platform-tools\systrace\catapult\systrace\systrace\trace_result.py
2016-12-17 05:26:59 .....         3707         1420  platform-tools\systrace\catapult\systrace\systrace\update_systrace_trace_viewer.py
2016-12-17 05:26:59 .....         1779          783  platform-tools\systrace\catapult\systrace\systrace\prefix.html
2016-12-17 05:26:59 .....         1096          452  platform-tools\systrace\catapult\systrace\systrace\__init__.py
2016-12-17 05:26:59 .....          292          191  platform-tools\systrace\catapult\systrace\systrace\AUTHORS
2016-12-17 05:26:59 .....         1701          711  platform-tools\systrace\catapult\systrace\systrace\monitor_unittest.py
2016-12-17 05:26:59 .....           16           16  platform-tools\systrace\catapult\systrace\systrace\suffix.html
2016-12-17 05:26:59 .....         8824         2935  platform-tools\systrace\catapult\systrace\systrace\run_systrace.py
2016-12-17 05:26:59 .....         4243         1199  platform-tools\systrace\catapult\systrace\systrace\output_generator_unittest.py
2016-12-17 05:26:59 D....            0            0  platform-tools\systrace\catapult\systrace\systrace\test_data
2016-12-17 05:26:59 .....        18282         1758  platform-tools\systrace\catapult\systrace\systrace\test_data\atrace_data_raw
2016-12-17 05:26:59 .....        19529         1788  platform-tools\systrace\catapult\systrace\systrace\test_data\atrace_missing_tgids
2016-12-17 05:26:59 .....       124762        14395  platform-tools\systrace\catapult\systrace\systrace\test_data\atrace_data_with_thread_list
2016-12-17 05:26:59 .....        98550         6616  platform-tools\systrace\catapult\systrace\systrace\test_data\decompressed_atrace_data.txt
2016-12-17 05:26:59 .....        19137         1819  platform-tools\systrace\catapult\systrace\systrace\test_data\atrace_fixed_tgids
2016-12-17 05:26:59 .....       106480        12641  platform-tools\systrace\catapult\systrace\systrace\test_data\atrace_ps_dump
2016-12-17 05:26:59 .....        23205         3696  platform-tools\systrace\catapult\systrace\systrace\test_data\atrace_procfs_dump
2016-12-17 05:26:59 .....        17417         4501  platform-tools\systrace\catapult\systrace\systrace\test_data\atrace_extracted_tgids
2016-12-17 05:26:59 .....        34416         8983  platform-tools\systrace\catapult\systrace\systrace\test_data\atrace_thread_names
2016-12-17 05:26:59 .....          562          562  platform-tools\systrace\catapult\systrace\systrace\test_data\compressed_atrace_data.txt
2016-12-17 05:26:59 .....        18281         1757  platform-tools\systrace\catapult\systrace\systrace\test_data\atrace_data_stripped
2016-12-17 05:26:59 .....        34416         8983  platform-tools\systrace\catapult\systrace\systrace\test_data\atrace_extracted_threads
2016-12-17 05:26:59 .....        47813         7387  platform-tools\systrace\catapult\systrace\systrace\test_data\profile-chrome_systrace_perf_chrome_data
2016-12-17 05:26:59 .....        17999         1814  platform-tools\systrace\catapult\systrace\systrace\test_data\atrace_data
2016-12-17 05:26:59 .....        17989         1761  platform-tools\systrace\catapult\systrace\systrace\test_data\atrace_data_thread_fixed
2016-12-17 05:26:59 .....        11738         4236  platform-tools\systrace\NOTICE
------------------- ----- ------------ ------------  ------------------------
2016-12-17 05:27:00           14261120      3484976  281 files, 50 folders

 

adbだけ使いたい

 前述のZIPファイルから、以下の3ファイルだけを抽出すればadbコマンドが実行可能になります。

  • adb.exe
  • AdbWinApi.dll
  • AdbWinUsbApi.dll

 3ファイル合計でも約1.7MB弱なのでストレージ容量が貧弱なWindowsタブレットなどに導入するのにも適していそうです。
 Android Studioをセットアップする場合は予めJAVAを導入しておく必要がありますが、本手法でadbコマンドを叩くだけなら不要ですし、必要なリソースが大幅に削減できます。
 

応用例

 「デジタルカメラでインターバル撮影したいけれど、そんな機能はついていない。でも、デジタルカメラWiFiは搭載していてAndroidアプリからシャッターを切ることはできる。」といった場合に、「adb経由でAndroidアプリのシャッターボタンの位置をタップしたイベントを送出」するのを一定間隔でループしてやれば、簡易的なインターバルタイマーの代替として使えます。
 このアイディアは実際に過去に試みたのですが、外に気軽に持ち出せるWindowsタブレットにadbだけ導入するのが面倒で、普通のノートPCで実験して以来、実践投入はしていませんでした。
 こういった用途でも使えますので、Android端末をハックしようと試みる類の人でなくても、やる気さえあれば幅人いユーザにとって便利に使えるのではないでしょうか。
 



以上。