Errors and Fixes

How to Fix ‘Expiring Daemon because JVM heap space is exhausted’ React Native Error

When you integrate heavy third-party libraries such as OneSignal, there are chances you face Expiring Daemon because JVM heap space is exhausted error. This error occurs when you try to run your react native project on Android devices. The issue is Android-specific and it’s happening because allocated JVM memory is not enough to build your …

How to Fix ‘Expiring Daemon because JVM heap space is exhausted’ React Native Error Read More »

How to Fix Unrecognized command “start” React Native Error

Nowadays, I face very few issues regarding react native command line. But recently when I executed the react-native start command on the terminal I got the following error. Apparently, this wasn’t a react native issue. It was a mistake from me. I should have executed the npx react-native start command from the project folder and …

How to Fix Unrecognized command “start” React Native Error Read More »

How to Fix Failed child context type: Invalid child context Warning in React Native

When you use components such as FlatList, you may get few warnings in react native. Even though these warnings may not appear as crucial it’s always better to fix those warnings. One such warning you may come across is given below. Warning: Failed child context type: Invalid child context virtualizedCell.cellKey of type number supplied to …

How to Fix Failed child context type: Invalid child context Warning in React Native Read More »

More than one file was found with OS independent path ‘lib/x86/libc++_shared.so’ React Native Error Fix

It’s usual to encounter unprecedented errors when you are using so many third-party libraries in your react native project. Recently I faced a build error when I tried to run a react native android app. Following is the error shown in the terminal. Execution failed for task ‘:app:mergeDebugNativeLibs’.A failure occurred while executing com.android.build.gradle.internal.tasks.Workers$ActionFacadeMore than one …

More than one file was found with OS independent path ‘lib/x86/libc++_shared.so’ React Native Error Fix Read More »

React Native Android Apps must Target Android 10 (API Level 29)

If you are a react native developer who regularly publishes apps through Google Play Store then you might already know this – According to new Google Play Policies, they accept only new Android apps that target at least API level 29 i.e. Android 10. And by 2 November 2020, they also stop updates of existing …

React Native Android Apps must Target Android 10 (API Level 29) Read More »

You uploaded an APK or Android App Bundle that was signed in debug mode React Native Play Store Issue Fix

One of my Android apps developed using react native app was about to release. I followed every instruction given in the official documentation regarding publishing the android app to PlayStore. But, when I uploaded the generated Android App Bundle file in Google Play Console I got the following error. You uploaded an APK or Android …

You uploaded an APK or Android App Bundle that was signed in debug mode React Native Play Store Issue Fix Read More »

Timeout waiting to lock artifact cache. It is currently in use by another Gradle instance. React Native Android Gradle Error Fix

I stumbled upon the following react native issue when I was trying to run one of my react native projects on the Android emulator. Could not resolve all dependencies for configuration ‘:classpath’. > Timeout waiting to lock artifact cache (/home/rashid/.gradle/caches/modules-2). It is currently in use by another Gradle instance. Owner PID: 19520 Our PID: 24483 …

Timeout waiting to lock artifact cache. It is currently in use by another Gradle instance. React Native Android Gradle Error Fix Read More »

‘Emulator: ERROR: Running multiple emulators with the same AVD is an experimental feature’ Error Fix

As I don’t like to open Android Studio always, I prefer to launch Android emulators using terminal. Recently, I got the following error when I tried to start an emulator . emulator: ERROR: Running multiple emulators with the same AVD is an experimental feature. Yes, this is an error related to Android emulator and this …

‘Emulator: ERROR: Running multiple emulators with the same AVD is an experimental feature’ Error Fix Read More »

Unable to resolve module `@babel/runtime/helpers/interopRequireDefault` React Native Error Fix

Today, I was trying to run a new react native project with some third-party libraries installed. When I executed react-native run-android command I got the following error. Unable to resolve module `@babel/runtime/helpers/interopRequireDefault` from App.js: @babel/runtime/hepers/interopRequireDefault could not be found within the project. Following is the screenshot of the react native error. As mentioned in the …

Unable to resolve module `@babel/runtime/helpers/interopRequireDefault` React Native Error Fix Read More »

Keystore file not found for signing config ‘debug’ React Native Error Fix

Yes, I am back with another react native error. When I cloned one of my react native projects and tried to run it on my Android emulator using react-native run-android . And I got the following error on the terminal: What went wrong:Execution failed for task ‘:app:validateSigningDebug’.> Keystore file ‘YourProject/android/app/debug.keystore’ not found for signing config …

Keystore file not found for signing config ‘debug’ React Native Error Fix Read More »

GestureHandler already initialized for root view com.swmansion.gesturehandler.react.RNGestureHandlerEnabledRootView React Navigation Issue Fix

Straight to the point, I faced the following react native error when I ran one of my react native project. GestureHandler already initialized for root view com.swmansion.gesturehandler.react.RNGestureHandlerEnabledRootView{736d100 V.E…… …….D0,0-1080, 1962 #29} Yes, the error is related with react native gesture handler library I used in association with react navigation library. React native gesture handler is …

GestureHandler already initialized for root view com.swmansion.gesturehandler.react.RNGestureHandlerEnabledRootView React Navigation Issue Fix Read More »

Requiring unknown Module “1171” React Native Error Fix

While developing react native apps, you may face unexpected errors that appear from nowhere. I faced one such react native error recently. It says Requiring unknown module “1171”. If you are sure the module is there, try restarting Metro Bundler. You may also want to run `yarn`, or `npm install` (depending on your environment). In …

Requiring unknown Module “1171” React Native Error Fix Read More »

A problem occurred evaluating project ‘:react-native-reanimated’. > Cannot get property ‘supportLibVersion’ on extra properties extension as it does not exist React Navigation Error Fix

React Navigation is the most popular navigation library used in react native projects. Today, I created a new react native project with the latest version 0.61.1. Then I installed react navigation library (version 4.0.10) by following instructions from their official documentation. But when I tried to run the project an error had shown as below: …

A problem occurred evaluating project ‘:react-native-reanimated’. > Cannot get property ‘supportLibVersion’ on extra properties extension as it does not exist React Navigation Error Fix Read More »

APK Upload Failed even after Updating Version Code Google Play Console Error Fix

Recently, my APK upload failed multiple times when I was trying to update one of my react native apps through Google Play Publisher portal. The error says that Upload Failed – You need to use a different version code for your APK or Android App Bundle beacuse you already have one with xx . The …

APK Upload Failed even after Updating Version Code Google Play Console Error Fix Read More »