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

Issue regarding using your example app you provide in flutter_wordpress/example/lib #29

Closed
shahryar-cmyk opened this issue Apr 3, 2020 · 2 comments

Comments

@shahryar-cmyk
Copy link

First it giving me this error:
Android resource linking failed Output: C:\Users\Hp\Desktop\Development\flutter_wordpress\example\build\app\intermediates\incremental\mergeDebugResources\merged.
To Solve this error i change the build.gradle file in flutter_wordpress\example\app.
compileSdkVersion 27 to compileSdkVersion 28 which solve the error.
After this the app is installed and running.
As soon as I pass the username and password in the Form it comes with this error
SocketException (SocketException: OS Error: Connection refused, errno = 111, address = localhost, port = 42706).
I don't know how to solve this kindly tell me what i am doing wrong.
My wordpress site is hosted at localhost with xammp server

@SachinGanesh
Copy link
Collaborator

The address is localhost only when you are accessing the site from desktop where the site is hosted. If you are accessing the site from mobile (assuming your phone is connected to the same local network) then you should put the IP address of the desktop. not localhost.

@shahryar-cmyk
Copy link
Author

Thnks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants