You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Oct 16, 2024. It is now read-only.
Describe the issue
I'm building a new app with forcereact. In this app the react-native version is up to 70. My guess is the repo rn-salesforce-chat doesn't work with RN 70 as my build fails every time I try to build for Android. However, I can successfully build in iOS. I'm not sure why the Android build is failing as the errors are circular and not descriptive.
Here are the steps I've taken and the errors I got:
Install package according to readme file
• Install rn-salesforce-chat and modify build.gradle file with:
* What went wrong:
Execution failed for task ':app:mergeDebugResources'.
> A failure occurred while executing com.android.build.gradle.internal.res.ResourceCompilerRunnable
> Resource compilation failed (Failed to compile values resource file /Users/oktalk/Development/projects/Company/Company-Mobile/test-projects/TestCompanyMobile/android/app/build/intermediates/incremental/debug/mergeDebugResources/merged.dir/values/values.xml. Cause: java.lang.IllegalStateException: Can not add resource (com.android.aaptcompiler.ParsedResource@1d4118bb) to table.). Check logs for more details.
Install package with manual linking
• Install rn-salesforce-chat and follow the manual install instructions (I even tried to this method but got the same error).
Same errors still persist if I do the rest of the manual Android install.
I have this library installed and it's working fine for RN >= 0.70 maybe is something related to the location you have the project looking to this threads on SO:
Describe the issue
I'm building a new app with forcereact. In this app the react-native version is up to 70. My guess is the repo rn-salesforce-chat doesn't work with RN 70 as my build fails every time I try to build for Android. However, I can successfully build in iOS. I'm not sure why the Android build is failing as the errors are circular and not descriptive.
Here are the steps I've taken and the errors I got:
Install package according to readme file
• Install
rn-salesforce-chat
and modifybuild.gradle
file with:Error:
Install package with manual linking
• Install
rn-salesforce-chat
and follow the manual install instructions (I even tried to this method but got the same error).Same errors still persist if I do the rest of the manual Android install.
To Reproduce
Steps to reproduce the behavior:
rn-salesforce-chat
npx react-native run-android
Expected behavior
Expect app to build in Android.
Smartphone (please complete the following information):
rn-salesforce-chat version (please complete the following information):
Screenshots
If applicable, add screenshots to help explain your problem.
Additional context
System:
OS: macOS 13.6.1
CPU: (16) x64 Intel(R) Core(TM) i9-9980HK CPU @ 2.40GHz
Memory: 228.36 MB / 32.00 GB
Shell: 5.9 - /bin/zsh
Binaries:
Node: 18.16.0 -
Yarn: 1.22.21 -
npm: 9.5.1 - ~/.nvm/versions/node/v18.16.0/bin/npm
Watchman: 2023.12.04.00 - /usr/local/bin/watchman
Managers:
CocoaPods: 1.12.1
SDKs:
iOS SDK:
Platforms: DriverKit 22.1, iOS 16.1, macOS 13.0, tvOS 16.1, watchOS 9.1
IDEs:
Android Studio: 2022.3 AI-223.8836.35.2231.10811636
Xcode: 14.1/14B47b - /usr/bin/xcodebuild
Languages:
Java: 11.0.21 - /usr/bin/javac
npmPackages:
@react-native-community/cli: Not Found
react: 18.1.0 => 18.1.0
react-native: 0.70.14 => 0.70.14
react-native-macos: Not Found
npmGlobalPackages:
react-native: Not Found
The text was updated successfully, but these errors were encountered: