Coder Social home page Coder Social logo

Comments (10)

aldenml avatar aldenml commented on August 18, 2024 1

Ok, 1.1.0.10 is out for arm, x86, arm64 and x86_64 (see the new artifacts): http://search.maven.org/#search%7Cga%7C1%7Cfrostwire

from frostwire-jlibtorrent.

aldenml avatar aldenml commented on August 18, 2024

Supposedly the arm64 should include a core to run 32 bits instructions. Is this a regular market device/phone?

from frostwire-jlibtorrent.

sv244 avatar sv244 commented on August 18, 2024

I'm currently splitting my APK's by architecture to make sure it doesn't become huge

No arm64 version of jlibtorrent means that I can't use the arm64 version of my other library. The armv7a version is not automatically included in the arm64 APK when the arm64 version of the library is missing. And thus the arm64 version doesn't work.

from frostwire-jlibtorrent.

aldenml avatar aldenml commented on August 18, 2024

Now I underestand. Well, there is a chance, but I can't say a time. I need to review the build/jar creation. Is this a pressing issue for you?

from frostwire-jlibtorrent.

sv244 avatar sv244 commented on August 18, 2024

Not really.

You have x86 and armeabi-v7a currently. I didn't have time yet to compile the libraries myself, but I would say that adding the following script to swig/build-android.sh would work?

$BOOST_ROOT/bjam --user-config=android-config.jam toolset=gcc-ndk10.android.21.arm64v8a.4.9 target-os=android location=bin/android/arm64-v8a
mv bin/android/arm64-v8a/libjlibtorrent.so.1.1.0 bin/android/arm64-v8a/libjlibtorrent.so
TARGET=bin/android/arm64-v8a/libjlibtorrent.so
$NDK_ROOT/toolchains/aarch64-linux-android-4.9/prebuilt/darwin-x86_64/bin/aarch64-linux-android-strip --strip-unneeded -x $TARGET

from frostwire-jlibtorrent.

aldenml avatar aldenml commented on August 18, 2024

I need to setup the toolchain for 64 bits in android-config.jam and compile the openssl first.

from frostwire-jlibtorrent.

sv244 avatar sv244 commented on August 18, 2024

Haha. Yes of course. I understand. I guess you meant I need to review the build/jar creation as something else you need to do first?

from frostwire-jlibtorrent.

aldenml avatar aldenml commented on August 18, 2024

yes :)

from frostwire-jlibtorrent.

sv244 avatar sv244 commented on August 18, 2024

Then I misunderstood that you misunderstood me. Just take your time. I'm happy this library exists anyways.

There aren't that many arm64 Android devices out there yet, but I guess the number will increase a lot in the next year. Better be prepared. :D

from frostwire-jlibtorrent.

sv244 avatar sv244 commented on August 18, 2024

Wow. I missed this. Great!

from frostwire-jlibtorrent.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.