Quantcast
Viewing all articles
Browse latest Browse all 6404

Failed to install the app. Make sure you have the Android development enviornment setup

Facing this issue as attached in the image.[![enter image description here][1]][1]

Please note that I have gone through all the questions with same title on Stackoverflow but nothig resolved this issue.

Here is my package.json file:

{"name": "digitalmentor","version": "0.0.1","private": true,"scripts": {"start": "react-native start","test": "jest","test:updatesnapshots": "jest -u","test:coverage": "jest --watchAll=false --all --coverage --runInBand","test-watch": "jest -o --watch","run-ios": "react-native run-ios","run-android": "react-native run-android","run-android-no-packager": "react-native run-android --no-packager","run-android-prod-mac": "ENVFILE=.env.e2e && react-native run-android","run-ios-tkxel-mac": "ENVFILE=.env.tkxel.local react-native run-ios","run-android-tkxel-mac": "ENVFILE=.env.tkxel.local react-native run-android","run-ios-prod-mac": "ENVFILE=.env.e2e react-native run-ios","run-ios-staging": "ENVFILE=.env.staging react-native run-ios","run-android-staging": "ENVFILE=.env.staging react-native run-android","run-ios-staging-windows": "SET ENVFILE=.env.staging && react-native run-ios","run-android-staging-windows": "SET ENVFILE=.env.staging && react-native run-android","run-ios-local": "ENVFILE=.env.local react-native run-ios","run-android-local": "ENVFILE=.env.local react-native run-android","run-ios-local-windows": "SET ENVFILE=.env.local && react-native run-ios","run-android-local-windows": "SET ENVFILE=.env.local && react-native run-android","run-link": "RNFB_ANDROID_PERMISSIONS=true react-native link","log-android": "react-native log-android","tsc": "tsc","bump:native": "cd ios && fastlane ios bump_build_and_patch && cd ../android && fastlane android bump_version_code_and_version_name && cd ..","clear-cache": "rm -rf $TMPDIR/react-* && watchman watch-del-all && rm -rf ios/build && rm -rf node_modules/ && yarn cache clean --force && yarn","clear-bundler": "watchman watch-del-all && rm -rf node_modules && yarn install && rm -rf /tmp/metro-bundler-cache-* && rm -rf /tmp/haste-map-react-native-packager-*","lint": "eslint --ext \"ts,tsx,js,jsx\" --fix src","build:js:ios": "react-native bundle --platform ios --entry-file index.js --bundle-output ios.jsbundle","build:js:android": "react-native bundle --platform android --entry-file index.js --bundle-output android.jsbundle","build:js:ios:map": "react-native bundle --platform ios --dev false --entry-file index.js --bundle-output main.jsbundle --sourcemap-output sourcemap.ios.js.map --sourcemap-sources-root ./","build:js:android:map": "react-native bundle --platform android --dev false --entry-file index.js --bundle-output index.android.bundle --sourcemap-output sourcemap.android.js.map --sourcemap-sources-root ./","e2e:ios:build": "ENVFILE=.env.e2e detox build -c ios.sim.debug","e2e:ios:test": "JEST_JUNIT_OUTPUT=\"./artifacts/test-results/ios/junit.xml\" ENVFILE=.env.e2e detox test -c ios.sim.debug --artifacts-location ./artifacts/ios/ --loglevel verbose --record-logs all","e2e:ipad:build": "ENVFILE=.env.e2e detox build -c ios.ipadsim.debug ","e2e:ipad:test": "JEST_JUNIT_OUTPUT=\"./artifacts/test-results/ipad/junit.xml\" ENVFILE=.env.e2e detox test -c ios.ipadsim.debug --artifacts-location ./artifacts/ipad/ --record-videos all","e2e:android:build": "ENVFILE=.env.e2e detox build -c android.emu.debug","e2e:android:test": "JEST_JUNIT_OUTPUT=\"./artifacts/test-results/android/junit.xml\" ENVFILE=.env.e2e detox test -c android.emu.debug  --artifacts-location ./artifacts/android/ --record-videos all","pod:install": "cd ios && pod install && cd ..","postinstall": "patch-package","patch-package": "patch-package"  },"lint-staged": {"*.{js,ts,tsx}": ["eslint --fix","git add"    ],"*.{md}": ["prettier --write","git add"   ] },"dependencies": {"@lifeomic/attempt": "^3.0.0","@react-native-community/async-storage": "1.6.1","@react-native-community/netinfo": "^5.3.3","@react-native-community/picker": "^1.6.6","@react-native-community/slider": "^2.0.0","@types/randomstring": "^1.1.6","@types/react-native-qrcode": "^0.2.2","@types/react-redux": "^7.1.9","apollo-cache-inmemory": "^1.6.3","apollo-client": "^2.6.4","apollo-link": "^1.2.8","apollo-link-error": "^1.1.7","apollo-link-http": "^1.5.11","apollo-link-retry": "^2.2.10","date-fns": "^1.30.1","dotenv": "^6.2.0","eslint-plugin-lodash": "^6.0.0","eslint-plugin-simple-import-sort": "^4.0.0","flag": "^4.3.0","formik": "^1.3.2","graphql": "^14.0.2","graphql-tag": "^2.10.0","jail-monkey": "^2.3.0","lodash": "^4.17.11","lottie-react-native": "^4.0.3","promise": "^8.1.0","prop-types": "^15.6.0","react": "17.0.2","react-apollo": "^3.0.1","react-countdown-now": "^2.1.0","react-native": "0.65.1","react-native-animatable": "^1.3.2","react-native-branch": "4.4.0","react-native-code-push": "^6.2.0","react-native-confetti-cannon": "^1.1.3","react-native-config": "^1.4.5","react-native-device-info": "^3.0.0","react-native-elements": "^1.0.0","react-native-email-link": "^1.2.0","react-native-gesture-handler": "^1.10.3","react-native-intercom": "^13.1.0","react-native-keep-awake": "^4.0.0","react-native-linear-gradient": "^2.5.6","react-native-location": "^2.5.0","react-native-markdown-display": "^7.0.0-alpha.2","react-native-notifications": "2.0.6","react-native-offline": "^5.4.0","react-native-qrcode": "Freeformers/react-native-qrcode#5ae6d0102772a930e33c2d50b19151598fd33da0","react-native-restart": "^0.0.12","react-native-screens": "^1.0.0-alpha.23","react-native-snap-carousel": "^3.7.5","react-native-splash-screen": "3.2.0","react-native-swipe-list-view": "^2.0.0","react-native-vector-icons": "6.6.0","react-native-webview": "^9.0.0","react-navigation": "^3.11.1","react-redux": "^7.2.1","reconnecting-websocket": "^4.4.0","rollbar-react-native": "^0.9.2","rxjs": "^6.3.3","smatch": "^0.0.2","styled-components": "^5.3.3","unfetch": "^4.2.0","urijs": "^1.19.1","yup": "^0.27.0"  },"devDependencies": {"@babel/core": "^7.15.8","@babel/runtime": "^7.15.4","@freeformers/eslint-config-app": "^1.0.8","@types/graphql": "^14.0.7","@types/jest": "^24.0.13","@types/lodash": "^4.14.121","@types/node-fetch": "^2.1.6","@types/react": "^16.8.14","@types/react-native": "^0.60.5","@types/react-native-keep-awake": "^2.0.2","@types/react-native-restart": "^0.0.0","@types/react-native-snap-carousel": "^3.7.1","@types/react-native-uuid-generator": "^4.0.0","@types/react-native-vector-icons": "^4.6.4","@types/react-navigation": "^3.0.8","@types/react-test-renderer": "^16.8.1","@types/styled-components": "^4.1.14","@types/websocket": "0.0.40","@types/yup": "^0.26.12","@typescript-eslint/eslint-plugin": "^1.3.0","@typescript-eslint/parser": "^1.3.0","babel-eslint": "^10.0.1","babel-jest": "^24.7.1","codecov": "^3.6.1","detox": "^18.7.1","eslint": "^5.13.0","eslint-config-prettier": "^4.0.0","eslint-config-standard": "^12.0.0","eslint-plugin-import": "^2.16.0","eslint-plugin-node": "^8.0.1","eslint-plugin-prettier": "^3.0.0","eslint-plugin-promise": "^4.0.1","eslint-plugin-react": "^7.11.1","eslint-plugin-standard": "^4.0.0","husky": "1.2.0","jest": "^24.8.0","jest-environment-jsdom": "^24.8.0","jest-junit": "^6.4.0","lint-staged": "8.1.3","metro-react-native-babel-preset": "^0.66.2","patch-package": "^6.4.7","postinstall-postinstall": "^2.1.0","prettier": "^1.16.4","react-native-codegen": "^0.0.7","react-native-obfuscating-transformer": "^1.0.0","react-native-testing-library": "^1.8.0","react-test-renderer": "16.8.6","ts-jest": "^24.0.2","typescript": "^3.4.5"  },"rnpm": {"assets": ["./assets/fonts/"   ]  },"detox": {"configurations": {"ios.sim.debug": {"binaryPath": "ios/build/digitalmentor/Build/Products/Debug-iphonesimulator/digitalmentor.app","build": "xcodebuild -workspace ios/digitalmentor.xcworkspace -scheme digitalmentor -configuration Debug -destination 'platform=iOS Simulator,name=iPhone 11 Pro' -derivedDataPath ios/build/digitalmentor","type": "ios.simulator","name": "iPhone 11 Pro","device": {"type": "iPhone 11 Pro"    }  },"ios.ipadsim.debug": {"binaryPath": "ios/build/digitalmentor/Build/Products/Debug-iphonesimulator/digitalmentor.app","build": "xcodebuild -workspace ios/digitalmentor.xcworkspace -scheme digitalmentor -configuration Debug -destination 'platform=iOS Simulator,name=iPad Pro (12.9-inch) (3rd generation)' -derivedDataPath ios/build/digitalmentor","type": "ios.simulator","name": "iPad Pro (12.9-inch) (3rd generation)","device": {"type": "iPad Pro (12.9-inch) (3rd generation)"    }  },"android.emu.debug": {"binaryPath": "android/app/build/outputs/apk/debug/app-debug.apk","build": "cd android && ./gradlew assembleDebug assembleAndroidTest -DtestBuildType=debug && cd ..","type": "android.emulator","name": "Pixel_3_API_29"  }},"test-runner": "jest"

}}

Please let me know if more information is required.

Thanks in advance.[1]: https://i.stack.imgur.com/B18pQ.png


Viewing all articles
Browse latest Browse all 6404

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>