"RNCWebView" was not found in the UIManger.
step1. $ react-native link react-native-webview
step2. Android - react-native-webview version >=6.X.X: Please make sure AndroidX is enabled in your project by editting android/gradle.properties and adding 2 lines:
android.useAndroidX=true
android.enableJetifier=true
https://github.com/react-native-community/react-native-webview/blob/master/docs/Getting-Started.md
STEP3) error: package android.support.v4.util does not exist
(https://github.com/react-native-community/react-native-webview/issues/580
3-1) react-native install react-native-webview@5.8.1
반응형
'Mobile > ReactNative' 카테고리의 다른 글
[RN] react native webview cache clear (0) | 2019.05.22 |
---|---|
[RN] Could not resolve project :react-native-gesture-handler. (0) | 2019.05.22 |
[RN] React-Native Start : 1 (0) | 2019.05.21 |
[RN] Error: listen EACCES: permission denied 0.0.0.0:8081 (0) | 2019.05.21 |
[ERROR] Unable to resolve "react-navigation" from "App.js" (0) | 2019.03.29 |