If everything appears to be working on the connectivity front, restart the Android device and your computer. Ideally, the cable should not exceed three feet (just under a meter) to ensure the signal is strong and reliable. Length is one of the most important factors to consider when shopping for a new cable for your Windows-Android connection. Some cables can be used to charge Android devices but can’t transfer data. Not all USB cables are compatible with Windows.
You should also consider switching to a different USB cable, especially if you aren’t using the cable that came with your device. Therefore, you should also try to plug into a different port. Some of your computer’s ports may be clogged with dirt or otherwise damaged.