-
Notifications
You must be signed in to change notification settings - Fork 356
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
Doesn't run anymore on Android 4.4 #466
Comments
cc @irbull I am getting this as well, reads like it was intentional according to the comments starting here, but maybe open to lowering the level to support API 16+ on 32-bit?
We are seeing this with the following OS versions:
Reference: |
We have the same problem here. Do you have an idea to solve it? Thanks |
I have not, short of doing a local build which I am hesitant to do until we hear back on whether this will be backported to support API 16+. |
And about API 19+, have your tried this ? Ref:
|
The issue is here: (config_android.py) "android-gcc-toolchain $ARCH --api *21* --host gcc-lpthread -C". Changing that to 19 will resolve the issue though should probably be performed only for the 32bit build iterations.
On Wednesday, May 22, 2019, 10:39:41 AM GMT+3, Nicolas M <notifications@github.com> wrote:
And about API 19+, have your tried this ?
APP_PLATFORM := android-19 in your Application.mk
Ref:
The cause of problem is not the version of NDK that was used but version of target platform. android-19 is the last platform version where sigemptyset() (and many other functions) was declared as inline just at platform headers. As result - system libc on that devices doesn't contain such functions.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or mute the thread.
|
☝️ Additionally should update it here for consistency |
I am under the same requirements to support older androids. Is there any chance it will be supported? |
@irbull Do you have news about this? thank you so much |
@irbull Is the android |
I built arm with |
For me, build with -- API 19 on latest master, didn't worked well when I run on old devices. I end up building hybrid aar. I took latest 4.4.8 aar and repackage it with 32 bit .so files from version before. And it working well so far. It is in production for almost a week already with no issues. Anyway, thanks for the response. |
Interesting, my local build is working in testing, but merged aar from last 2 releases is crashing with newer API's. |
+1 on this issue. Can you please help to provide fix? Tried pulling 32 bit libs from |
Try to pull 32 bit .so files from 4.8.2 and add them to aar of 4.8.4. This is what worked for me |
I have a local build working in testing so far, but would prefer an official build/support prior to the Aug 1 deadline set by Google. |
More interestingly, I have built with |
Unfortunately @doneill can you please share build steps, otherwise I will try to follow build steps for Android from https://github.com/eclipsesource/J2V8/blob/master/BUILDING.md. |
I have tried a few things, first I built 2 separate libs changing the toolchain arch in config_android.py to the min API I wanted to support: e.g. built x64 libs with and build x32 libs with using the
I lowered the min API to 16 and built again and confirmed that it worked on lower API levels down to API 16. |
Thanks @kraizman, it worked! it was my mistake that I just Here are steps:
|
I have updated the 4.8-maintenance build to use API 16 for the 32 bit builds and 21 for the 64 bit builds. I've pushed a new SNAPSHOT as [1] https://oss.sonatype.org/content/repositories/snapshots/com/eclipsesource/j2v8/j2v8/4.8.5-SNAPSHOT/ |
Here is what I did. b9b704f |
Cool, I will test |
I've done initial testing of arm down as low as API 19 (4.4) as well as 64bit on 9/10 and working so far |
I can also confirm that the provided SNAPSHOT works on android 4.4. |
Should be available in Maven Central as a real release now.
Thanks everyone! I imagine most people care about this for the 4.8 stream. I'm not sure if we should port this to 5.x too? What do we lose by using API 16 to build our 32 bit platforms, anything? |
Thanks @irbull production release working in testing so far. Sounds reasonable to me to have 5.x up support to min 21 considering there is lower SDK level support in 4.8.x providing somewhat of a migration path. |
That sounds like be a bad lib, are you not able to pull from maven repo? |
Using
Doesn't work. |
It used to work on android version 4 but I just updated and now I get :
cannot locate symbol "sigemptyset" referenced by "libj2v8.so"
The text was updated successfully, but these errors were encountered: