getting file not found exception

后端 未结 3 1025
不知归路
不知归路 2020-12-21 02:47

I have my android activity :

try {  
            File root=Environment.getExternalStorageDirectory();  
            Log.i(\"root\",root.toString());  
            


        
3条回答
  •  心在旅途
    2020-12-21 03:48

    Not sure but please verify that there exists External Storage in your emulator or phone otherwise it will through exception.

提交回复
热议问题