I am building an apk for my application which is built by react native using expoI use expo build:android
command in the terminal and after this I got a prompt to choose from:
? Would you like to upload a keystore or have us generate one for you?If you don't know what this means, let us handle it! :)
so i choosed that expo will handle it and I got the following steps
Publishing to channel 'default'...Building iOS bundleBuilding Android bundleAnalyzing assetsUploading assetsUploading \assets\alert.mp3Uploading \assets\images\splash.pngUploading \assets\images\icon.png
and then I got the follwing error
read ECONNRESETSet EXPO_DEBUG=true in your env to view the stack trace.
I also updated expo-cli to the latest version!and here is my app.json if it helps
{"expo": {"name": "app name","slug": "app-name","platforms": ["android" ],"version": "1.0.0","orientation": "portrait","icon": "./assets/images/icon.png","scheme": "myapp","splash": {"image": "./assets/images/splash.png","resizeMode": "contain","backgroundColor": "#ffffff" },"updates": {"fallbackToCacheTimeout": 0 },"android": {"package": "com.el3ameed.appname","versionCode": 1,"adaptiveIcon": {"foregroundImage": "./assets/images/icon.png","backgroundColor": "#171717" } },"assetBundlePatterns": ["**/*" ],"ios": {"bundleIdentifier": "com.el3ameed.appname","buildNumber": "1.0.0" },"description": "" }}