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

sql - Find last match with latest inserted name in table -

c# - XML serialize base class without knowing derived class -

ios - Invalid IPA: missing embedded provisioning profile. Are you sure this is an ad hoc? -