Closed 32192442sangho closed 4 days ago
sorry it wasn't chaquopy problem
It looks like what's happened here is a non-Chaquopy library was linked against libc++_shared.so, and at runtime it's found the Chaquopy copy of that library. This should be safe as long as the library's runtime version is newer than the compile-time version, though as I found in #1171, there are exceptions.
As long as your app's minSdk
is at least 24, your app's build log should indicate that you're using chaquopy_libcxx version 180000, which we packaged recently from the current version of the NDK. There should be no need to change your Chaquopy version or Python version.
If that doesn't work, try using a different version (either newer or older) or the package that provides libpytorch_jni_lite.so.
Chaquopy version
classpath "com.chaquo.python:gradle:16.0.0"
Devices or emulators where the issue happens
S22+
Relevant parts of your code
Although this code has nothing to do with chaquopy, an error always occurred when the last line of code was reached.
Describe your issue
https://github.com/chaquo/chaquopy/issues/1171
If my understanding is correct, it seems to be the same problem as above. The issue states that it will be fixed in Chaquopy 16 and should work in Python 3.13 or higher. Accordingly, I changed Python to 3.13 and Chaquopy was also changed to 16.0.0. But the error below still occurs.