Ionic 4 SQLite Queries

I am looking through https://devdactic.com/ionic-4-sqlite-queries/
for my project.

However, there are some problems when I am debugging the database using a real Android device .

When I run this adb -d shell “run-as io.ionic.starter cat databases/data.db” > ~/androiddb.db in my pc,

I would get this error: The system cannot find the path specified as shown in the following snippet.

image

Any idea how to solve this? You help is much appreciated!