Task :app:transformNativeLibsWithMergeJniLibsForDebug FAILED

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

    Go to android/app/build.gradle and add the following thing under android:

    android {
      packagingOptions {
          pickFirst '**/libjsc.so'
    
      }
    }
    

    Then run it again. If your using react native i suggest you to close npm console and run it again.

提交回复
热议问题