Unable to run Android local run (after latest update)

Troubleshooting

Usually when I debug my app, I'm using local run, as the whole app uses Sqlite as the backend database. Since the recent update, I'm no longer able to run the app. It loads but gets stuck on the loading screen. The error message is:

โˆš Built build\app\outputs\flutter-apk\app-debug.apk

Installing build\app\outputs\flutter-apk\app-debug.apk... 7.9s

E/flutter (11620): [ERROR:flutter/runtime/dart_vm_initializer.cc(41)] Unhandled Exception: Unable to load asset: "assets/sqlite_db_files/202410231745.db".

E/flutter (11620): The asset does not exist or has empty data.

What have you tried so far?

If I publish the app to Appstore, it runs fine in Testflight. But on my Android, I cannot for the life of me get the database connected again. I've uploaded new databases on many occations to see if that is the problem, and therefore replaced the database with a new one. Still after 10 attempts, I just can't get it working on my Android phone (even after fully emptying app cache, app storage, and uninstalling the app, and then trying again, after rebooting the phone). Any ideas?

Did you check FlutterFlow's Documentation for this topic?
No
1
3 replies