1. Try other Android phones.
2. Try a new USB cable. There are so many bad ones that you must use the Samsung cable or in a pinch the AmazonBasics. When I work this issue, I will accept no substitutes.