(Solutionated, view in last of message)
When run my app i have this error:
java.lang.NoClassDefFoundError: Failed resolution of: Landroidx/core/content/ContextCompat;
this error are lunched in this code: (view 'this line crack: in source code')
Sub CargarRutaBase
Dim TargetDir As String
'https://b4x.com/android/forum/threads/no-such-file-or-directory-file-dirdefaultexternal-not-exists.93099/
Try
If File.ExternalWritable Then'
Private rp As RuntimePermissions
'this line crack:'
TargetDir = rp.GetSafeDirDefaultExternal("") ' File.DirDefaultExternal
Else
TargetDir = File.DirInternal
End If
RutaBase = TargetDir
Catch
Log(LastException)
End Try
End Sub
(in previous version o ba4 all is ok and not error are detect)...
SOLUTIONATED:
- uninstal basi4andrid
- (backup libreary previous to delete) DELETE ALL Librarys in C:\Program Files (x86)\Anywhere Software\Basic4android\Libraries
- Reinstall basic4android
- Copy the librarys used in my proyect.
(and view next message, very important, more than this)
The problem, i think, is that i have XuiLibrarys in Librarys folder that now, are incluyed in CORE of b4a or similar.