‘The Android Gradle plugin supports only Kotlin Gradle plugin version 1.3.40 and higher’ React Native Error Fix

I was working on a react native project where I installed watermelonDB for storage purposes. After the installation, I could not run the project on Android emulator because of the following error. The error was related to Kotlin Gradle Plugin. The same issue was raised by someone else on Github and there I found the…

How to Fix Android Gradle plugin requires Java 11 to run React Native Error

I was trying to run a new react native project using my Android emulator and I faced an unexpected react native issue that says the Android Gradle plugin requires Java 11 to run. Following is the complete error. The issue is with the JDK. As you can see, the error message is advocating us to…

How to Fix ‘while resolving: undefined@undefined’ Error while Creating new React Native Project

Recently, I faced an unexpected react native error. I was creating a new React Native project with the command npx react-native init and I was shown an undefined@undefined error in the terminal. Following is the complete error. Following is the solution for this react native error. Go to users/YourName/ folder. Unhide the hidden folders. If…

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 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 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…

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…

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…

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…