-
Notifications
You must be signed in to change notification settings - Fork 355
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
Support 64-bit architectures #384
Comments
I am also waiting for this. This is an extremely useful library, and as of right now i m highly dependant on it, so it would be really nice to be able to keep using it :) |
I see, that there is PR, but it's nor merged. May be could be useful for somebody to use it as it is or refine and finish it: #380 |
@irbull Sorry for disturbing, but I just want to highlight, that on August 2019 Google Play will block app uploading of the |
@irbull It's now 2019 and the deadline for updating Android apps to include 64-bit architectures is now just a few months away. Any chance you could post a status update here to let us know if 64-bit support is likely to be forthcoming? It's getting time-critical. I see that #380 was opened but seems to have stalled. Thanks! |
I have managed to build an Also, I tried to build |
@irbull This should cover what we need for Android:
|
@GrahamBorland Thanks! So just to clarify, if we had an |
@irbull That is correct. It will bump up the size of the |
I have managed to build x86_64 and arm64 from As mentioned, this is only from Finally, I'm going to be reducing the scope of this project to focus soley on V8 on Android. See #441 for more details. |
@irbull Thank you! Regarding
|
@GrahamBorland Thanks! I'll switch to 21. Honestly, I was pulling my hair out for a few days trying to get these working, and I guess I just tried 23 at one point and left it. (turns out the I'd like to keep the API level as low as possible, so if 21 works, I'm happy with that. |
Did anyone manage to compile an .aar for 64 bit? and if so would it be possible to share it? was not able to find it on mavencentral |
Here's the latest post from Google with a more detailed timeline and migration guide. |
An official build containing official 64-bit Android ARM binaries would be very, very helpful about now! |
Hi @irbull ,hi all! is it possible to have a precompiled |
@irbull Is there any specific help you need to get 64-bit builds shipped? If you let us know what is needed, maybe one of us can offer some help. The clock is ticking. :) |
I ended up building myself from HEAD, but couldn't figure out the "right" way to build 64-bit much less a "fat" 32/64-bit AAR file, so I ended up hacking a 64-bit build and pieces together a far AAR by hand. Obviously not ideal. An official fat AAR build (and obvious or documented means of producing this) is really needed. |
@irbull Hi, when will 64bit J2v8 release? It's running out of time. |
I finally managed to get the jar signing working and pushed to maven central the lastest code from
This doesn't include the fix @JessHolle has for library loading. I'll get that in next. The build number is a little wacky, that's about the number of attempts it took me. 😫 I can also be used as a gradle dependency:
|
I'll be anxiously awaiting an official build containing the library fix -- so I can get off my own hacked one! |
Just for a bit of transparency on what I'm doing here:
|
@irbull Thank you! Is there a way I can (remotely) buy you a few beers? |
We now have 64-bit support in both the 4.8 and 5.0 streams. In gradle: or in a maven pom
or
All those builds contain the binaries for x86, x86_64, arm and arm64. If you call As for beers, I live in the Pacific Northwest and travel to Germany a few times a year. If anyone is around Victoria BC, or Karlsruhe Germany, and wants to go for a drink and chat JNI, OSS Java or whatever, I'm usually up for a drink. Thanks, everyone for all your patience and pointers with this issue. |
Is it possible to lower the API level to 16 for 32-bit archs? |
Does this mean we need different API levels for 32 vs 64 bit? |
I'm not even sure how one could easily do that. In 2019, API level 21 is a sensible, realistic and pragmatic minimum version. Anyone who needs to support older versions can stick with the older (32-bit-only) version of J2V8, or may need to have a separate build of their app for older Android versions. Android 4.4 is six years old now. |
@GrahamBorland We have pain that the Android have Fragmentation Issue. Google itself trying to solve this using Project treble. We cannot omit just because Android 4.4 is 6 years old. Even google recommends developers to support from 4.3 (API level 16). At least we should support from 4.4. |
Personally I concur with @GrahamBorland -- Android 4.x is ancient history in my book. Android 5.x is borderline. But I understand that different apps have different requirements in terms of their ability to reach old devices. Which is to say, supporting old OS versions is fine/good if someone manages to accomplish that, but not an itch I'd personally spend time trying to scratch. I'd be most concerned about Android 6 and higher and looking forward, e.g. to newer V8 versions. |
Yes supporting api 19+ can be done, I understand the takes on versions, but Google still documents 4.4 and there are industries where older devices are still being used in the field. |
According to this post https://android-developers.googleblog.com/2017/12/improving-app-security-and-performance.html
In August 2019, Google Play will require that new apps and app updates with native libraries provide 64-bit versions in addition to their 32-bit versions.
Do you plan to support for 64-bit architectures?
The text was updated successfully, but these errors were encountered: