use jcifs in android [closed]

别说谁变了你拦得住时间么 提交于 2020-01-07 02:51: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.



来源:https://stackoverflow.com/questions/6761710/use-jcifs-in-android

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!