I can't run android studio because (IllegalArgumentException: Unable to locate adb) and then can't install Android SDK Platform-tools. I can't find anything online matching the error.

```
10:48:33 AM IllegalArgumentException: Unable to locate adb

```

[Image 1](https://i.stack.imgur.com/f7j9P.png)

[Image 2](https://i.stack.imgur.com/U1gJc.png)