-
Notifications
You must be signed in to change notification settings - Fork 964
Documentation is incorrect, leading to confusion #147
Comments
bugreport.txt does not contain a valid bugreport file |
Confirmed on my side as well - documentation is wrong. Correct command is indeed |
The above comment from @Claytonious is absolutely correct. The wrong command is mentioned on Android's official page correct is one which I just used and working:
|
Still an issue as of March 2020 |
Still an issue as of April 2020 |
Still an issue as of June 2020 |
Still an issue as of Aug 2020 |
Still an issue as of Nov 2020 |
Still an issue as of Dec 2020 |
Still an issue on 22 jan 2021 :) |
We made it to 2021 guys! |
Also, I don't quite understand why we need to dump batterystats.txt and also bugreport.zip... Do we need batterystats.txt? The docs say to upload bugreport.zip in Battery Historian... and it works without batterystats.txt. You cannot just upload batterystats.txt. |
OP is correct. |
@mrasyidg Not sure what your referring to, documentation is correct now. |
Ah didn't see the versioning. But still not quite, at least for the 6.0 and lower ON the documentation web page, I think. Check out the page? |
I haven't tried on a 6.0 and lower but I would be surprised if it is not correct. However what seems wrong is what @liviu-timar is referring to. The documentation tells us to make a |
it works, thx @Claytonious |
The docs at https://developer.android.com/studio/profile/battery-historian.html say to run this for Android 7.0 and newer:
adb bugreport > [path/]bugreport.zip
But that is incorrect. That will give you a file with a .zip extension which is the text output from adb, but you won't realize.
The correct command would be more like:
adb bugreport [path/]bugreport.zip
The text was updated successfully, but these errors were encountered: