Hello,
I have almost finished my application. When I test with the companion everything works. If I create the APK and install it on my samsung Tab, I get errors "2101 the file /Documents/Gestion_Hand/MEquipe.txt could not be found". this file exist in this location and my app has permissions to this folder.
have you an idea ?
Android 11.
I think I tried with something other than legacy with the companion, but it didn't work. So I left legacy.
What should I put?
The PathLocal variable is "/Documents/Gestion_hand"
Because I would like to be able to exchange files between several users. It seems easier to me to put all my files in the Media folder of the device.
Here is what the list of my directories returns to me
I hage put your extension in my app. i set Defaultscope = Legacy in designer.
I no longer get the 908 error on startup. But after searching for MEquipe.txt files, I still get error 2101.
If the File was created by Companion before you try to test with the APK, it does not work, because the file was created by another app and no longer be overwritten / accessed by a new app (on Android 11+).
Two options:
delete the file via Companion before closing Companion or
the file name must be different with Companion and APK.