react-native
TypeError: Component is not a function on adding forwardRef
after wrap the component by React.forwardRef and pass ref from parent component you need to reload the app ! i faced that now and saw the same error message and simply solved by reloading the app
react native bundle sha-1 for file not computed(unable to load script from assets index.android.bundle)
I updated react-native-cli and the problem disappeared : npm i -g react-native-cli
React Native: Execution failed for task ‘:app:transformDexArchiveWithExternalLibsDexMergerForDebug’
Got same error a couple of days back, seems you’ve got to enable multidex to true and delete the build folder. Go to android/app/build.gradle and add the line multiDexEnabled true and set minSdkVersion to 21 inside defaultConfig like this … android{ … defaultConfig { … minSdkVersion 21 multiDexEnabled true } … } … You can … Read more
Failed to run jetifier React Native
Use this : step 1: add these two lines in gradlew.properties Visit for complete guideline android.useAndroidX=true android.enableJetifier=true step 2: use these commands First of all remove node_modules folder and reinstall it using npm install or yarn and then npm install –save-dev jetifier npx jetify npx react-native run-android Call npx jetify every time when (your dependencies … Read more