Hi,
I have save a project as copy and did some modification on print section. It has file read block which I didn't modify. when I simulate the app in AI Companion it worked fine (I mean the file read component). but when I install it phone file not reading.
Please note that the unmodified .apk still working properly.
Where does the file (Log.txt) come from?
If it wasn't created by the app itself, you won't be able to read it that way under Android 11+ (you'll need SAF for that). And on Android 11+ you can no longer save non-media files in the root dir of the external storage.
Hi Anke,
Thanks for your reply.
The log.txt file was created by myself & paste it to root directory of internal memory. I used com.sunny.EFile extension for read & append to file. Before I do some modification in other blocks it was worked perfectly. And still working my previous built .apk on android 11. I guess this thing happened after new released of nb187d
As I already said you can no longer list / save non-media files from / in the root dir of any device with Android 11+.
To read those files you need to use SAF.