Do you get a pop up also along the lines of android device not found?
I get this a lot since upgrading my phone to a Samsung s8.
Usually if I leave it plugged in for 10 mins, it picks the phone up and the errors vanish.
Have you tried just building to your pc to make sure its not an actual build error unrelated to android?
Hey, Yea I am building the apk to a folder on my pc rather than building and running. In the build screenshot I posted above I was also building to pc which is weird why I have that error.
Issue fixed, I had ended up moving the folder location, then installing a different version of jdk and also changing target version of the project android and it was all good.