Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Could not load J2V8 library #171

Closed
danvinokour opened this issue Jun 15, 2016 · 6 comments
Closed

Could not load J2V8 library #171

danvinokour opened this issue Jun 15, 2016 · 6 comments

Comments

@danvinokour
Copy link

Hi,
This happened on the following devices:
HTC6535LVW
SM-N910F
LG-D690
LG-H815
HUAWEI Y511-U30

Hope the solution will not need new .so libs and will not inflate the library :/

@danvinokour
Copy link
Author

there is also a problem with nexus 6p and nexus 5x, might be a marshmallow related problem?

@w4-kang
Copy link

w4-kang commented Jun 24, 2016

Have you tried compile 'com.eclipsesource.j2v8:j2v8:4.1.0@aar' in your gradle - dependencies?

@danvinokour
Copy link
Author

No, 3.1.6.
Will 4.1.0 fix it?

@w4-kang
Copy link

w4-kang commented Jun 24, 2016

No, postfix @aar worked in my case.

@magmastonealex
Copy link

This is the same issue described in #174, I think. Adding @aar won't fix it. The problem is that the final .so isn't compiled with -fPIC.

You'll need to build from source if you want to fix it, as described in #174. My temporary fix until I have time to figure that out was to bump the buildSdkVersion down to 22.

@irbull
Copy link
Member

irbull commented Jan 11, 2019

If you are also using 64-bit libraries in your application, then J2V8 will fail to load. We are now able to build 64-bit J2V8 binaries (see #384).

@irbull irbull closed this as completed Jan 11, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants