Was clearing up compiler warnings and one of them was:
The recommended value for android:targetSdkVersion is 30 (manifest editor). (warning #31)
I had in the manifest editor:
<uses-sdk android:minSdkVersion="7" android:targetSdkVersion="28"/>
So changed that to 30
As expected this caused problems as I was then unable copy files from File.DirInternal to File.DirRootExternal/SubFolderX\
So, I changed the Manifest and set it back to 28 and compiled the project. Still though the same problem, unable to do the above file copy.
Only after closing B4A and reloading and recompiling the project could I again doing the file copy.
The Manifest editor has at the top:
'This code will be applied to the manifest file during compilation.
But this doesn't seem to be the case then or am I overlooking something?
Google seems intent on dumbing down Android to the point of uselessnes to me. I think of my devices as little computers and I want a proper file system on them, not the limited tortuous things that Google offers and that I don't understand, ContentChooser, FileProvider, ... o_O I'm getting old...