Task :app:transformNativeLibsWithMergeJniLibsForDebug FAILED

后端 未结 7 855
悲&欢浪女
悲&欢浪女 2020-12-31 00:08

I am working with react native and every time I build a new project it seems to work on my device , but whenever I try to restart it It is giving me 1 or more errors

<
7条回答
  •  生来不讨喜
    2020-12-31 00:42

    in my case in react-native app this error was beacause of rn-fetch-blob v0.12.0, and it makes release apk crash too
    i do this:

    npm uninstall rn-fetch-blob
    npm i rn-fetch-blob@0.11.2
    cd android && gradlew clean
    cd..
    react-native run-android
    

    hope this help somebody <3

提交回复
热议问题