Quantcast
Channel: Active questions tagged react-native+android - Stack Overflow

android 16 mic issue

ProblemI am using react-native-audio-recorder-player for microphone open/close handling inside a React Native voice SDK.On Android 16, the first microphone session works correctly, but if I rapidly...

View Article


EAS Build Fails with "Deprecated Gradle features" Cannot Generate APK

I've been trying to generate an APK of my React Native Expo Dev Client app, and I'm stuck on an error. I managed to generate it successfully the first time using EAS Build, and it worked. However, one...

View Article


Image may be NSFW.
Clik here to view.

JAVA_HOME is not set and no 'java' command could be found in your PATH

I am trying to build a react-native app on my mobile phone.I do have environment path set in my environment variableI have my phone in debugging mode with adb devices showing phone connected. My java...

View Article

What is the cxx folder under android in react native project

When I build the project for android there is a cxx folder created under android/app/. When I clean the project either through Android Studio or using ./gradlew clean, this folder sometimes causes...

View Article

Image may be NSFW.
Clik here to view.

[runtime not ready]: Invariant Violation:...

I'm receiving this error in my app and I'm not sure how I can resolve it because I was looking for a solution on internet and everything the solves are clean the project and re-run but this don't work...

View Article


Android HCE: setPreferredService() silently ignored despite foreground call,...

BackgroundI have a transit card HCE app that emulates Korean KS X 6924 transit cards (T-money/Cashbee category AIDs). The app's HostApduService registers 6 transit AIDs under category="payment".When...

View Article

"Your app must support 16 KB memory page sizes by November 1, 2025". How can...

The message:The issue arises from the interaction between Android’s memory page size and the alignment of native libraries (.so files) in your APK.On most Android devices, memory pages are typically 4...

View Article

Material icons not showing in bottom tab android

I recently updated my project to Expo 56 and decided to migrate to the experimental native bottom tabs using @react-navigation/bottom-tabs/unstable.Everything works perfectly on iOS using sfSymbol, and...

View Article


Invariant Violation: TurboModuleRegistry.getEnforcing(...):...

Invariant Violation: TurboModuleRegistry.getEnforcing(...):'RNGestureHandlerModule' could not be found. Verify that a module bythis name is registered in the native binary.Bridgeless mode:...

View Article


Expo doctor reports android/ios module directories as gitignored after pnpm...

After I updated pnpm from 10.22 to 11.5.2, expo-doctor now reports a failed check that wasn't failing before.My project is a monorepo:/app/shared/webThe error from expo-doctor:18/19 checks passed. 1...

View Article

React native "Attempt to invoke virtual method...

I'm trying to incorporate Twilio voice using the react-native-twilio-programmable-voice package. My app loads on ios, but when running on android I get this error message Attempt to invoke virtual...

View Article

Image may be NSFW.
Clik here to view.

React native text is cutting when render

I'm making an app in react native, this work fine in the majority devices, but in Honor and some Samsungs devices the text is cutting suddenly.How i rendered my text?I attach an example how to make...

View Article

Android NFC on physical devices

I am using react-native-nfc-manager to make an app which scans NFC tags for iOS & Android. Both parts work which is good but not on all devices. For example:Working devices:iPhone 17 Pro MaxSamsung...

View Article


cmd : react-native run-android on every file change

When I run react-native run-android, the build is deployed to emulator and the program executes fine. But after I make changes to the files locally, I need to run react-native run-android.Any way this...

View Article

Image may be NSFW.
Clik here to view.

Axios showing Error:" Err_Bad_Request" while sending formdata using React...

I'm attempting to send both image data (in Buffer format) and some text using formData from my Expo React Native application to a Node.js server with MongoDB. Strangely, I'm encountering an issue where...

View Article


RN 0.74.7 can't find repo for ffmpeg-kit-react-native 6.0.2

My React Native 0.74.7 (on MacOS) app has hard time to find the ffmpeg-kit-react-native repo when run-android. It constantly complains no repo found on maven. Here is the error when react-native...

View Article

Image may be NSFW.
Clik here to view.

React Native Maps: Markers image doesn't show using Custom Marker in...

I'm using react-native-maps but I faced a problem that after a lot of googling without answer makes me ask it here.I'm trying to use Custom Marker for the marker in the map as the following picture as...

View Article


Can't set up Google OAuth 2.0 from Expo Go

I'm developing a react app. Google OAuth 2.0 login works on the web version. However, on Android (Expo Go), I constantly encounter the error:Access blocked:Authorization Error.Error 400:...

View Article

Android Flavor Issue: Activity class {com.company.test/.SplashActivity} does...

I'm running into an issue with my React Native Android app when using flavors. The Iraqi flavor (default) builds and runs fine, but the Lebanon flavor (which uses an applicationIdSuffix) builds...

View Article

Task :react-native-gradle-plugin:compileKotlin FAILED

Task :react-native-gradle-plugin:compileKotlin FAILED'compileJava' task (current target is 1.8) and 'compileKotlin' task (current target is 11) jvm target compatibility should be set to the same Java...

View Article

I have built a react-native app. I am restricting this app in Dubai region

I am building a react native app. The app is restricted usage in Dubai. The app can be restricted usage in certain countries by changing the settings in app store and google play console for ios and...

View Article


Entire react native app showing on lockscreen

I have an app with the following code on the MainActivity.java:package com.MyApp;import com.facebook.react.ReactActivity;import com.facebook.react.ReactActivityDelegate;import...

View Article


Not adhering to Google Play Developer Program policies

All I changed on my android app is the app icon and I my update got rejected and the reason is "Not adhering to Google Play Developer Program policies"Please anyone with necessary information should...

View Article

How to reduce Android APK size in react-native?

I am working on react native project , but whenever i am building an Apk file , it give me Apk of 47MB.I tried every documentation which i found useful on google but nothing works for me, Is there any...

View Article

Local Android Build Failed - Errors coming from react-native-nitro-modules,...

Issue on GitHub discussions: https://github.com/Shopify/react-native-skia/discussions/3922Hey everyone,I've been running into a local Android build error when using react-native-nitro-modules,...

View Article


Image may be NSFW.
Clik here to view.

React native android app is showing blank white screen after building

In the above image, you can see that the app has been built successfully and has started the metro bundler.If I try to click on R, It is saying that no device is connected even though the app is...

View Article

Image may be NSFW.
Clik here to view.

How change React Native and Metro Bundler port

I'm trying to start the React Native debugger and bundler in port 8088 because 8081 used by another program, using the following command:react-native run-android --port=8088The emulator reverse is set...

View Article

React-Native-Video how to pause the video when video not in full screen or...

i am making a Android video gallery app like YouTube using React-Native for that i am using 'react-native-video' , package While using it i had a problem with video auto-play option all videos are...

View Article

React Native: error Failed to install the app. Make sure you have the Android...

I am new to react native, I tried to install BackEndless from this link:Patch for using Backendless JS-SDK inside React Native App.but I recognized that this was a mistake to do, any way, after...

View Article



React native TextInput border not working

Here's my style for the input: searchBarInput: { flex: 1, fontSize: 20, fontWeight: 'bold', color: 'white', height: 50, padding: 0, backgroundColor: 'transparent', borderColor: '#000000', borderWidth:...

View Article


Latest Images