I'm trying to use mockoon for running a mock API to test an Android app (using Retrofit2) on my macOS.
Using 0.0.0.0:[port] or localhost:[port] as the address doesn't work.
Any idea what I should be doing differently?
I'm trying to use mockoon for running a mock API to test an Android app (using Retrofit2) on my macOS.
Using 0.0.0.0:[port] or localhost:[port] as the address doesn't work.
Any idea what I should be doing differently?
Copyright © 2021 Jogjafile Inc.
Use
10.0.2.2:[port]for the default emulator and10.0.3.2:[port]for GenymotionEdit
AndroidManifest.xmlto allowusesCleartextTrafficand internet permissions.P.S. Remember to disable
usesCleartextTrafficbefore deploying app to production!