A problem occurred evaluating project ':shopify_react-native-skia'.
Description
I keep getting this error when I build my Android application with this package.
Build file 'D:\dev\proton\node_modules\@shopify\react-native-skia\android\build.gradle' line: 127
A problem occurred evaluating project ':shopify_react-native-skia'.
> No signature of method: build_dv9glgdfsyi4kws5so83p71u2.android() is applicable for argument types: (build_dv9glgdfsyi4kws5so83p71u2$_run_closure2) values: [build_dv9glgdfsyi4kws5so83p71u2$_run_closure2@46d7e7d8]
* Try:
> Run with --info or --debug option to get more log output.
> Run with --scan to get full insights.
I have double checked npm and the package is installed fine.
Any idea what's going on here?
For context, I'm using RN version 0.72.7
Version
^0.1.218
Steps to reproduce
Simply did an NPM install on an existing project.
Try to build the app in Android studio and get the above errors.
Snack, code example, screenshot, or link to a repository
Build file 'D:\dev\proton\node_modules\@shopify\react-native-skia\android\build.gradle' line: 127
A problem occurred evaluating project ':shopify_react-native-skia'.
> No signature of method: build_dv9glgdfsyi4kws5so83p71u2.android() is applicable for argument types: (build_dv9glgdfsyi4kws5so83p71u2$_run_closure2) values: [build_dv9glgdfsyi4kws5so83p71u2$_run_closure2@46d7e7d8]
* Try:
> Run with --info or --debug option to get more log output.
> Run with --scan to get full insights.
Here is the snippet of code that the error is pointing to (build.gradle):
android {
def agpVersion = com.android.Version.ANDROID_GRADLE_PLUGIN_VERSION
if (agpVersion.tokenize('.')[0].toInteger() >= 7) {
namespace "com.shopify.reactnative.skia"
}
compileSdkVersion safeExtGet('compileSdkVersion', DEFAULT_COMPILE_SDK_VERSION)
buildToolsVersion safeExtGet('buildToolsVersion', DEFAULT_BUILD_TOOLS_VERSION)
+1 Same
Any update on this?
@wcandillon Check it please !
+1 me too
+1
+1
+1
+1
+1
+1
do you have a project where I could reproduce the issue?
do you have a project where I could reproduce the issue?
Not a public project I can share unfortunately, however judging from the above comments a lot of people are having the same issue. I suspect it could be related to M chip mac devices.