-
Notifications
You must be signed in to change notification settings - Fork 504
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
No static method encodeHex in Android #144
Comments
d3roch4
pushed a commit
to d3roch4/ttorrent
that referenced
this issue
Aug 19, 2015
philipphenkel
pushed a commit
to philipphenkel/ttorrent-android
that referenced
this issue
Jan 17, 2016
philipphenkel
pushed a commit
to philipphenkel/ttorrent-android
that referenced
this issue
Jan 17, 2016
This was referenced Jan 18, 2016
philipphenkel
added a commit
to philipphenkel/ttorrent-android
that referenced
this issue
Jan 19, 2016
Resolves: mpetazzoni#144 See also: mpetazzoni#146
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Torrent.create with erro in android:
08-13 20:14:29.587 8458-8506/br.com.d3roch4.albumgroup E/AndroidRuntime﹕ FATAL EXCEPTION: AsyncTask #2
Process: br.com.d3roch4.albumgroup, PID: 8458
java.lang.RuntimeException: An error occured while executing doInBackground()
at android.os.AsyncTask$3.done(AsyncTask.java:300)
at java.util.concurrent.FutureTask.finishCompletion(FutureTask.java:355)
at java.util.concurrent.FutureTask.setException(FutureTask.java:222)
at java.util.concurrent.FutureTask.run(FutureTask.java:242)
at android.os.AsyncTask$SerialExecutor$1.run(AsyncTask.java:231)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1112)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:587)
at java.lang.Thread.run(Thread.java:818)
Caused by: java.lang.NoSuchMethodError: No static method encodeHex([BZ)[C in class Lorg/apache/commons/codec/binary/Hex; or its super classes (declaration of 'org.apache.commons.codec.binary.Hex' appears in /system/framework/ext.jar)
at com.turn.ttorrent.common.Torrent.byteArrayToHexString(Torrent.java:415)
at com.turn.ttorrent.common.Torrent.(Torrent.java:145)
at com.turn.ttorrent.common.Torrent.create(Torrent.java:666)
at com.turn.ttorrent.common.Torrent.create(Torrent.java:534)
The Solution is related in: http://stackoverflow.com/questions/9126567/method-not-found-using-digestutils-in-android
The text was updated successfully, but these errors were encountered: