Getting [Errno 1] Operation is not permitted error when trying to write to /storage/emulated/0 with Kivy and Python on Android
I have been around the mulberry bush for a few weeks now trying to implement the writing of a file on an android phone. My development setup is on a Windows PC with Anaconda and Pycharm. I am using kivy and buildozer to create the android app. My test app is simply trying to write a file (test.txt) to the root directory of the SD card on the phone. The directory is: /storage/emulated/0 The error I am getting is: [Errno 1] Operation is not permitted: '/storage/emulated/0/test.txt' I ask for permissions in the code, but the permissions are not prompted at application startup or installation. Her
0 upvotes
View original discussion ↗
Comments
Sign in or sign up to comment and upvote.
No comments yet.