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

[Health 10.1.0] Android build fails (was working in 10.0.0) #934

Closed
ciriousjoker opened this issue Mar 30, 2024 · 1 comment
Closed

[Health 10.1.0] Android build fails (was working in 10.0.0) #934

ciriousjoker opened this issue Mar 30, 2024 · 1 comment
Assignees
Labels
bugfix a bug fix

Comments

@ciriousjoker
Copy link
Contributor

TLDR:

That "w" was probably a typo and breaks compilation.


Device / Emulator and OS

Please complete the following information for each phone and/or emulator you're experiencing this bug on:

  • Device: Pixel 7 Pro API 34 Emulator
  • OS: Android 14

NB: Bugs pertaining to old devices/OS versions will likely not be fixed.

Describe the bug

Android build fails.

To Reproduce

Update plugin version from 10.0.0 to 10.1.0.

Expected behavior

Should work as it did in 10.0.0.

Actual behavior

e: file:///Volumes/Storage/Cache/pub/hosted/pub.dev/health-10.1.0/android/src/main/kotlin/cachet/plugins/health/HealthPlugin.kt:3005:77 Expecting ','
e: file:///Volumes/Storage/Cache/pub/hosted/pub.dev/health-10.1.0/android/src/main/kotlin/cachet/plugins/health/HealthPlugin.kt:3005:76 Unresolved reference: w

FAILURE: Build failed with an exception.

  • What went wrong:
    Execution failed for task ':health:compileDebugKotlin'.

A failure occurred while executing org.jetbrains.kotlin.compilerRunner.GradleCompilerRunnerWithWorkers$GradleKotlinCompilerWorkAction
Compilation error. See log for more details

  • Try:

Run with --stacktrace option to get the stack trace.
Run with --info or --debug option to get more log output.
Run with --scan to get full insights.

BUILD FAILED in 37s
Error: Gradle task assembleDebug failed with exit code 1

Screenshots

If applicable, add screenshots to help explain your problem.

Flutter doctor

Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel stable, 3.19.1, on macOS 14.4.1 23E224 darwin-arm64, locale de-DE)
[✓] Android toolchain - develop for Android devices (Android SDK version 34.0.0)
[✓] Xcode - develop for iOS and macOS (Xcode 15.1)
[✓] Chrome - develop for the web
[✓] Android Studio (version 2023.2)
[✓] VS Code (version 1.87.2)
[✓] Connected device (2 available)
[✓] Network resources

• No issues found!

Additional information

This issue doesn't exist in 10.0.0, caused by #926.

@ciriousjoker ciriousjoker added the bugfix a bug fix label Mar 30, 2024
@bardram bardram self-assigned this Mar 30, 2024
bardram added a commit that referenced this issue Mar 30, 2024
@bardram
Copy link
Contributor

bardram commented Mar 30, 2024

👍 - released a fix in 10.1.1

@bardram bardram closed this as completed Mar 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bugfix a bug fix
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants