Gandhi had a worse situation. His obstacles involved imperialism and people, in greater numbers, being outright slaughtered.
Doesn't matter. It's a completely different time, location, and context, and it's simplistic thinking to believe that what worked in one place means it will work the same everywhere else.
What about facing imminent death or injury from protestors?
So you're comparing police doing their jobs to civilians being victimized by corrupt and racist police?
So, are you justifying the violence?
That's a stupid response, but unfortunately always one that comes up in these discussions.
No, or I wouldn't have just said in the part you quoted that peaceful protest would be ideal. I just empathize with the frustration, fear, and desperation that gives rise to violence, and don't think simplistic lectures of the sort you were saying are very realistic.
Though that being said, the Baltimore PD did exactly what you asked, and look what happened.
You weren't talking about this situation specifically. You were justifying the use of armored vehicles and military hardware in general, and my response was to that.