My app is running since two years on a hundred devices and suddenly I have problems creating a directory.
I don't know if it is related to Android 6 or the latest B4A updates.
This is the code
The code is executed in the StarterService and I have the log "dir not exists" (and the dir is really not created).
If I start from a blank project the code works, as it had worked for two years.
But inside my app, the code fails (I test it in release after a clean project).
Where could be the problem ?
I'm looking for another device to test it, to see if it is device related or not.
I don't know if it is related to Android 6 or the latest B4A updates.
This is the code
B4X:
Dim AppPath As String=File.DirRootExternal & "/test"
If File.exists("",AppPath)=False Then
Log("creating apppath")
File.MakeDir("",AppPath)
End If
If File.exists("",AppPath)=False Then Log("dir not exists")
The code is executed in the StarterService and I have the log "dir not exists" (and the dir is really not created).
If I start from a blank project the code works, as it had worked for two years.
But inside my app, the code fails (I test it in release after a clean project).
Where could be the problem ?
I'm looking for another device to test it, to see if it is device related or not.