android - Restart adb untill success wth bash script commands -


An annoying issue with the device that it often gets:

  List index No permission  

Because of this fact, we are lacking in time, I would like to write simple dialect which adb to start again Device will not get permissions , like something:

  #! / Bin / bash alias_to_adb_dir / adb kill-server alias_to_adb_dir / adb start-server while [$? -A "approval no permission"];  

I appreciate any solutions


Comments

Popular posts from this blog

c# - SignalR: "Protocol error: Unknown transport." when navigating to hub -

class - Kivy: how to instantiate a dynamic classes in python -

python - mayavi mapping a discrete colorbar on a surface -