Android/Windows binaries problem
Closed this issue · 1 comments
drakonkat commented
Hi,
i cannot make the library work in an android project, or windows too. I cannot understand the binaries logic probably
I have tried on windows to make a simple main program and simply import the dependency from maven, on android i simple imported from gradle the right architecture but in every case i get "Look for your architecture binary instructions at" if there is some guide i will appretiate
thanks a lot
gubatron commented
You need to have 2 jars:
- the jlibtorrent.jar (java classes)
- the jlibtorrent-.jar (with the shared binary libraries)
You get them here:
https://github.com/frostwire/frostwire-jlibtorrent/releases
An example If you are using gradle, for arm
:
def jlibtorrent_version = '1.2.14.1'
implementation files('libs/jlibtorrent-' + jlibtorrent_version + '.jar')
// att free phones use this and crashes
implementation files('libs/jlibtorrent-android-arm-' + jlibtorrent_version + '.jar')