The example uses the standard Sql Initialize function, rather than the Sqlite specific one:
B4X:
Dim SQL1 As SQL
SQL1.Initialize(File.DirApp, "MyDb.db", True)
The number of parameters for the InitializeSQLite() function is correct. But it's wrong for the initialization function that's actually used above. It should be InitializeSQLite(), not Initialize().