Summary:
The native libraries are compiled outside of the usual Android build flow using separate CLI task. Because of that, shared native libraries may not exist when AAR is bundled, resulting in weird sequencing issues.

This change updates gradle dependency graph, executing RN native build before Android part (as it is done in RNTester already).

Changelog: [Internal]

Reviewed By: mdvacca

Differential Revision: D29209249

fbshipit-source-id: 36386c78996b1cd9b1731735e36e571199e9e81b
This commit is contained in:
Andrei Shikov 2021-06-17 15:08:47 -07:00 коммит произвёл Facebook GitHub Bot
Родитель 765d1e247b
Коммит 6be4f2b2c8
1 изменённых файлов: 1 добавлений и 5 удалений

Просмотреть файл

@ -470,11 +470,7 @@ android {
}
}
tasks.withType(JavaCompile) {
compileTask ->
compileTask.dependsOn(packageReactNdkLibs)
}
preBuild.dependsOn(packageReactNdkLibs)
clean.dependsOn(cleanReactNdkLib)
lintOptions {