Search code examples
androidandroid-studioflutteradb

Android Studio is unable to find ADB, yet I'm able to deploy to my device


enter image description here

The exact error I'm getting is "java.lang.Throwable: ADB not found"

I haven't found anything online matching my problems. I have already (manually) reinstalled the platform tools multiple times. And they work. I can connect to my phone, even Android Studio is able to run the project on my phone. Yet it throws that error and locks some of the features like Logcat (I can use Logcat via the shell just fine). I've also tested Android Studio 3.3 additionally, but it didn't change anything.

The google USB driver is installed too.


Solution

  • When I opened Android Studio today, it randomly worked.

    The whole "whole App chrashing on startup"-thing was a bug I introduced.