Can't Repro
Status Update
Comments
uc...@google.com <uc...@google.com>
ad...@google.com <ad...@google.com> #2
Information redacted by Android Beta Feedback.
ro...@gmail.com <ro...@gmail.com> #4
Thank you for reporting this issue. We have shared this with our product and engineering team and will update this issue with more information as it becomes available.
Description
AI-193.6911.18.41.6423924, JRE 1.8.0_242-release-1644-b01x64 JetBrains s.r.o, OS Windows 10(amd64) v10.0 , screens 1920x1080, 1920x1080
AS: 4.1 Canary 8; Kotlin plugin: 1.4-M1-release-Studio4.0-1; Android Gradle Plugin: 4.1.0-alpha08; Gradle: 6.3; NDK: from local.properties: (not specified), latest from SDK: (not found); LLDB: pinned revision 3.1 not found, latest from SDK: (package not found); CMake: from local.properties: (not specified), latest from SDK: (not found), from PATH: (not found)
IMPORTANT: Please read
---
Unable to open my apps room database in Database Inspector
Ref:
I am desperately trying to open my db in the Database Inspector (on emulator), but it won't open it. Can't even see it, even I know it is there (and working fine actually).
At the moment following database is shown:
com.google.android.datatransport.events
Am I clicking the "Refresh Schema" nothing seems to happen (ref:
Anyhow, I try this further:
1. Connecting my device (Samsung S9 SM-G965F) -> Seem to connect ok, and the device appears in the device in DatabaseInspector with my app shown in the list.
2. But here does not any db show, and the Refresh Schema and Run Query Buttons are grayed out.
3. Closing all my open apps with 'close all' button on the device.
4. Trying to compile and run my app onto the device (as the emulator is still running with reference to the app). (Two (devices/emulator) at the same time)
5. App runs smoothly, but nothing happens on the Database Inspector. ==> Here I should have a "Refresh Inspector" Button to kick a reload from the device and emulator.
6. Toggling back and forth between the device and emulator, I suddenly manage to see two databases on the device, but not my app's database, the two db's are:
androidx.work.workdb (Yes I have a work implementation in my app)
com.google.android.datatransport.events
7. Inspecting the work data, I can regognize some of my setups, and I suspect this to be fine.
8. Toggling back and forth again, I suddenly loose connection with the databases I was observing.
But I can't see my apps db in Database Inspector in either device or emulator.
BTW:
I see theese lines often in the idea.log:
2020-04-29 18:53:12,852 [77823765] ERROR - ction.ide.ui.AppInspectionView - Could not launch inspector androidx.sqlite.inspection: Inspector with the given id androidx.sqlite.inspection already exists. It was launched by project: EmptyFuel
java.lang.RuntimeException: Could not launch inspector androidx.sqlite.inspection: Inspector with the given id androidx.sqlite.inspection already exists. It was launched by project: EmptyFuel
at com.android.tools.idea.appinspection.internal.DefaultAppInspectionTarget$launchInspector$1$2.invoke(DefaultAppInspectionTarget.kt:147)
at com.android.tools.idea.appinspection.internal.DefaultAppInspectionTarget$launchInspector$1$2.invoke(DefaultAppInspectionTarget.kt:85)
at com.android.tools.idea.transport.manager.StreamEventPollingTask$poll$$inlined$forEach$lambda$1.run(PollingTask.kt:57)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
at java.lang.Thread.run(Thread.java:748)
RG
Attaching logs