Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The log info is : D/DebugDB: Open http://0.0.0.0:8080 in your browser #6

Closed
lhlhlh111000 opened this Issue Nov 19, 2016 · 29 comments

Comments

Projects
None yet
@lhlhlh111000
Copy link

lhlhlh111000 commented Nov 19, 2016

what's worry with me, i can not open the database…

@amitshekhariitbhu

This comment has been minimized.

Copy link
Owner

amitshekhariitbhu commented Nov 19, 2016

r u trying this with emulator ?

@lhlhlh111000

This comment has been minimized.

Copy link
Author

lhlhlh111000 commented Nov 19, 2016

@amitshekhariitbhu

This comment has been minimized.

Copy link
Owner

amitshekhariitbhu commented Nov 19, 2016

@lhlhlh111000 I need to fix the issue happening with emulator.

@vinayagasundar

This comment has been minimized.

Copy link
Contributor

vinayagasundar commented Nov 22, 2016

@lhlhlh111000 @amitshekhariitbhu I don't think we can control emulator IP address by code. but my simple solution for this is
In terminal
adb forward tcp:8080 tcp:8080

Open browser with http://localhost:8080

@amitshekhariitbhu

This comment has been minimized.

Copy link
Owner

amitshekhariitbhu commented Nov 23, 2016

@vinayagasundar thanks for the info. Will try it soon

@pratikbutani

This comment has been minimized.

Copy link

pratikbutani commented Jan 11, 2017

I am getting same problem. @amitshekhariitbhu

@lorenzos

This comment has been minimized.

Copy link

lorenzos commented Feb 3, 2017

@vinayagasundar workaround works for me too, but please @amitshekhariitbhu try to fix it! Using the default Android Studio emulators is the default option while developing, and it's incredibly faster than using real devices. Plus, after API 23 is not possible to use the Android Device Monitor to pull the DB files from the emulator device, so your debugger is practically the only available tool we have to inspect app data!

@amitshekhariitbhu

This comment has been minimized.

Copy link
Owner

amitshekhariitbhu commented Feb 3, 2017

@lorenzos sure sure... we will fix it in new release.

@Yadav-Sunil

This comment has been minimized.

Copy link

Yadav-Sunil commented Feb 6, 2017

not open database in andriod device

@Aexyn

This comment has been minimized.

Copy link

Aexyn commented Mar 7, 2017

I am getting it on Real device too.
Android version: 6.0
Android device model: XT1092

@amitshekhariitbhu

This comment has been minimized.

Copy link
Owner

amitshekhariitbhu commented Mar 7, 2017

@Aexyn Your device was connected to wifi when you first started the app?

@Aexyn

This comment has been minimized.

Copy link

Aexyn commented Mar 7, 2017

@amitshekhariitbhu No.. It is connected to desktop the whole time

@Aexyn

This comment has been minimized.

Copy link

Aexyn commented Mar 7, 2017

Also it was unable to show the my database as I have a custom path where I store them

@chaoyangnz

This comment has been minimized.

Copy link

chaoyangnz commented May 15, 2017

+1

@guyulmaz

This comment has been minimized.

Copy link

guyulmaz commented May 26, 2017

I work at android studio 3.0 canary 1
Same error:
05-24 12:44:14.270 14660-14660/...D/DebugDB: Open http://0.0.0.0:8080 in your browser
Can you help please.

@amitshekhariitbhu

This comment has been minimized.

Copy link
Owner

amitshekhariitbhu commented May 26, 2017

@guyulmaz Checking the issue. @vinayagasundar any idea?

@vinayagasundar

This comment has been minimized.

Copy link
Contributor

vinayagasundar commented May 28, 2017

@amitshekhariitbhu @guyulmaz I'll check this and let you know.

@vinayagasundar

This comment has been minimized.

Copy link
Contributor

vinayagasundar commented May 29, 2017

@guyulmaz are you sure your system & device connected to the same Wifi Network
if you're emulator or using USB please refer here

@amitshekhariitbhu

@guyulmaz

This comment has been minimized.

Copy link

guyulmaz commented May 29, 2017

@vinayagasundar
I'm using the emulator of android studio, the emulator is Nexus 5 api 24 (Android 7)

@vinayagasundar

This comment has been minimized.

Copy link
Contributor

vinayagasundar commented May 29, 2017

@guyulmaz okay please check the work around here

@guyulmaz

This comment has been minimized.

Copy link

guyulmaz commented May 29, 2017

@vinayagasundar

\AppData\Local\Android\sdk\platform-tools>adb forward tcp:8080 tcp:8080
then
Open browser with http://localhost:8080

it works thanks

@tang5011235

This comment has been minimized.

Copy link

tang5011235 commented Jul 20, 2017

D/DebugDB: Open http://172.17.100.15:8081 in your browser
it is my Emulator ip,not my laptop ip, i could not open in my browser

@irudayambics

This comment has been minimized.

Copy link

irudayambics commented Jul 27, 2017

I had the same issue. When switched back to WiFi network from my data connection everything worked. Good work.

@ozmium

This comment has been minimized.

Copy link

ozmium commented Aug 16, 2017

It seems that this happens when the device is using a 3G/4G mobile internet, instead of WiFi. Suggestion: Perhaps the app could detect "0.0.0.0" as a probable error condition and change the message -- something like this:

D/DebugDB: Open http://0.0.0.0:8080 in your browser. Warning: This address may not work. Ensure your Android device is on the same WiFi network as your computer, then Force Quit and restart the app.

@Kisty

This comment has been minimized.

Copy link

Kisty commented Sep 11, 2017

How about a small gradle plugin which would run adb forward tcp:8080 tcp:8080 automatically when running an app with the library in the classpath? I guess you could hook in to the install task or something.

@amitshekhariitbhu

This comment has been minimized.

Copy link
Owner

amitshekhariitbhu commented Sep 11, 2017

@Kisty This is good suggestion.

@grandgrant

This comment has been minimized.

Copy link

grandgrant commented Jul 20, 2018

i have an issue that error in my room database when use your library. This is the error error: "TransactionDatabase_Impl is not abstract and does not override abstract method clearAllTables() in RoomDatabase". Can you give the solution?

@amitshekhariitbhu

This comment has been minimized.

Copy link
Owner

amitshekhariitbhu commented Jul 20, 2018

@grandgrant which version of room database?

@ChenglongMa

This comment has been minimized.

Copy link

ChenglongMa commented Feb 9, 2019

@lhlhlh111000 @amitshekhariitbhu I don't think we can control emulator IP address by code. but my simple solution for this is
In terminal
adb forward tcp:8080 tcp:8080

Open browser with http://localhost:8080

This tip works for me, just reminding that:
For real smartphone, http://0.0.0.0:8080 works on Mac OS, while http://localhost:8080 works on Win OS.
Thanks :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.