Android App Development
iOS App Development
Flutter App Development
Cross Platform App Development
Hire on-demand project developers and turn your idea into working reality.
Big thanks to Webkul and his team for helping get Opencart 3.0.3.7 release ready!
Deniel Kerr
Founder. Opencart
Top Partners
By default ADB(android debugable bridge) do not generate detailed log history of volley library. In order to get the detailed version of volley log, we need to perform following steps:
1.) Set tag to the volley
by default Volley tag is set to “Volley”. We can change to any depending on the developer comfort.
2. ) Set level of logging on our tag
This will log the detailed information of logs generated by volley.
3.) Use the adb shell command on your cmd/terminal to issue commands, with or without entering the adb remote shell on the emulator/device.
shell
This will start a daemon to execute command.
if adb is not installed get adb tool for ubuntu via
4.) use shell command to change logging level of your tag “Volley” in our case
And you can get the detailed volley logs like:
if you have multiple devices connected via adb execute shell command via:
1. ) list available devices: this will list all the available devices currently connected.
2.) start daemon on a particular device via:
where number 4200f20ed63d728d is the device id on which we need to execute shell command.
For more info:
https://developer.android.com/reference/android/util/Log.html#isLoggable(java.lang.String, int)
https://developer.android.com/studio/command-line/shell.html
http://stackoverflow.com/questions/21378280/print-all-request-log-called-from-volley-library
http://lifehacker.com/the-easiest-way-to-install-androids-adb-and-fastboot-to-1586992378
Your email address will not be published. Required fields are marked*
Name*
Email*
Save my name email and website in this browser for the next time I comment.
Be the first to comment.
We use cookies to personalize your experience. By continuing to visit this website you agree to our use of cookies. Learn more about privacy policy
Name
Email
Subject
Enquiry or Requirement
If you have more details or questions, you can reply to the received confirmation email.