I had previously used a Samsung Galaxy S5 for many years with Android Studio, without an issue. However, I recently switched to a Galaxy S7 and when I connect it to my PC it will be available in Android Studio for when I run\debug. Then, it goes offline.
I have tried turning the USB debugging feature off and on again, but it didn't work. If you have any suggestions to how I could resolve this, it would be greatly appreciated.