react-native-skia icon indicating copy to clipboard operation
react-native-skia copied to clipboard

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

Open semcak1 opened this issue 11 months ago • 2 comments

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 avatar Mar 22 '24 13:03 semcak1

+1

Sanket0410 avatar Mar 26 '24 06:03 Sanket0410

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

wcandillon avatar Apr 03 '24 14:04 wcandillon