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

Configuration cache issue with Realm analytics #1492

Closed
datikaa opened this issue Aug 26, 2023 · 3 comments · Fixed by #1504
Closed

Configuration cache issue with Realm analytics #1492

datikaa opened this issue Aug 26, 2023 · 3 comments · Fixed by #1504

Comments

@datikaa
Copy link

datikaa commented Aug 26, 2023

How frequently does the bug occur?

Always

Description

I get compile time error for configuration cache for the plugin.

Using REALM_DISABLE_ANALYTICS = "true" hides the issue, mentioned in #1390

Stacktrace & log output

Configuration cache problems found in this build.

1 problem was found storing the configuration cache.
- Plugin 'io.realm.kotlin': external process started 'wmic csproduct get UUID'
  See https://docs.gradle.org/8.3/userguide/configuration_cache.html#config_cache:requirements:external_processes

See the complete report at file:///C:/Users/x/StudioProjects/x/build/reports/configuration-cache/39j22f6t5aki07g06f05klw9c/d8gfjfz1mjgu525rhqjspl3au/configuration-cache-report.html
> Starting an external process 'wmic csproduct get UUID' during configuration time is unsupported.

Can you reproduce the bug?

Always

Reproduction Steps

No response

Version

1.10.2

What Atlas App Services are you using?

Local Database only

Are you using encryption?

No

Platform OS and version(s)

Windows 11 Pro 10.0.22621 Build 22621

Build environment

Android Studio version: Hedgehog 2023.1.1 Beta 1
Android Build Tools version: 34
Android Gradle Plugin version: 8.2.0-beta01
Gradle version: 8.3

@rorbech
Copy link
Contributor

rorbech commented Sep 5, 2023

Hi @datikaa. Thanks for the report. I am currently looking into some other updates in the Gradle plugin, so will try to see if I can address this.

@rorbech
Copy link
Contributor

rorbech commented Sep 7, 2023

Seems to be a duplicate of #1390. I will try to see if I can reproduce it this time around 😅

@ffdez
Copy link

ffdez commented Sep 8, 2023

Same problem here.

Environment:
Android Studio Giraffe | 2022.3.1 Patch 1
Windows 10

androidGradlePlugin = "8.1.1"
gradlePlugin = "8.1.1"
distributionUrl=https://services.gradle.org/distributions/gradle-8.3-bin.zip
realmKotlin = "1.10.0"

gradle.properties file:

# Speed up the build
org.gradle.caching=true
org.gradle.parallel=true
org.gradle.unsafe.configuration-cache=true

@rorbech rorbech mentioned this issue Sep 8, 2023
1 task
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Mar 18, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants