Tap-Payments / gosellSDK-ReactNative

ReactNative plugin for goSell checkout SDK
11 stars 12 forks source link

Not able make android release build - React Native Go Sell SDK #33

Open mohan1149 opened 2 years ago

mohan1149 commented 2 years ago

Hi, I am trying to make the release version of the app but my build is getting failed with below errors.

Task :tap-payments_gosell-sdk-react-native:verifyReleaseResources FAILED /Users/mohan/projects/b2b/mobile/selfcare/node_modules/@tap-payments/gosell-sdk-react-native/android/build/intermediates/merged_res/release/values-ar/values-ar.xml:92: Multiple substitutions specified in non-positional format of string resource string/extra_fees_alert_message. Did you mean to add the formatted="false" attribute? /Users/mohan/projects/b2b/mobile/selfcare/node_modules/@tap-payments/gosell-sdk-react-native/android/build/intermediates/merged_res/release/values-de/values-de.xml:84: Multiple substitutions specified in non-positional format of string resource string/extra_fees_alert_message. Did you mean to add the formatted="false" attribute? /Users/mohan/projects/b2b/mobile/selfcare/node_modules/@tap-payments/gosell-sdk-react-native/android/build/intermediates/merged_res/release/values/values.xml:1522: Multiple substitutions specified in non-positional format of string resource string/extra_fees_alert_message. Did you mean to add the formatted="false" attribute? /Users/mohan/projects/b2b/mobile/selfcare/node_modules/@tap-payments/gosell-sdk-react-native/android/build/intermediates/merged_res/release/values-tr/values-tr.xml:84: Multiple substitutions specified in non-positional format of string resource string/extra_fees_alert_message. Did you mean to add the formatted="false" attribute?

What went wrong: Execution failed for task ':tap-payments_gosell-sdk-react-native:verifyReleaseResources'.

A failure occurred while executing com.android.build.gradle.tasks.VerifyLibraryResourcesTask$Action Android resource linking failed ERROR:/Users/mohan/projects/b2b/mobile/selfcare/node_modules/@tap-payments/gosell-sdk-react-native/android/build/intermediates/merged_res/release/values/values.xml:7229: AAPT: error: resource android:attr/lStar not found.

System Info

System: OS: macOS 12.6 CPU: (8) arm64 Apple M1 Pro Memory: 89.98 MB / 16.00 GB Shell: 5.8.1 - /bin/zsh Binaries: Node: 18.9.0 - /opt/homebrew/bin/node Yarn: Not Found npm: 8.19.1 - /opt/homebrew/bin/npm Watchman: 2022.09.12.00 - /opt/homebrew/bin/watchman Managers: CocoaPods: 1.11.3 - /usr/local/bin/pod SDKs: iOS SDK: Platforms: DriverKit 21.4, iOS 16.0, macOS 12.3, tvOS 16.0, watchOS 9.0 Android SDK: Not Found IDEs: Android Studio: 2021.2 AI-212.5712.43.2112.8815526 Xcode: 14.0/14A309 - /usr/bin/xcodebuild Languages: Java: 11.0.16.1 - /usr/bin/javac npmPackages: @react-native-community/cli: Not Found react: 18.1.0 => 18.1.0 react-native: 0.70.1 => 0.70.1

ghost commented 1 year ago

I got the same issue i solve it by using ./gradlew app:assembleRelease