资源简介
谷歌安卓开发SDK Platform-Tools这是 adb, fastboot 等工具包。把解压出来的platform-tools文件夹放在 android sdk 根目录下,并把adb所在的目录添加到系统PATH路径里,即可在命令行里直接访问了 adb, fastboot 等工具。
platform-tools
保存着一些Android平台相关通用工具,比如adb、和aapt、aidl、dx等文件,这里和platforms目录中tools文件夹有些重复,主要是从android2.3开始这些工具被划分为通用了。
打开网址看详细教程
https://blog.csdn.net/qq_30483585/article/details/80605153
代码片段和文件信息
#!/usr/bin/env python
# Copyright (c) 2015 The Chromium Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
import os
import sys
version = sys.version_info[:2]
if version != (2 7):
sys.stderr.write(‘Systrace does not support Python %d.%d. ‘
‘Please use Python 2.7.\n‘ % version)
sys.exit(1)
systrace_dir = os.path.abspath(
os.path.join(os.path.dirname(__file__) ‘catapult‘ ‘systrace‘))
sys.path.insert(0 systrace_dir)
def RemoveAllStalePycFiles(base_dir):
“““Scan directories for old .pyc files without a .py file and delete them.“““
for dirname _ filenames in os.walk(base_dir):
if ‘.git‘ in dirname:
continue
for filename in filenames:
root ext = os.path.splitext(filename)
if ext != ‘.pyc‘:
continue
pyc_path = os.path.join(dirname filename)
py_path = os.path.join(dirname root + ‘.py‘)
try:
if not os.path.exists(py_path):
os.remove(pyc_path)
except OSError:
# Wrap OS calls in try/except in case another process touched this file.
pass
try:
os.removedirs(dirname)
except OSError:
# Wrap OS calls in try/except in case another process touched this dir.
pass
if __name__ == ‘__main__‘:
RemoveAllStalePycFiles(os.path.dirname(__file__))
from systrace import run_systrace
sys.exit(run_systrace.main())
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
目录 0 2018-05-09 14:06 platform-tools\
文件 793600 2017-12-13 13:24 platform-tools\sqlite3.exe
文件 38 2017-12-13 13:24 platform-tools\source.properties
文件 323847 2017-12-13 13:24 platform-tools\NOTICE.txt
文件 1034240 2017-12-13 13:24 platform-tools\mke2fs.exe
文件 1184 2017-12-13 13:24 platform-tools\mke2fs.conf
文件 345600 2017-12-13 13:24 platform-tools\make_f2fs.exe
文件 210625 2017-12-13 13:24 platform-tools\libwinpthread-1.dll
文件 43008 2017-12-13 13:24 platform-tools\hprof-conv.exe
文件 853504 2017-12-13 13:24 platform-tools\fastboot.exe
文件 333824 2017-12-13 13:24 platform-tools\etc1tool.exe
文件 145920 2017-12-13 13:24 platform-tools\dmtracedump.exe
文件 62976 2017-12-13 13:24 platform-tools\AdbWinUsbApi.dll
文件 97792 2017-12-13 13:24 platform-tools\AdbWinApi.dll
文件 1784320 2017-12-13 13:24 platform-tools\adb.exe
目录 0 2017-12-13 13:24 platform-tools\systrace\
文件 11738 2017-12-13 13:24 platform-tools\systrace\NOTICE
文件 1456 2017-12-13 13:24 platform-tools\systrace\systrace.py
文件 41 2017-12-13 13:24 platform-tools\systrace\UPSTREAM_REVISION
目录 0 2017-12-13 13:24 platform-tools\lib64\
文件 1272189 2017-12-13 13:24 platform-tools\lib64\libc++.so
目录 0 2017-12-13 13:24 platform-tools\api\
文件 140715 2017-12-13 13:24 platform-tools\api\annotations.zip
文件 3857974 2017-12-13 13:24 platform-tools\api\api-versions.xm
目录 0 2017-12-13 13:24 platform-tools\systrace\catapult\
目录 0 2017-12-13 13:24 platform-tools\systrace\catapult\common\
目录 0 2017-12-13 13:24 platform-tools\systrace\catapult\third_party\
目录 0 2017-12-13 13:24 platform-tools\systrace\catapult\tracing\
文件 6773 2017-12-13 13:24 platform-tools\systrace\catapult\tracing\tracing_project.py
目录 0 2017-12-13 13:24 platform-tools\systrace\catapult\devil\
文件 1262 2017-12-13 13:24 platform-tools\systrace\catapult\devil\README.md
............此处省略387个文件信息
- 上一篇:基于Java的农村电子商务系统的设计与实现_叶婷.zip
- 下一篇:阅读量.apk
评论
共有 条评论