daimajia / AndroidViewHover

An elegant way to show your menu or messages.
3.21k stars 722 forks source link

Error loading RS jni library: java.lang.UnsatisfiedLinkError #5

Open saurabh-konstant opened 10 years ago

saurabh-konstant commented 10 years ago

Getting Error while click on any item in app. I have already add the support v8 jar file

Here is the log ....

09-01 07:44:19.938: E/RenderScript_jni(15327): Error loading RS jni library: java.lang.UnsatisfiedLinkError: Cannot load library: reloc_library[1306]: 115 cannot locate 'strlen_chk'... 09-01 07:44:19.938: E/InputEventReceiver(15327): Exception dispatching input event. 09-01 07:44:19.938: E/MessageQueue-JNI(15327): Exception in MessageQueue callback: handleReceiveCallback 09-01 07:44:19.946: E/MessageQueue-JNI(15327): android.support.v8.renderscript.RSRuntimeException: Error loading RS jni library: java.lang.UnsatisfiedLinkError: Cannot load library: reloc_library[1306]: 115 cannot locate 'strlen_chk'... 09-01 07:44:19.946: E/MessageQueue-JNI(15327): at android.support.v8.renderscript.RenderScript.create(RenderScript.java:945) 09-01 07:44:19.946: E/MessageQueue-JNI(15327): at android.support.v8.renderscript.RenderScript.create(RenderScript.java:982) 09-01 07:44:19.946: E/MessageQueue-JNI(15327): at android.support.v8.renderscript.RenderScript.create(RenderScript.java:968)

daimajia commented 10 years ago

Did you follow the official instruction to set up the RenderScript? Please make sure you have already done the following steps: http://developer.android.com/guide/topics/renderscript/compute.html#access-rs-apis

Gisonrg commented 10 years ago

I got the same problem. If I set the RenderScript to the support mode, then I could use the hover perfectly, but a QR code scan module which uses NDK will die...However, if I switch the support mode off, then QR code module can be used but the hover will not work...

daimajia commented 10 years ago

@Gisonrg Which qr code library you are using?

Gisonrg commented 10 years ago

@daimajia I am using ZBar lib, which is used by the QR code scan library https://github.com/SkillCollege/QrCodeScan on Github.

Mardoqueu commented 9 years ago

i am having this error: Error:(13, 0) Gradle DSL method not found: 'compile()' Possible causes:

iampkuhz commented 8 years ago

Build Tools, Revision 23.0.3 fix this bug, I have try and sucess.

http://stackoverflow.com/a/36322996/4856869