I am using a Samsung Galaxy J8 device . My phone doesn't have any SD card. I was able to browse files of phone from my PC(ubuntu os) , even I could debug my app from android studio. But suddenly I am not able to do so. When I connect my phone via USB to my PC , it is only charging . What I did so far is following.
- Enable developer option and usb debugging , changed default usb configuration to file transfer and image transfer and MIDI .
- Restarted my phone.
- Restarted my PC .
- Change of USB cable and port .
- At last factory reset .
After trying all above things , still I can't connect to phone via usb cable .
I think my pc , usb cable , usb port are working fine . Because when I connected another device , it shows me the following dialog .
I used to see the same dialog for my phone, but right now,as I mentioned, my phone doesn't show me such dialog.