margelo / react-native-quick-sqlite

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

build fails on android with little explanation as to why :/ #46

Open valn1 opened 3 months ago

valn1 commented 3 months ago

First of all, thank you Marc for this lib and your other libs as well, they are some of the best maintained libs for react-native and very well made and easy to use.

i started using this lib for persisting data from my backend today and needed to patch it as it was breaking asking for minsdk=23 even though i am already using it. After patching, it was working fine, but then, I installed another lib and tried rebuilding the app to no avail. I then tried gradlew clean and rm -rf node_modules and yarn.lock, but it didn't work either. removing the new lib did nothing.

thanks in advance.

image

valn1 commented 3 months ago

in case you need to reproduce the error: https://github.com/valn1/pesagem

valn1 commented 3 months ago

I found a way around it while it does not get fixed you gotta remove any patch made to the lib, clean and rerun the project, it will complain about the minsdkversion. then, you change it to 23 in the lib's android/build.gradle file and run again. it will show a ton of warnings but will run