Description
When trying to run react-native run-android on a linux machine I get the above error,
The error is not related to hot reloading as it appears at the first attempt to debug the app
Code Example
importReact,{Component}from'react';import{StatusBar,Dimensions,ImageBackground,Alert}from'react-native';importAsyncStoragefrom'@react-native-community/async-storage';import{View,Text,Spinner,Button}from'native-base';import{baseUrl}from'../shared/baseUrl';import{User}from'./Models/User';import{GlobalFont}from'react-native-global-font';exportdefaultclassLoginextendsComponent{constructor(props){super(props);this.state={loading: true,phone: '',password: '',loginButtonContent: ()=>null}}
...........<ViewkeyboardVerticalOffset={-100}behavior="padding"style={{flex: 1}}><StatusBartranslucent={true}backgroundColor="transparent"barStyle="light-content"/><ImageBackgroundprogressiveRenderingEnabled={true}source={require('./images/login-background.png')}resizeMode="cover"style={{padding: 0,borderRadius: 0,height: Dimensions.get('window').height,width: Dimensions.get('window').width,flex: 1,justifyContent: "center"}}><Viewstyle={{padding: 36,paddingTop: Dimensions.get('window').height/2,justifyContent: "center",flex: 1,margin: 0}}>
..........
</View></ImageBackground></View>);}}Environment
React Native Environment Info:
System:
OS: Linux 4.14 Manjaro Linux undefined
CPU: (4) x64 Intel(R) Core(TM) i5-4210U CPU @ 1.70GHz
Memory: 375.55 MB / 7.69 GB
Shell: 4.4.23 - /bin/bash
Binaries:
Node: 10.10.0 - /usr/bin/node
npm: 6.4.1 - /usr/bin/npm
IDEs:
Android Studio: 3.3
npmPackages:
react: 16.8.3 => 16.8.3
react-native: 0.59.1 => 0.59.1
npmGlobalPackages:
create-react-native-app: 2.0.2
react-native-cli: 2.0.1
Description
When trying to run
react-native run-androidon a linux machine I get the above error,The error is not related to hot reloading as it appears at the first attempt to debug the app
Code Example
Environment
React Native Environment Info:
System:
OS: Linux 4.14 Manjaro Linux undefined
CPU: (4) x64 Intel(R) Core(TM) i5-4210U CPU @ 1.70GHz
Memory: 375.55 MB / 7.69 GB
Shell: 4.4.23 - /bin/bash
Binaries:
Node: 10.10.0 - /usr/bin/node
npm: 6.4.1 - /usr/bin/npm
IDEs:
Android Studio: 3.3
npmPackages:
react: 16.8.3 => 16.8.3
react-native: 0.59.1 => 0.59.1
npmGlobalPackages:
create-react-native-app: 2.0.2
react-native-cli: 2.0.1