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

Android Build Failure : No signature of method: build_c7c7yc67me4juumq2ugg6rk53.android() is applicable for argument types: #2309

Open
semcak1 opened this issue Mar 22, 2024 · 2 comments
Labels
bug Something isn't working

Comments

@semcak1
Copy link

semcak1 commented Mar 22, 2024

Description

REACT-NATIVE INFO

System:
OS: macOS 14.4
CPU: (12) arm64 Apple M2 Pro
Memory: 103.27 MB / 16.00 GB
Shell: 5.9 - /bin/zsh
Binaries:
Node: 16.20.2 - ~/.nvm/versions/node/v16.20.2/bin/node
Yarn: 1.22.21 - ~/.nvm/versions/node/v16.20.2/bin/yarn
npm: 8.19.4 - ~/.nvm/versions/node/v16.20.2/bin/npm
Watchman: 2024.01.22.00 - /opt/homebrew/bin/watchman
Managers:
CocoaPods: 1.15.2 - /usr/local/bin/pod
SDKs:
iOS SDK:
Platforms: DriverKit 23.2, iOS 17.2, macOS 14.2, tvOS 17.2, visionOS 1.0, watchOS 10.2
Android SDK: Not Found
IDEs:
Android Studio: 2023.1 AI-231.9392.1.2311.11330709
Xcode: 15.2/15C500b - /usr/bin/xcodebuild
Languages:
Java: 11.0.22 - /usr/bin/javac
npmPackages:
@react-native-community/cli: Not Found
react: 18.0.0 => 18.0.0
react-native: 0.67.5 => 0.67.5
react-native-macos: Not Found
npmGlobalPackages:
react-native: Not Found

Version

"@shopify/react-native-skia": "^1.0.4"

Steps to reproduce

  • build a project on version 0.67.5 ,
  • install dependencies with yarn or npm ,
  • upgrade react version from 17.0.0 to 18.0.0
  • run yarn android on terminal

Snack, code example, screenshot, or link to a repository

ERROR CODE

"react-native@>=0.66 and react@>=18 are required. " writes in documentation. According to documentation i upgrade react version to 18.0.0 with the react-native 0.67.5 . Then build the project and get this error.

* Where: Build file '/Users/90038326/Desktop/StockChart/node_modules/@shopify/react-native-skia/android/build.gradle' line: 127
  • What went wrong:
    A problem occurred evaluating project ':shopify_react-native-skia'.

No signature of method: build_c7c7yc67me4juumq2ugg6rk53.android() is applicable for argument types: (build_c7c7yc67me4juumq2ugg6rk53$_run_closure2) values: [build_c7c7yc67me4juumq2ugg6rk53$_run_closure2@7e25ee40]

  • 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.

  • Get more help at https://help.gradle.org

@semcak1 semcak1 added the bug Something isn't working label Mar 22, 2024
@Sanket0410
Copy link

+1

@wcandillon
Copy link
Collaborator

Do you have a repository where I could reproduce and look at the issue?

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

3 participants