margelo / react-native-quick-sqlite

A fast react-native SQLite library built using JSI
https://margelo.io
MIT License
353 stars 28 forks source link

Upgrade to RN 0.74.5 will cause Android gradle sync issue #54

Closed ra1nj closed 1 month ago

ra1nj commented 2 months ago

It will print errors like this :

CMake Error at CMakeLists.txt:44 (find_package): Could not find a package configuration file provided by "ReactAndroid" with any of the following names:

ReactAndroidConfig.cmake
reactandroid-config.cmake
ra1nj commented 2 months ago

The root cause error: debug|x86 : User has minSdkVersion 21 but library was built for 23 [//ReactAndroid/fabricjni]

ra1nj commented 2 months ago

After changed the minSdkVersion inside react-native-quick-sqlite's build.gradle from 21 to 23 , sync is successful now

ra1nj commented 1 month ago

It's seems this pr fixed this.