Exception 'open failed: EACCES (Permission denied)' on Android

前端 未结 30 1620
[愿得一人]
[愿得一人] 2020-11-22 00:59

I am getting

open failed: EACCES (Permission denied)

on the line OutputStream myOutput = new FileOutputStream

30条回答
  •  后悔当初
    2020-11-22 01:28

    I had the same problem... The was in the wrong place. This is right:

     
            
            ...
            
                ...
                 
                    ...
                
            
         
    

    The uses-permission tag needs to be outside the application tag.

提交回复
热议问题