Reputation: 11
the error above is shown in this import
import React from 'react';
import {
View,
Text,
TouchableOpacity,
Dimensions,
StyleSheet,
StatusBar,
Image
} from 'react-native';
import * as Animatable from 'react-native-animatable';
import LinearGradient from 'react-native-linear-gradient';
import MaterialIcons from 'react-native-vector-icons/MaterialIcons';
import { useTheme } from '@react-navigation/native';
this is the import statement bringing the error
Upvotes: 0
Views: 3904
Reputation: 62
Try:
For iOS
cd ios
pod install
For Android:
cd Android
./gradlew clean && ./gradlew cleanBuildCache
npm run android
Upvotes: 3