Open panlei080988 opened 4 years ago
@panlei080988 are you able to successfully connect to the server if it is run locally? what was the output in the terminal window?
when you ran npm install
from the starter-kit/mobile-app
directory did you receive any errors?
also can you confirm the set up for your Android Studio as outlined in the Setting up development environment page of the React Native docs:
thank you
@panlei080988 are you able to successfully connect to the server if it is run locally? what was the output in the terminal window? The app successfully connected to the server while the server is running locally
when you ran
npm install
from thestarter-kit/mobile-app
directory did you receive any errors?also can you confirm the set up for your Android Studio as outlined in the Setting up development environment page of the React Native docs:
thank you
Yes, I just followed this link and the section in your picture to setup the environment. Here are some screenshots I setted up in my laptop. BTW, I connect the home wifi and run cisco anyconnect and connect VPN to work from home due to COVID-19, so my laptop is not connect to IBM directly. And I use proxy to visit google since google cannot be accessed directly in China.
defected adb absolete Andriod Platform SDK tools Windows environment variables mobile-app folder .env file Android sdk path
When running locally, sometimes this error will appear.
My .env file in mobile-app folder
Env: Windows 10 + Android studio 4.0 + Pie 28 x86_64 image Server url: https://call4code-guideeldertest.mybluemix.net (get two ok of Assistant and Cloudant) I think this may be caused by the android emulator network issue since the server is on Internet.
I am a new andriod emulator and have no idea about how to setup the network of emultor and the readme does not contain the details of Android emulator network setup, is anyone can help?