安装Docker环境来使用Battery History

来源:互联网 发布:表白网站整站源码 编辑:程序博客网 时间:2024/06/16 14:29

以下均默认你可以上VPN

  • install docker

Docker环境

Docker是一种容器,一般用于云计算和大数据平台。提倡的一种思想就是:软件即服务。一句话就可以将别人发布的docker服务环境一次全部copy过来(注意是整个软件环境哦,相当于复制了一台一模一样的主机,连软件都不要安装了,全有了。

 

安装好运行后运行下列命令:

docker  run -p 9999:9999gcr.io/android-battery-historian/stable:3.0 --port 9999

 

docker run -p 9999:9999 gcr. io/android-battery-historian/stab1e:3.Ø - po rt 9999 Unable to find image 'gcr. io/android-battery-historian/stab1e:3.Ø' locally 3.0: Pulling c62795f78da9: d4fceeeb758e: 5c9125a4Ø1ae: ØØ62f774e994: 6b33fdØ31fac: a6bd6e1dØbdb : 76cf9dØ635af : 856d2Ød533eØ: e63a73f6a528: la75578c9353: 24f36496Ø4d9: 1Øf637765748: eØ6a9fa76cf2: from android-battery-historian/stable Pull Pull Pull Pull Pull Pull Pull Pull Pull Pull Pull Pull Pull compl ete canpl ete complete compl ete cmplete complete canpl ete cmplete compl ete canpl ete complete compl ete compl ete Digest: sha256:265a377Ø7f8cf25f2f85afe3dff31c76Ød44bb922f64bbc455a4589889d3fe9 1 Status: Downloaded newer image for gcr. io/android-battery-historian/stab1e:3.Ø 2017/07/19 13:54:12 Listening on port: 9999

这就表示你的docker跑起来了。

  •  接线来在终端运行adb bugreport bugreport.zip(如果adb还没配好可以参考我的另一篇博客

— bugrQort BugrQort is in progress and it take mirutes to cavlete. be patient and not cancel or disconnect your device until it cavletes. . .1 file mal led. 8.4 Es (2163085 bytes in ø.246s) — cd

把生成的文件导出来,

  • 在浏览器中输入 http://localhost:9999

Battery Historian Upload Bugreport Both .txt and .zip bug reports are accepted. Browse Kernel Wakesource Trace Choose a Bugreport File Power Monitor File Switch to Bugreport Comparison

  • 加入刚刚导出来的文件,

阅读全文
0 0