mrousavy / react-native-jsi-image

🖼️ A writeable in-memory Image JSI Host Object
MIT License
287 stars 4 forks source link

Error when compiling on Android #6

Open Thomas680 opened 2 years ago

Thomas680 commented 2 years ago

Hello, I installed the package and when I'm trying to run the app, I get this error:

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':react-native-jsi-image:generateJsonModelDebug'.
> C:\mobile\capture\node_modules\react-native-jsi-image\android\CMakeLists.txt : C/C++ debug|armeabi-v7a : CMake Error at C:\mobile\capture\node_modules\react-native-jsi-image\android\CMakeLists.txt:6 (add_library):
    Cannot find source file:

      ../cpp/TypedArray/TypedArray.cpp

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

I found a similar issue here https://github.com/mrousavy/react-native-mmkv/issues/280

Thanks!

rootedy-ffit commented 2 years ago

Any update?

eeshankeni commented 2 years ago

Same problem here. How do you build this thing, guys?