How to Fix React Native iOS Build Issues on M1 Mac

I own an M1 Macbook pro and is used for my software development purpose. Even though building react native Android app is flawless I always face issues while building iOS apps. This blog post is about common react native iOS build problems and solutions for M1 Mac users. Pod Install Failure The failure of the … Read more

‘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 … Read more

Android Emulator Showing Wrong Time Error Fix

I was working on a react native project which is time sensitive. Unfortunately, my Android Emulator on my M1 Macbook pro always shows the wrong time. Even changing the time didn’t help the case. A quick google search helped me to find the solution. One solution was to turn off and then turn on emulator … Read more

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

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

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

Expiring Daemon because JVM heap space is exhausted

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

How to Fix Unrecognized command “start” React Native Error

unrecognized command start react native

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

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

react native flatlist warning

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