-
Notifications
You must be signed in to change notification settings - Fork 77
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
Android Platform :cannot connect to localhost:4200 #105
Comments
I haven't used the Android simulator much personally, but I have some insight into what could be causing this. When you have the live reload option enabled, it redirects to localhost:4200 on start up. This works in the iOS simulator on the same computer, but it's possible it doesn't in the Android one. There is a configurable If that doesn't work, next can try disabling the liveReload option just to make sure that is the problem |
Here is my config/environment.js Not sure what's the cause. |
Also, make sure you've ran Is the app working in your browser? |
I have tried an works now. To solve this, i have to remote the attribute
in config/environments.js So, btw, does liveReload support on Android platform now? |
It should work but I haven't tried it in awhile. If you set it to enabled, and set the platform to "android" you can give it a shot :) |
FYI this doesn't appear to work currently, at least not with Android 5.1 — if I enable LiveReload, as soon as the app boots on the device, I get dumped out to Chrome, which tries to load the |
I think this is a duplicate of #174. Please open again if that is not the case. |
Hi after building the android platform on ember-cli-cordova
When I
ember server
up running the app, the android simulator shows error messagecannot connect to localhost:4200
Have u ever meet this issue as well?
The text was updated successfully, but these errors were encountered: