Task :app:transformNativeLibsWithMergeJniLibsForDebug FAILED

后端 未结 7 852
悲&欢浪女
悲&欢浪女 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:48

    Clean project working for me

    A react-native Project is about one XCode Project and one Android Project. (pure js code no need to do clean)

    So what are you need would be

    Clean XCode Project with

    $ cd ios
    $ xcodebuild clean
    $ cd .. && react-native run-ios
    

    And then clean Android Project with

    $ cd android
    $ ./gradlew clean
    $ cd .. && react-native run-android
    

    You can simply write a batch file for it.

提交回复
热议问题