You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've just ran into the following build errors using Gradle 7.1.1 and [email protected]:
ProjectRoot/node_modules/@nozbe/watermelondb/native/android-jsi/src/main/cpp/DatabasePlatformAndroid.cpp:71:5: error: use of undeclared identifier 'assert'
assert(env);
^
ProjectRoot/node_modules/@nozbe/watermelondb/native/android-jsi/src/main/cpp/DatabasePlatformAndroid.cpp:76:5: error: use of undeclared identifier 'assert'
assert(jvm);
^
ProjectRoot/node_modules/@nozbe/watermelondb/native/android-jsi/src/main/cpp/DatabasePlatformAndroid.cpp:81:5: error: use of undeclared identifier 'assert'
assert(jvm);
^
ProjectRoot/node_modules/@nozbe/watermelondb/native/android-jsi/src/main/cpp/DatabasePlatformAndroid.cpp:85:5: error: use of undeclared identifier 'assert'
assert(env);
^
4 errors generated.
And I was able to fix it by adding
#include <cassert>
To the top of /native/android-jsi/src/main/cpp/DatabasePlatformAndroid.cpp
It's probably related to my local environment, but posting here just in case it helps someone else. Is there any downside to adding that #include statement to the project file? If not it seems like an easy fix ...
The text was updated successfully, but these errors were encountered:
WatermelonDB/native/android-jsi/src/main/cpp/DatabasePlatformAndroid.cpp
Line 75 in 06607ae
I've just ran into the following build errors using Gradle 7.1.1 and [email protected]:
And I was able to fix it by adding
#include <cassert>
To the top of
/native/android-jsi/src/main/cpp/DatabasePlatformAndroid.cpp
It's probably related to my local environment, but posting here just in case it helps someone else. Is there any downside to adding that
#include
statement to the project file? If not it seems like an easy fix ...The text was updated successfully, but these errors were encountered: