Oh nice yes theses codes seem be better. But i did't build my version and just take the online build here : https://sqlite.org/download.html the Precompiled Binaries for Android: https://sqlite.org/2021/sqlite-android-3360000.aar and this version have neither the code before nor the code after the support for file:// so maybe the next build could be good ?