Category "react-native-android"

Error while executing npx react-native run-android

I am new to React native and trying to connect my android device but it is showing the following error. I have probably made some mistakes during installation.

How to decrease React-Native android App Size

For my react native android app, size of codes I have written is only 12KB But package generated is of size 7.9MB. How can i decrease that. As per Documentati

KeyboardAvoidingView not Working Properly

KeyboardAvoidingView not Working Properly I am trying to use the KeyboardAvoidingView with behavior="padding". For some reason, when I'm trying to enter any tex

React Native Android No such property - logger for class DefaultProjectDescriptor

I am developing my app using React Native and now when I open the android project in Android Studio, during gradle sync it is throwing this error: A problem occ

Change the default React Native <Picker> drop-down arrow icon

I want to change its color specifically: <Picker selectedValue={this.state.selected} onValueChange={(value) => this.setState({selected:value})}

React-native Android Set only Portrait Mobile Phones Otherwise tablets shows landScape and Portrait

I have a small problem in this case in my app I set default Portrait.But now this time i want show Portrait and landScape in Tabs not only Mobile phone .In mob

com.facebook.react.uimanager.IllegalViewOperationException: Trying to add unknown view tag

com.facebook.react.uimanager.IllegalViewOperationException: Trying to add unknown view tag: 1122 How to resole this bug,How to find where cause this crash?

React Native. Native Android component is not rendered

I want to add a component from Android to React Native. But it does not render and does not have dimensions. How can I fix this and display the component? Code

How to set shadows in React Native for android?

Hi am trying to set a shadow for my fab but my attempts has failed so far i tried setting shadow props but that is for ios only so i tried to play with elevatio

react native vector icons won't show in android device

I used react-native-vector-icons in my react native project and start app with npm start. Icons are displaying normally in iOS, but won't show in android. Thing

java.lang.NullPointerException React Native

I've been trying to build my React Native application for release, but I always get this error: FAILURE: Build failed with an exception. * What went wrong: ja

Is it possible to capitalize first letter of text/string in react native? How to do it?

I have to capitalize first letter of text that i want to display. I searched for it but i cant found clear thing to do that, also there is no such props for tex

How to multiple TextInput handle with single handler?

I have create common class for TextInput and use it multiple time but its event handle with same method. i want to handle array data after filled the data in te

Warning: Failed prop type: Invalid prop `value` of type `number` supplied to `TextInput`, expected `string`

in react-native, I have: Warning: Failed prop type: Invalid prop `value` of type `number` supplied to `TextInput`, expected `string`. I have a postalCode an

Why "Watchman crawl failed" error in react-native immediately after updating to macOS catalina?

Trying to run react-native run-ios or build RN project from xcode, as soon as metro bundler starts, this error appears in the terminal: Loading dependency grap

Facing issue " Failed to install the app. Make sure you have the Android development environment " in react native

Would you please help me, I am stuck to create a new project in react-native Like below screenshot. I have able to run old projects. but I am not able to run a