You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Local Parse Server works with dashboard , but not with android studio #5045
I am trying to use Parse on windows with Android Studio.
I have followed tutorials on interned and created local parse server which is appering in parse dashboard, and passed this test http://localhost:1337/test , but when i run my project in android studio I get : com.parse.ParseRequest$ParseRequestException: i/o failure.
localhost means the device (or container) that is running the code. On iOS, if I run a simulator, local host works because my device is running on the computer, so it finds my server. But if I run a physical device, the phone has no local host.
You need a remote endpoint, which is where ngrok comes in.
Activity
Sadmansamee commentedon Sep 10, 2018
Use https://ngrok.com/docs to localhost with you android app
JacobJT commentedon Sep 10, 2018
localhost means the device (or container) that is running the code. On iOS, if I run a simulator, local host works because my device is running on the computer, so it finds my server. But if I run a physical device, the phone has no local host.
You need a remote endpoint, which is where ngrok comes in.