How to Request Multiple Permissions for Android in React Native

Android apps need to ask for permission while running. In this blog post, let’s learn how to request multiple permissions at once for Android in react native. The PermissionsAndroid API is used to request permissions in react native. The API has the requestMultiple method that helps to ask for all permissions at once. First of … 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 Prevent taking Screenshots in React Native App (Android)

Mobile users can take screenshots in any app easily. In some scenarios, you may want to prevent users from taking screenshots inside your app. In this tutorial, let’s check how to prevent screenshots in react native app. Please note that this tutorial works only for Android apps created using react native. Go to YourProject/android/app/src/main/java/com/yourproject/MainActivity and … 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 do Wireless Debugging in React Native with Android Devices

wireless debugging react native android

Usually, we run react native apps on real Android devices using the USB debugging method. The main issue with this method is that you need your device connected through a USB cable all the time. In this blog post, let’s how to debug or run your react native apps over a wireless network (WiFi). First … Read more

How to Generate Debug APK File in React Native

We always want to test our app before creating a signed APK file or ABD file and publishing it to the Google Play Store. Generating a debug APK file not only helps us to test the app ourselves but also let us to share it among other users. Let’s check how to generate debug APK … 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

How to Integrate Google Maps in your React Native App (Android)

When coming to location-based maps, you can’t ignore Google Maps. In this blog post, let’s see how to integrate Google Maps in your React Native Android app. We use React Native Maps react native library to add Google Maps. Before that, we need Google developer API to implement maps in your app. Get Google Maps … 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 … Read more

How to Integrate ‘Sign in with Google’ in React Native (Android)

Most of the mobile users in this world have atleast one google account. Hence, using Google account to authenticate user is always used in many mobile apps. In this blog post, let’s see how to setup ‘sign in with google’ in react native. First of all, go to Firebase console and add a new project. … 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 … Read more