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

CI tool adroid build failed for task :generateJsonModelRelease

Open cgrcnr opened this issue 3 years ago • 1 comments

Task :shopify_react-native-skia:generateJsonModelRelease FAILED FAILURE: Build failed with an exception.

  • What went wrong: Execution failed for task ':shopify_react-native-skia:generateJsonModelRelease'.

/builds/qaSJBsxk/5/dvp/fe/banking/node_modules/@shopify/react-native-skia/android/CMakeLists.txt : C/C++ release|armeabi-v7a : CMake Error at /builds/qaSJBsxk/5/dvp/fe/banking/node_modules/@shopify/react-native-skia/android/CMakeLists.txt:27 (add_library): Cannot find source file:

  /builds/qaSJBsxk/5/dvp/fe/banking/node_modules/@shopify/react-native-skia/android/cpp/jsi/JsiHostObject.cpp

Tried extensions .c .C .c++ .cc .cpp .cxx .m .M .mm .h .hh .h++ .hm .hpp
.hxx .in .txx

react-native: 0.66.4 react-native-skia: 0.1.134

build success on local on our CI tool android build sometimes success sometimes fail after remove skia always build success

cgrcnr avatar Jul 07 '22 09:07 cgrcnr

It is really hard to answer this without any more context. As you can see the build system (I don't know what machine, OS or build system you are using) is unable to build this file.

As a hint for you to fix this the Android CPP-files are copied into the Android project using a symlink when installing the package is installed so that the common CPP files can be built by Android CMake, maybe you can look into if these symlinks are created correctly.

chrfalch avatar Jul 08 '22 14:07 chrfalch

Closing due to inactivity

chrfalch avatar Aug 08 '22 12:08 chrfalch