Getting library “libjsc.so” not found after upgrading React Native to 0.60-RC2

前端 未结 4 823
清酒与你
清酒与你 2021-02-13 11:43

I have updated React Native to 0.60-RC2, migrated to AndroidX using the Android Studio refractor and used the jetifier mentioned here: https://github.com/react-native-community/

4条回答
  •  梦毁少年i
    2021-02-13 12:38

    Add below in your app/build.gradle

    // On top of the file

    def useIntlJsc = false
    

    //inside dependencies

     if (useIntlJsc) {
            implementation 'org.webkit:android-jsc-intl:+'
        } else {
            implementation 'org.webkit:android-jsc:+'
        }
    

提交回复
热议问题