You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I try to run my project using react-native run-android it shows me this error:error Failed to install the app. Make sure you have the Android development environment set up: https://facebook.github.io/react-native/docs/getting-started.html#android-development-environment.
Also, when I run from Android Studio it shows this error:ERROR: Android dependency 'org.webkit:android-JSC:r245459' is set to compileOnly/provided which is not supported</code>
I encountered the same problem yesterday. What I did is that inside my android/build.gradle, I replaced maven { url 'https://jitpack.io' } with maven { url 'https://www.jitpack.io' }, then I downloaded jetifier npm install --save-dev jetifier and ran npx jetifier. That solved my problem :)
I encountered the same problem yesterday. What I did is that inside my android/build.gradle, I replaced maven { url 'https://jitpack.io' } with maven { url 'https://www.jitpack.io' }, then I downloaded jetifier npm install --save-dev jetifier and ran npx jetifier. That solved my problem :)
Hi! I created new react native project and I can't build on android
React Native version:
System:
OS: macOS 10.15
CPU: (4) x64 Intel(R) Core(TM) i5-5350U CPU @ 1.80GHz
Memory: 60.53 MB / 8.00 GB
Shell: 3.2.57 - /bin/bash
Binaries:
Node: 10.2.1 - /usr/local/bin/node
Yarn: 1.16.0 - ~/.yarn/bin/yarn
npm: 6.4.1 - /usr/local/bin/npm
IDEs:
Android Studio: 3.5 AI-191.8026.42.35.5791312
Xcode: /undefined - /usr/bin/xcodebuild
npmPackages:
react: 16.9.0 => 16.9.0
react-native: 0.61.1 => 0.61.1
npmGlobalPackages:
react-native-cli: 2.0.1
When I try to run my project using
react-native run-android
it shows me this error:error Failed to install the app. Make sure you have the Android development environment set up: https://facebook.github.io/react-native/docs/getting-started.html#android-development-environment.
Also, when I run from Android Studio it shows this error:
ERROR: Android dependency 'org.webkit:android-JSC:r245459' is set to compileOnly/provided which is not
supported</code>
This is my package.json file:
{
"name": "churchmap",
"version": "0.0.1",
"private": true,
"scripts": {
"android": "react-native run-android",
"ios": "react-native run-ios",
"start": "react-native start",
"test": "jest"
},
"dependencies": {
"react": "16.9.0",
"react-native": "0.61.1"
},
"devDependencies": {
"@babel/core": "^7.5.0",
"@babel/runtime": "^7.5.0",
"@react-native-community/eslint-config": "^0.0.3",
"babel-jest": "^24.1.0",
"jest": "^24.1.0",
"metro-react-native-babel-preset": "^0.51.1",
"react-test-renderer": "16.8.1"
},
"jest": {
"preset": "react-native"
}
}
The text was updated successfully, but these errors were encountered: