Comments (30)
@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
from android-debug-database.
@lhlhlh111000 I need to fix the issue happening with emulator.
from android-debug-database.
\AppData\Local\Android\sdk\platform-tools>adb forward tcp:8080 tcp:8080
then
Open browser with http://localhost:8080
it works thanks
from android-debug-database.
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.
from android-debug-database.
I had the same issue. When switched back to WiFi network from my data connection everything worked. Good work.
from android-debug-database.
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.
from android-debug-database.
r u trying this with emulator ?
from android-debug-database.
from android-debug-database.
@vinayagasundar thanks for the info. Will try it soon
from android-debug-database.
I am getting same problem. @amitshekhariitbhu
from android-debug-database.
@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!
from android-debug-database.
@lorenzos sure sure... we will fix it in new release.
from android-debug-database.
not open database in andriod device
from android-debug-database.
I am getting it on Real device too.
Android version: 6.0
Android device model: XT1092
from android-debug-database.
@Aexyn Your device was connected to wifi when you first started the app?
from android-debug-database.
@amitshekhariitbhu No.. It is connected to desktop the whole time
from android-debug-database.
Also it was unable to show the my database as I have a custom path where I store them
from android-debug-database.
+1
from android-debug-database.
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.
from android-debug-database.
@guyulmaz Checking the issue. @vinayagasundar any idea?
from android-debug-database.
@amitshekhariitbhu @guyulmaz I'll check this and let you know.
from android-debug-database.
@guyulmaz are you sure your system & device connected to the same Wifi Network
if you're emulator or using USB please refer here
from android-debug-database.
@vinayagasundar
I'm using the emulator of android studio, the emulator is Nexus 5 api 24 (Android 7)
from android-debug-database.
@guyulmaz okay please check the work around here
from android-debug-database.
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
from android-debug-database.
@Kisty This is good suggestion.
from android-debug-database.
@grandgrant which version of room database?
from android-debug-database.
@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 :)
from android-debug-database.
I had the same issue. But looking up the tablets IP and trying with that still worked.
from android-debug-database.
Turn on your Wifi
from android-debug-database.
Related Issues (20)
- Password field in browser to prevent unauthorized access
- move library to mavenCentral HOT 1
- NetworkUtils.java line 38 HOT 1
- URL
- Please move your library to mavencentral jcenter is not longer available HOT 7
- Debug device
- 1666cd1db1d0f131b4db59c692e8ca87dddb533b
- GP Jattal
- Investment
- On my GK1S23
- I am sharing 'dumpstate_log' with you
- Android auto
- java.lang.IllegalStateException: You must call BDCommon.init first HOT 1
- gist.githubusercontent.com/alloy/62326fcbc5b8ef987c17/raw/8fa201cf402244466d63b50dc7aeeaf90b898e8f/README.markdown.10.9.2
- Could not find com.amitshekhar.android:debug-db:1.0.5. in Android studio Flamingo HOT 1
- Including link: https://crystal-lang.org/
- These people are on my computer without my consent
- Act unwanted not authorized The one where the phone transfer was that was a wireless thing that I did to try and get some information on the ones that were inside my f****** computer issue my language
- com.amitshekhar.android:debug-db:1.0.6
- 📴 HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from android-debug-database.