A problem occurred configuring project ':react-native-gradle-plugin'.

This issue has been created since 2022-09-21.

Description

A problem occurred configuring project ':react-native-gradle-plugin'.

Could not create service of type OutputFilesRepository using ExecutionGradleServices.createOutputFilesRepository().
java.io.FileNotFoundException:

Version

0.71

Output of npx react-native info

System:
OS: macOS 12.1
CPU: (8) x64 Intel(R) Core(TM) i7-4770HQ CPU @ 2.20GHz
Memory: 78.09 MB / 16.00 GB
Shell: 5.8 - /bin/zsh
Binaries:
Node: 16.15.1 - /usr/local/bin/node
Yarn: 1.22.19 - /usr/local/bin/yarn
npm: 8.13.2 - /usr/local/bin/npm
Watchman: Not Found
Managers:
CocoaPods: 1.11.3 - /usr/local/bin/pod
SDKs:
iOS SDK:
Platforms: DriverKit 21.4, iOS 15.5, macOS 12.3, tvOS 15.4, watchOS 8.5
Android SDK: Not Found
IDEs:
Android Studio: 2021.2 AI-212.5712.43.2112.8609683
Xcode: 13.4.1/13F100 - /usr/bin/xcodebuild
Languages:
Java: 17.0.3.1 - /usr/bin/javac
npmPackages:
@react-native-community/cli: Not Found
react: 18.1.0 => 18.1.0
react-native: 0.70.1 => 0.70.1
react-native-macos: Not Found
npmGlobalPackages:
react-native: Not Found

Steps to reproduce

npx react-native run-android

Snack, code example, screenshot, or link to a repository

Screen Shot 2022-09-21 at 07 55 28

cortinico wrote this answer on 2022-09-21

Can you copy the build output instead of screenshotting it? It makes really hard for us to interact with it.

I would suggest you wipe your node_modules and do yarn install again. It seems there is a .lock file which is preventing Gradle from running.

rahulnainwal107 wrote this answer on 2022-09-27

I am running a brand new project with following configuration but there is no such issue for me -

System:
OS: macOS 12.3
CPU: (12) x64 Intel(R) Core(TM) i7-9750H CPU @ 2.60GHz
Memory: 771.60 MB / 16.00 GB
Shell: 3.2.57 - /bin/bash
Binaries:
Node: 16.13.2 - /usr/local/bin/node
Yarn: 1.22.17 - /usr/local/bin/yarn
npm: 8.1.2 - /usr/local/bin/npm
Watchman: 2022.01.10.00 - /usr/local/bin/watchman
Managers:
CocoaPods: 1.11.3 - /usr/local/bin/pod
SDKs:
iOS SDK:
Platforms: DriverKit 21.4, iOS 15.4, macOS 12.3, tvOS 15.4, watchOS 8.5
Android SDK: Not Found
IDEs:
Android Studio: 2020.3 AI-203.7717.56.2031.7935034
Xcode: 13.3/13E113 - /usr/bin/xcodebuild
Languages:
Java: 11.0.11 - /usr/bin/javac
npmPackages:
@react-native-community/cli: Not Found
react: 18.1.0 => 18.1.0
react-native: 0.70.1 => 0.70.1
react-native-macos: Not Found
npmGlobalPackages:
react-native: Not Found

More Details About Repo
Owner Name facebook
Repo Name react-native
Full Name facebook/react-native
Language JavaScript
Created Date 2015-01-09
Updated Date 2022-10-07
Star Count 105180
Watcher Count 3671
Fork Count 22481
Issue Count 2230

YOU MAY BE INTERESTED

Issue Title Created Date Comment Count Updated Date
Unable to generate panId 2 2022-02-03 2022-09-24
Improve automatic check script 0 2022-06-01 2022-09-16
@uni/env能否支持判断isRax吗? 2 2021-07-22 2022-09-24
@uni/clipboard浏览器ios模拟,setClipboard不起作用 2 2021-06-17 2022-10-03
Integrated Pathway Analysis failed 0 2021-12-02 2022-09-20
Revise ⚡ to `Case Studies` > `Savings account` 3 2022-01-10 2022-07-21
Flashing not working 5 2022-01-28 2022-10-01
[BUG]: Crash after calling setSubscriptionDuration 1 2021-11-22 2022-10-02
Version 1.10 release 2 2022-02-17 2022-08-28
緯度・経度に文字列型と数値型が混在している 2 2021-08-29 2022-09-26
Release tags are missing 2 2021-03-24 2022-10-03
not equal sign renders incorrectly 9 2019-03-21 2022-09-24
Implement a tooltip with smart filters documentation 1 2022-04-20 2022-09-16
Replace enzyme with testing library 0 2022-04-21 2022-09-23
Refactor topics reducer to use redux toolkit approach 0 2022-04-21 2022-09-18
Refactor connect reducer to use redux toolkit approach 0 2022-04-21 2022-09-05
Introduction of Tabs in common headers component 0 2022-05-18 2022-09-24
bash: line 1: nerdctl: command not found 13 2022-03-13 2022-08-27
How to get full positions if switch Hedge Mode (binance) 0 2022-02-13 2022-09-24
Instant summons will summon any container the object is in, including players 5 2022-02-26 2022-10-03
'cannot create regular file' Build issue on manjaro 4 2021-08-25 2021-12-25
Unable to start Localstack in Docker - Kinesis Fails to Start/Errors 1 2021-09-14 2022-09-30
Merge 'managing_attributes' and 'manage_users' capabilities 0 2021-05-14 2022-08-07
Serve all functions locally in one command 1 2022-09-27 2022-09-30
Supabase Functions to supports GET (and other) requests 1 2022-09-27 2022-09-29
No samples for New-MgAppCatalogTeamApp/Update-MgAppCatalogTeamApp cmdlets 1 2022-04-24 2022-09-17
Add pagination to Nivo Charts 5 2022-07-04 2022-09-30
Config update race condition 1 2019-09-13 2022-10-04
[BottomSheetDialogFragment] AppTheme still does not get applied 2 2021-07-02 2022-09-23
Serialized json of `GetRawTransactionResult` returns empty `Addresses` in Vout 2 2022-03-22 2022-08-23
Can not show digital signature in pdf file 4 2021-10-21 2022-10-04
Option: Pass Mattermost username as display name in Jitsi Meeting by default 0 2021-08-02 2022-09-28
SHFB: Error BE0065: BUILD FAILED: Object reference not set to an instance of an object. 7 2022-06-29 2022-08-25
ghcWithPackages environment doesn't build with integer-simple 6 2022-01-03 2022-09-24
IServerSideRowModel no longer exports isLoading 1 2022-04-01 2022-10-05
[Enhancement] Few enhancements. 3 2021-01-12 2022-09-30
关于do_snapshot问题请教 2 2019-09-20 2022-01-20
Support for RedHat derivatives version 8 and 9 0 2022-07-11 2022-07-31
Wallet Not Loading 2 2021-01-25 2022-01-11
Add XPath function to tell whether the form is running in the background 2 2021-08-16 2022-09-29
Quarto config file is changed by nbdev_docs 3 2022-09-08 2022-09-26
Update the `.libPaths()` content 0 2022-09-01 2022-09-25
Neo4j streams consuming same message multiple times 12 2021-10-13 2022-10-04
Use size of parent nodes if present 1 2022-05-19 2022-09-22
Go container node install fails with 'none' option 3 2021-08-13 2022-09-25
[DataCap Allocation] - Client Allocation Request for: Hunan Gubao Network Technology 5 2022-09-09 2022-09-30
[DataCap Application] <Duo Mu Media (Shenzhen) LTD> 2 2022-09-08 2022-09-30
[DataCap Application] Brazil Data Cube 2 2022-09-08 2022-09-30
Graph node type transformation 5 2021-11-26 2022-10-05
propName.toLowerCase is not a function in node_modules/@ngtools/webpack/ivy/loader.js 0 2022-07-21 2022-07-15