10

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?

Amir
  • 1,422
  • 1
  • 15
  • 28

4 Answers4

12

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

4b0
  • 21,981
  • 30
  • 95
  • 142
vishal rathod
  • 187
  • 2
  • 5
0

Try using another device in emulator with different sdk version.

Benyamin
  • 1,008
  • 11
  • 18
0

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

Marty
  • 146
  • 1
  • 13
0

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!

Max F.
  • 1
  • 2