Not able to compile the project with Salesforce Mobile SDK(version 8.0.0) for android
suhasmannarcs opened this issue · comments
Suhas Mannar C S commented
Please fill out the following details:
- Version of Mobile SDK Used: com.salesforce.mobilesdk:SalesforceSDK:8.+
- Issue found in Native App or Hybrid App: Native App
- OS Version: Android 7.0 (Nougat) and above
- Device:
- Steps to reproduce: Not able to compile the android project
- Actual behavior: Getting the error "Could not resolve com.salesforce.mobilesdk:SalesforceSDK:8.+." during compilation of the project
- Expected Behavior: The project has to compile properly
- Error Log: Execution failed for task ':app:dataBindingMergeDependencyArtifactsNonProdDebug'.
> Could not resolve all files for configuration ':app:nonProdDebugCompileClasspath'.
> Could not resolve com.salesforce.mobilesdk:SalesforceSDK:8.+.
Required by:
project :app
> Skipped due to earlier error
gkotula commented
It is highly recommended to avoid using the +
when specifying Gradle dependencies. Does this issue occur if you select a specific MSDK version, like com.salesforce.mobilesdk:SalesforceSDK:8.1
?
Brandon Page commented
All Mobile SDK 8.X versions are over two years old. Please upgrade to the latest. Only major versions (9.0.0 and 10.0.0) contain breaking changes, of which there are very few.