If you need to connect a computer to transmit data, it is recommended that you download Samsung kies with USB driver from Samsung official website.
/support/useful software/KIES/JSP
Install the software on the computer, cancel USB debugging, and then connect the data cable.
I hope the above reply can help you!