libpd / pd-for-android

Pure Data for Android
351 stars 91 forks source link

libpd crash on compileSdkVersion 23 with java.lang.UnsatisfiedLinkError: #13

Closed chrisgradl closed 8 years ago

chrisgradl commented 8 years ago

When setting the targetsdk to API Level 23 libpd crash

java.lang.UnsatisfiedLinkError: dlopen failed: /data/app/sonigaitandroid-2/lib/arm/libpd.so: has text relocations

In previous Android Versions this was only a warning but it changed in the latest release

tkirshboim commented 8 years ago

Hi, Can you explain a bit more how the crash happens? Are you using the latest version of pd-for-android (the current master branch)? Using the current version, I changed the targetsdk API level of the PdTest app to 23, compiled it and ran it on a API level 23 emulator and it worked fine.

devdev-dev commented 8 years ago

Same problem here. Updating the SDK API Level to 23 in Android Studio causes a crash as follows:

11-02 14:36:05.342 8448-8448/? E/AndroidRuntime: FATAL EXCEPTION: main
11-02 14:36:05.342 8448-8448/? E/AndroidRuntime: Process: com.deviantdev.libpd, PID: 8448
11-02 14:36:05.342 8448-8448/? E/AndroidRuntime: java.lang.UnsatisfiedLinkError: dlopen failed: /data/app/com.deviantdev.libpd-1/lib/arm/libpd.so: has text relocations
11-02 14:36:05.342 8448-8448/? E/AndroidRuntime: at java.lang.Runtime.loadLibrary(Runtime.java:372)
11-02 14:36:05.342 8448-8448/? E/AndroidRuntime: at java.lang.System.loadLibrary(System.java:1076)
11-02 14:36:05.342 8448-8448/? E/AndroidRuntime: at org.puredata.core.PdBase.<clinit>(PdBase.java:55)
11-02 14:36:05.342 8448-8448/? E/AndroidRuntime: at org.puredata.android.io.PdAudio.isRunning(PdAudio.java:122)
11-02 14:36:05.342 8448-8448/? E/AndroidRuntime: at org.puredata.android.io.PdAudio.initAudio(PdAudio.java:57)
tkirshboim commented 8 years ago

Hi @devdev-dev ! Could you please explain how you're getting this crash so I could try and reproduce it?