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
When I try to build the native library see the error Error:(2351, 21) error: cast from pointer to smaller type 'jint' (aka 'int') loses information OSNetworkSystem.cpp
The text was updated successfully, but these errors were encountered:
Any progress here?, I have the same problem...
I can build the app for an emulated device, but when I try to build it for a "real" device it fails with the same error (see one example out of several below).
/app/src/main/jni/OSNetworkSystem.cpp:1475:22: warning: cast to 'signed char *' from smaller integer type 'jint' (aka 'int') [-Wint-to-pointer-cast]
jbyte *message = (jbyte *)address;
^
`
Same problem for me. Any progress?
I've had to update the code to include <cstring> as it was complaining of undefined functions prior to this problem.
When I try to build the native library see the error Error:(2351, 21) error: cast from pointer to smaller type 'jint' (aka 'int') loses information OSNetworkSystem.cpp
The text was updated successfully, but these errors were encountered: