Android ReactNative java.lang.UnsatisfiedLinkError:could find DSO to load: libreactnativejni.so

后端 未结 9 1793
天命终不由人
天命终不由人 2020-12-15 17:21

I have been trying to add ReactNative to my existing android application. I followed the instructions from this link. I could add it but the app gets crashed once I open the

9条回答
  •  谎友^
    谎友^ (楼主)
    2020-12-15 17:56

    It might be lib\x86_64\libreactnativejni.so not found due to missing strip tool for ABI 'X86_64' Try the following steps.

    1. Uninstall the apk
    2. Clean the android folder

      • Navigate to android folder cd android.

      • Clean the directory using gradle

      • For Windows, gradlew clean

      • For Linux, ./graldew clean
    3. Now you can try react-native run-android --no-jetifier

提交回复
热议问题