I am running an expo app on windows 10 using the android emulator. The tunnel builds, and the simulator starts. but expo keeps crashing on the simulator.
I tried uninstalling expo off the simulator, and rebooting the machine. Any ideas?
I am running an expo app on windows 10 using the android emulator. The tunnel builds, and the simulator starts. but expo keeps crashing on the simulator.
I tried uninstalling expo off the simulator, and rebooting the machine. Any ideas?
When use wrong style like you see image in styled component you used color in squat('')
so, check your style then run your project
This issue occured when doing style wrong like Vishal said. But it can also occur when messing up imports. Changing:
import { KeyboardAvoidingView, StyleSheet, TextInput } from 'react-native';
import { TouchableOpacity } from 'react-native-gesture-handler';
To:
import { KeyboardAvoidingView, StyleSheet, TextInput, TouchableOpacity } from 'react-native';
Solved the issue for me
This issue is often caused by errors while styling the components. Please check for typos.
This happened to me when I was first starting with React Native when trying to use rem units while the app was expecting a number, not a string.
Good luck!