-I am in the process of upgrading my Salesforce Mobile SDK from version 10.2 to 11.0.1, but I keep encountering an error. -I created a new project with the SDK version 11.0.1 and when I attempt to add my packages that I use, I receive the following error message. I have tried several solutions without success.
java.lang.Exception: Calling
[myProject/node_modules/@react-native-community/cli/build/bin.js, config]
finished with an exception. Error message: groovy.json.JsonException: Unable to determine the current character, it is not a string, number, array, or object
I managed to fix this issue by removing the line below from build.gradle (app) and settings.gradle.
apply from: file("../node_modules/@react-native-community/cli-platform-android/native_modules.gradle"); applyNativeModulesSettingsGradle(settings)
However, after doing so, I now encounter a new error in my MainApplication.java- Cannot resolve the symbol 'PackageList' To address this, I have attempted deleting the node module and adding a fresh one.
Could someone offer assistance in resolving this problem?