use jcifs in android [closed]

2019-08-22 06:07发布

问题:

When I use these code in PC,it runs fine.

SmbFile root=null; root=new SmbFile("smb://10.20.137.155");

But the same code in android , it throws exception,why? Can anyone help me?

回答1:

I am answer my question on my own. It get exception becasue I haven't got the permisson to access Internet. After I add it runs well.



标签: android jcifs