-
Notifications
You must be signed in to change notification settings - Fork 41
Open
Description
These lines are conflicting with new Android Gradle Plugin 4.0.
react-native-fast-crypto/android/build.gradle
Lines 54 to 58 in a027164
| sourceSets { | |
| main { | |
| jniLibs.srcDirs 'jni/libs/' | |
| } | |
| } |
Producing errors like
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':react-native-fast-crypto:mergeReleaseNativeLibs'.
> A failure occurred while executing com.android.build.gradle.internal.tasks.Workers$ActionFacade
> More than one file was found with OS independent path 'lib/x86_64/libnativecrypto.so'. If you are using jniLibs and CMake IMPORTED targets, see https://developer.android.com/studio/preview/features#automatic_packaging_of_prebuilt_dependencies_used_by_cmake
They need to be removed. Prior versions of the Android Gradle Plugin required that you explicitly package any prebuilt libraries used by your CMake external native build by using jniLibs. With Android Gradle Plugin 4.0, the above configuration is no longer necessary and will result in a build failure:
NantrisNantrisNantris
Metadata
Metadata
Assignees
Labels
No labels