Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CipherMode couldn't be resolved in Debug Build Variant #2598

Open
adriduttaheb opened this issue Jul 29, 2024 · 2 comments
Open

CipherMode couldn't be resolved in Debug Build Variant #2598

adriduttaheb opened this issue Jul 29, 2024 · 2 comments

Comments

@adriduttaheb
Copy link

Please fill out the following details:

  1. Version of Mobile SDK Used: 12.0.1
  2. Issue found in Native App or Hybrid App: Native App
  3. OS Version: Any
  4. Device: Any
  5. Steps to reproduce: Add SalesforceMobileSDK-Android as a submodule and try to build on debug build variant
  6. Actual behavior: Compilation Error
  7. Expected Behavior: No Compilation Error
  8. Error Log: e: file:/StudioProjects//SalesforceMobileSDK-Android/libs/SalesforceSDK/src/com/salesforce/androidsdk/push/PushService.kt:249:53 Unresolved reference: CipherMode

Hi, I'm getting a weird build error where the kotlin debug compiler can't resolve CipherMode. It works great in the release build variant. I currently fixed this by extracting CipherMode out of the Encryptor class into it's own class. Just wanted to see if this could be fixed in the next release or if someone in salesforce is also experiencing this.

@johnjeremih
Copy link

I was having the same problem as well. I cannot find a solution.

@forcedotcom forcedotcom deleted a comment from Techfhil Oct 29, 2024
@wmathurin
Copy link
Contributor

Could you try with Mobile SDK 12.2 ?
What version of Android Studio are you using?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants