Android Question android.system.ErrnoException: open failed: ENOENT (No such file or directory)

Muneebx

Member
I am getting this error even i have this (Test.txt) file in my root directory but still i am getting this error
 

Attachments

  • Screenshot 2022-10-25 160755.jpg
    90.5 KB · Views: 351
  • Code.txt
    3.1 KB · Views: 298

agraham

Expert
Licensed User
Longtime User
It's a permissions error as you are targeting SDK30 you can't access the root of the file system.
 
Upvote 0

Muneebx

Member
So whats the solution?
 
Upvote 0
Cookies are required to use this site. You must accept them to continue using the site. Learn more…