this error occurs when I running the newly created plain react native app:
npx @react-native-community/cli@latest init <Project Name>
after I ensure with
npx react-native doctor
to ensure all the requirements has been fullfilled (this requirement is fullfilled for mine)
Lastly, I trying to run using
npx react-native run-android
this will through the error of
id: com.facebook.react.settings
I tried to deleting the folder of android.gradle
and again run the server with cache clean
npm start --reset-cache
again the same error comes
Does anyone having any solutions or suggestions?
2
Answers
I fixed that issue
com.facebook.react.settings
andTask :app:configureCMakeDebug[arm64-v8a] FAILED #37124
run the following command after creating the React-Native project :
to make sure all the requirements should be satisfied
start the metro server using the command:
from here i got the
com.facebook.react.settings
error to fix:.gradle
file under the android folderusing
or
check if the
build
folder is generated under theandroid
folderTo fix Cmake Error - task ':app:configureCMakeDebug[arm64-v8a]':
inside the
gradle.properties
file to change the value ofFinally, run
Please try with bellow way.