Closed jbmlaird closed 6 years ago
I had to run ndk-build
again:
From the instructions: cd to app/src/main/jni, and run path/to/crystax/ndk-build
@jbmlaird How to solve this problem?
i have run ndk-build and there are libcrystax, libpython3.5 and libpybridge in src/main/libs/armeabi-v7a & src/main/libs/x86 but still it's giving same error.
i fixed above issue by modifying jni/pybridge.c . we have to change JNICALL according to our package name
My first foray into the Android NDK so perhaps I'm doing this wrong, but having just changed the name of the package from
com.jventura
tocom.randompkg
and then changingpybridge.c
toJNIEXPORT jint JNICALL Java_com_randompkg_pybridge_PyBridge_start
JNIEXPORT jint JNICALL Java_com_randompkg_pybridge_PyBridge_stop
JNIEXPORT jint JNICALL Java_com_randompkg_pybridge_PyBridge_call
causes me to get this stack trace:
PyBridge.java remains as:
Is there anything else I need to change?