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

winforms - C# Form - Property Change -

javascript - amcharts makechart not working -

java - Algorithm negotiation fail SSH in Jenkins -