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

Build fails for Android compileSdkVersion: 34 #947

Closed
1 of 2 tasks
GabrielDierks opened this issue Nov 9, 2023 · 6 comments
Closed
1 of 2 tasks

Build fails for Android compileSdkVersion: 34 #947

GabrielDierks opened this issue Nov 9, 2023 · 6 comments
Labels
bug Something isn't working

Comments

@GabrielDierks
Copy link

GabrielDierks commented Nov 9, 2023

Current behavior

Build fails for compileSdkVersion: 34

Task :shopify_flash-list:compileDebugKotlin FAILED

FAILURE: Build failed with an exception.

  • What went wrong:
    Execution failed for task ':shopify_flash-list:compileDebugKotlin'.

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

Expected behavior

Build to succeed with compileSdkVersion: 34

To Reproduce

install a clean build with the mentioned react native and flashlist versions.

Platform:

  • iOS
  • Android

Environment

Versions:
"@shopify/flash-list": "^1.6.2",
"react-native": "^0.72.5",
System:
  OS: macOS 14.0
  Shell: 5.9 - /bin/zsh
Binaries:
  Node: 18.7.0 - ~/.nvm/versions/node/v18.7.0/bin/node
  Yarn: 1.22.18 - /usr/local/bin/yarn
  npm: 8.15.0 - ~/.nvm/versions/node/v18.7.0/bin/npm
Managers:
  CocoaPods: 1.11.3 - /opt/homebrew/bin/pod
SDKs:
  iOS SDK:
    Platforms: DriverKit 23.0, iOS 17.0, macOS 14.0, tvOS 17.0, watchOS 10.0
  Android SDK:
    API Levels: 30, 31, 32, 33, 34
    Build Tools: 29.0.2, 30.0.2, 30.0.3, 31.0.0, 32.0.0, 32.1.0, 33.0.0, 33.0.0, 34.0.0
    System Images: android-22 | Google APIs ARM 64 v8a, android-32 | Google APIs ARM 64 v8a, android-32 | Google Play ARM 64 v8a, android-33 | Google APIs ARM 64 v8a, android-34 | Google APIs ARM 64 v8a
IDEs:
  Android Studio: 2022.2 AI-222.4459.24.2221.10121639
  Xcode: 15.0.1/15A507 - /usr/bin/xcodebuild
npmGlobalPackages:
  eas-cli: 5.6.0
  expo-cli: 6.3.7
Expo Workflow: bare
@GabrielDierks GabrielDierks added the bug Something isn't working label Nov 9, 2023
@GabrielDierks
Copy link
Author

Also mentioned in #756

@GabrielDierks
Copy link
Author

And #864

@MattGiertl
Copy link

Happens to me as well while using Expo's EAS build system

@khoitruongg
Copy link

could you try to specific kotlin version to 1.9.0, this works for me
expo/expo#23537 (comment)

@focux
Copy link

focux commented Dec 11, 2023

Has anyone found a work around until this is fixed?

Edit:
This was already fixed by #930

@GabrielDierks
Copy link
Author

As mentioned, fixed by #930

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

4 participants