connecting android to samba in Linux

You must add in smb.conf (in /etc/samba), at [global] section and at “allow hosts = row, the android device IP, otherwise you won’t be able to connect it to PC samba network.

Then you can use several android apps, like X-plore (G-Play, commercial, but good) or Material File Manager (F-Droid, open source, quite spartan, but fast and reliable), to set the samba connection with your PC and view the files shared on your PC.

Provided, obviously, that PC and android device are both connected at the same local network.