Task :app:transformNativeLibsWithMergeJniLibsForDebug FAILED

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

    AAR libraries were not linking to the Main application from Bridge Project.

    Solution:

    implementation files(‘libs/sdk-5.0.0.aar’)
    

    Instead of

    implementation(name:'sdk-5.0.0', ext:'aar')
    

    I faced another issue related to AAR file import into the android project. https://stackoverflow.com/a/58602329/3197778

提交回复
热议问题