React Native 0.63.x
npm install react-native-vector-icons --save
react-native link react-native-vector-icons
reactnative.dev/docs/linking-libraries-ios
ios의 경우 pod install 필요
React Native vector icons를 사용하면서 겪은 에러들
- IOS
RNVectorIcons Not Found
Podfile에 등록되어있는 경로와 Xcode에서 Library Search Path가 등록되어 있는지 확인한다.
pod 'RNVectorIcons', :path => '../node_modules/react-native-vector-icons'
- Android
build.gradle(app)에 아래 코드 추가
apply from: "../../node_modules/react-native-vector-icons/fonts.gradle"
'모바일 > ReactNative' 카테고리의 다른 글
React Native we ran xcodebuild command but it exited with error code 65 오류 해결하기 (1) | 2021.03.05 |
---|---|
[React Native] React Native 설치, 환경설정 (0) | 2021.03.05 |