-
-
Notifications
You must be signed in to change notification settings - Fork 140
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
Error while dexing in android version 2.0.11.0 #301
Comments
hmm, that's a really vague error, please try sharing more of the output |
are you including all of the .jar files? you want to include the jar with just the classes, along with the other jars that have the binaries, do not extract them, perhaps you added the .so files straight up? |
Hi, thanks for swift reply. Yes, I include total 5 files, exactly like here: https://github.com/frostwire/frostwire/tree/master/android/libs I dont have my work laptop with me, but this is very easy to reproduce:
|
hmm, wonder if we didn't update the version number somewhere for 2.0.11.0 Are you including the jars here? |
Also, please don't loook at FrostWire's source code right now, FrostWire is still on jlibtorrent 1.2x, we'll be releasing a 2.0 based version in 2025. |
Yes, I am including jars from the link you posted. |
it's going to be a lot more than changing the jars :) otherwise we would've released already. There's a TON of API breaking changes from 1.2.x to 2.0.x |
busy now trying to get android to work with SDK 34+ I'm hoping to merge this today (Android 34+ compatibility) Once we got that merged and out we'll start the Jlibtorrent 2.0 migration for android and desktop. |
Right, but I was just starting development of POC. I had no code yet and could not compile, and it makes sense for me to start with 2.x version to avoid breaking changes. But anyway I just need to download torrent with HTTPS url seed and seed it for few minutes after, so there wont be a lot of work to update it next year to 2.x. |
give me a week and ill be testing the api on android |
update: done with the android sdk 34+ update, I can now start a new branch to start integrating jlibtorrent 2.0, I'll keep you posted if I come across this DEXING issue and how I solve it. I'll also let you know if I don't have any issues, in which case I'll tell you to look at our Android project files, for now I leave you these to compare against yours:
DEXing issues are often also caused by
|
I think we'll also be doing this, if we have issues |
Hello,
I was trying to embedd some torrent client with in android java app.
I am rather C# dev, so sorry if that is obvious mistake or too little details
I failed with libtorrent4j, so I moved here. With stable version as in frostwire for android, app builds ok.
When build with latest beta version 2.0.11.0, I am getting:
`
I am using (min/compile/target) sdkversion 28, but with different versions I did not see any changes.
Just reporting the bug, I can stay on stable version for my work.
BTW what is the difference between libtorrent4j and jlibtorrent nowadays? Which one should I use for new development?
Best regards
The text was updated successfully, but these errors were encountered: