jbrodriguez/react-native-android-sqlite

Callback with id 3: DBManager.exec() not found

happyEgg opened this issue · 3 comments

sqlite.init(databaseName).then((_) => {
ToastAndroid.show("database initialized.", ToastAndroid.SHORT);
})
init can pass, but exec cannot pass, the result: Callback with id 3: DBManager.exec() not found

Do you have a idea?

It seems that the java code isn't being compiled.

Can you show the output for $ adb logcat | grep 'SQLiteAssetHelper'

Also when you run $ react-native run-android, what do the lines that begin with :react-native-android-sqlite say ?

@happyEgg also check the command you're sending to the sqlite.exec function.

Maybe a parameter is incorrectly written or something similar

Open a new issue if needed