GithubHelp home page GithubHelp logo

Database viewer not available about stetho HOT 10 CLOSED

facebook avatar facebook commented on April 28, 2024
Database viewer not available

from stetho.

Comments (10)

jasta avatar jasta commented on April 28, 2024

It shouldn't, no. In fact, one of our main design goals was to not require root or special privileges to operate.

Can you explain a little bit about what isn't working?

Also, give the stetho-sample app a try (gradle installDebug in the stetho project root) to see if the inspection works there. Clicking the "APOD" button will cause a database to be created. Note that there is currently a bug where databases that are created after you first open the inspector UI will never appear in the list. Just closing and re-opening the inspector will fix it.

from stetho.

fdonzello avatar fdonzello commented on April 28, 2024

It's working now. I don't know what was going wrong before since the database was already created when the app was launched and show in the inspector.

Thanks anyway

from stetho.

semenoh avatar semenoh commented on April 28, 2024

In my case it does not show database if .db file is on sd-card (/mnt/sdcard/)

from stetho.

jasta avatar jasta commented on April 28, 2024

@semenoh interesting use case, we hadn't actually considered that. It is theoretically possible to configure this through the Database module but I think you've exposed a possible gap in our API surface area. Specifically, it's very awkward to have to provide a custom InspectorModulesProvider and manually override the Database object with your own custom configured version. I think we need to think through this a little bit more.

from stetho.

jasta avatar jasta commented on April 28, 2024

@semenoh does #91 solve your issue?

from stetho.

wwfighting avatar wwfighting commented on April 28, 2024

@jasta I have a problem about Web SQL, I can only see the name of database but not the table and the data. and if I execute database statement, it has an error 'unknow error (code 14): could not open database'

from stetho.

longinoa avatar longinoa commented on April 28, 2024

@wwfighting This is related to the 1.4.0 release that we cut last week, I am investigating it now in #431

from stetho.

wwfighting avatar wwfighting commented on April 28, 2024

@longinoa oh,I see. waiting for your new version and thanks for your reply

from stetho.

hram avatar hram commented on April 28, 2024

same issue on 1.4.0
after update on 1.4.0 i cant see db tables
after downgrate to 1.3.1 works fine

from stetho.

mriyas avatar mriyas commented on April 28, 2024

I had the same problem since my port was busy with some other task. Check your port is available

from stetho.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.