From f1ddb54dd676af0d337ec96d855ad248e153a9e0 Mon Sep 17 00:00:00 2001 From: Or Evron Date: Tue, 26 Mar 2019 14:14:52 +0200 Subject: [PATCH] fix android build issues with react-native-pdf and react-native 59.x --- android/build.gradle | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/android/build.gradle b/android/build.gradle index 99a6f48d..611f6447 100644 --- a/android/build.gradle +++ b/android/build.gradle @@ -29,6 +29,15 @@ android { compileSdkVersion _compileSdkVersion buildToolsVersion _buildToolsVersion + packagingOptions { + pickFirst 'lib/x86/libc++_shared.so' + pickFirst 'lib/x86_64/libjsc.so' + pickFirst 'lib/arm64-v8a/libjsc.so' + pickFirst 'lib/arm64-v8a/libc++_shared.so' + pickFirst 'lib/x86_64/libc++_shared.so' + pickFirst 'lib/armeabi-v7a/libc++_shared.so' + } + defaultConfig { minSdkVersion _minSdkVersion targetSdkVersion _targetSdkVersion