flutter / flutter/flutter-intellij

AS 4.1 Database inspector cannot find database

Open
#6,964 11 comments 6 reactions 0 assignees View on GitHub
Dominant language
Java
Stars
2k
Forks
356
Avg merge
1d 11h
Merged PRs (30d)
27

Description

Following these instructions
https://developer.android.com/studio/inspect/database
I launched the Database inspector.
This is what I get - No debuggable process detected
My simulator is with api 29, as seen on the screenshot and I for sure have an sqlite in my app and I use it extensively
and my app is currently running.

![image](https://user-images.githubusercontent.com/299973/98450599-92d82c00-2146-11eb-921c-d0d5dce71e56.png)

I have latest AS plugins for dart and flutter.
Here is my flutter doctor
```
Doctor summary (to see all details, run flutter doctor -v):
[√] Flutter (Channel stable, 1.22.2, on Microsoft Windows [Version 10.0.19041.572], locale bg-BG)

[√] Android toolchain - develop for Android devices (Android SDK version 29.0.2)
[!] Android Studio (version 4.1.0)
X Flutter plugin not installed; this adds Flutter specific functionality.
X Dart plugin not installed; this adds Dart specific functionality.
[√] VS Code, 64-bit edition (version 1.51.0)
[√] Connected device (1 available)

! Doctor found issues in 1 category.
```

Would be really nice if something an be done to make it work for flutter apps

Update: Running the android itself from AS.
Now my app shows as a process to attach, but I still don't see any database

![image](https://user-images.githubusercontent.com/299973/98451675-9bcdfb00-2150-11eb-9d83-16809f05e9ff.png)

Maybe that should be directed to sqflite? I'm fine with removing this issue if this is not the right place.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.