安装Docker环境来使用Battery History

以下均默认你可以上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

把生成的文件导出来,

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
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值