Questions tagged [react-native-cli]
230 questions
1
vote
2 answers
React Native calendrer working properly but I want if add event to specific date in date color change
function Four({ navigation, route }) {
const { dateTime } = route.params;
const [name, setName] = useState();
const [note, setNote] = useState();
const [des, setDes] = useState();
const [result, setResult] = useState();
…
user19534405
1
vote
1 answer
our Ruby version is 2.6.8, but your Gemfile specified 2.7.5
Error while creating a React Native project. I've done all the updates. and my Ruby -V is also 3.1.2 but error still same How can I solve the problem?.

usama
- 13
- 1
- 4
1
vote
1 answer
how to make status bar use background as image in React Native
I want this status bar to take the background as this image, is it possible with react native and what could be the approach

Owais Iqbal
- 23
- 4
1
vote
1 answer
React Native Drawer Dependencies
Can somebody send a screenshot of the dependencies needed to run Drawer component in react native
Ps. it will help better if its a screenshot of packages.json
Thanks!

Amila
- 63
- 7
1
vote
0 answers
Expo to React Native Cli
I am trying to run an android emulator in Android Studio for react native cli, I successfully ejected from Expo app to react native but when i tried to run android emulator I got this Error
"CommandError: The development client…

Oluwasegun Adesola
- 11
- 1
1
vote
2 answers
Android Bundling failed in expo-cli when we run "npm start" or scan expo app in mobile
ERROR
00:46
Building JavaScript bundle: error
ERROR
00:46
Unable to resolve module expo-constants from C:\Users\HP\Desktop\React Native\HelloApp\node_modules\expo-asset\build\LocalAssets.js: expo-constants could not be found within the project…

Sarfaraz Raza Qadri
- 21
- 2
- 4
1
vote
3 answers
react-native run-android gives err FAILURE:Build failed Where: Build file 'C:\...\node_modules\react-native-gradle-plugin\build.gradle.kts' line: 11
i am new to react-native cli
any time i run npm run android in my react-native project after opening the emulator and js server
while it throws an error saying
FAILURE: Build failed with an exception.
* Where:
Build file…

Icekid
- 435
- 3
- 14
1
vote
0 answers
Execution failed for task ':app:processDebugResources'. While Running the App
After running the app I am getting this > Task :app:processDebugResources FAILED
25 actionable tasks: 25 executed
FAILURE: Build failed with an exception.
What went wrong:
Execution failed for task ':app:processDebugResources'.
A failure occurred…

pallavi yelagandula
- 11
- 2
1
vote
1 answer
'react-native' 'run-android' fails, but the app run successfully from Android studio
The app runs from Android studio without any issue, but using react-native run-android I get this error message:
info JS server already running.
info Installing the app...
info Connecting to the development server...
info Starting the app on…

B. Mohammad
- 2,152
- 1
- 13
- 28
1
vote
0 answers
How can I run background timer in React Native?
Is there a way in react-native to run background tasks, that will execute even if the user clears cache or reboot his device(such as android native stopwatch)?
I've tried to implement timer with this library…

Dima Vasyliev
- 11
- 3
1
vote
2 answers
Execution failed for task ':app:processDebugMainManifest'. in ReactNative CLI
I try to build a ReactNative app using ReactNative CLI following the steps in their documentation: Link for the documentation
After downloading the initializing the App I tried to run the app:
npx react-native start - to start the metro bundler and…

Pawara Siriwardhane
- 1,873
- 10
- 26
- 38
1
vote
3 answers
How to change Botton tab bar Background Color in React Native?
I'm using @react-navigation/bottom-tabs Package. But I don't know how to change background color of the tab bar. Here is my Code.
import React from "react";
import { createBottomTabNavigator } from '@react-navigation/bottom-tabs';
import Home from…

Talha Akbar
- 462
- 3
- 15
1
vote
0 answers
why is npx react-native run-android Not working on my windows
Hello friends pls I have been stuck on this error for the past weeks I'm trying to run a React native cli project on my Windows laptop and after following the documentation on the official create React native website I still get this error I have…

The Newbie
- 11
- 8
1
vote
0 answers
React Native video end up white screen and app not responding
I'm trying to render a video that runs in the screen whenever I open the app. I used yarn add react-native-video . I followed the code as in npm react-native-video and few youtube tutorials.
I expect the video will run once I open the app in loop…

BunnyHOPE
- 53
- 6
1
vote
0 answers
Building apk from react native failed with following Errors
building apk used the following to build in react native
react-native bundle --platform android --dev false --entry-file index.js --bundle-output android/app/src/main/assets/index.android.bundle --assets-dest android/app/src/main/res
cd…

Rahul Kumar Choudhary
- 31
- 1
- 7