'expo keeps stopping android emulator

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.

enter image description here

I tried uninstalling expo off the simulator, and rebooting the machine. Any ideas?



Solution 1:[1]

When use wrong style like you see image in styled component you used color in squat('') so, check your style then run your project

image

Solution 2:[2]

Try using another device in emulator with different sdk version.

Solution 3:[3]

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

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 4b0
Solution 2 Benyamin
Solution 3 Marty