The example app works well but when i tried to integrate with my app, it didn't work-
When i clicked on the download button, there was no response; when i tred again it gave out the error below.
I also tried to make an entirely new flutter app to test it separetely and used the flutter torrent streamer library and the main.dart file of the example app. Still got the same error.
Error fetching magnet
I/SessionManager( 1500): java.lang.InterruptedException
I/SessionManager( 1500): at java.util.concurrent.locks.AbstractQueuedSynchronizer.doAcquireSharedNanos(AbstractQueuedSynchronizer.java:1065)
I/SessionManager( 1500): at java.util.concurrent.locks.AbstractQueuedSynchronizer.tryAcquireSharedNanos(AbstractQueuedSynchronizer.java:1358)
I/SessionManager( 1500): at java.util.concurrent.CountDownLatch.await(CountDownLatch.java:278)
I/SessionManager( 1500): at com.frostwire.jlibtorrent.SessionManager.fetchMagnet(SessionManager.java:680)
I/SessionManager( 1500): at com.frostwire.jlibtorrent.SessionManager.fetchMagnet(SessionManager.java:704)
I/SessionManager( 1500): at com.frostwire.jlibtorrent.SessionManager.fetchMagnet(SessionManager.java:716)
I/SessionManager( 1500): at com.github.se_bastiaan.torrentstream.TorrentStream.getTorrentInfo(TorrentStream.java:187)
I/SessionManager( 1500): at com.github.se_bastiaan.torrentstream.TorrentStream.access$1200(TorrentStream.java:52)
I/SessionManager( 1500): at com.github.se_bastiaan.torrentstream.TorrentStream$7.run(TorrentStream.java:306)
I/SessionManager( 1500): at android.os.Handler.handleCallback(Handler.java:938)
I/SessionManager( 1500): at android.os.Handler.dispatchMessage(Handler.java:99)
I/SessionManager( 1500): at android.os.Looper.loop(Looper.java:223)
I/SessionManager( 1500): at android.os.HandlerThread.run(HandlerThread.java:67)
The example app works well but when i tried to integrate with my app, it didn't work- When i clicked on the download button, there was no response; when i tred again it gave out the error below.
I also tried to make an entirely new flutter app to test it separetely and used the flutter torrent streamer library and the main.dart file of the example app. Still got the same error.
Maybe it can be an android compatibility issue too: https://github.com/frostwire/frostwire-jlibtorrent/issues/238
Error fetching magnet I/SessionManager( 1500): java.lang.InterruptedException I/SessionManager( 1500): at java.util.concurrent.locks.AbstractQueuedSynchronizer.doAcquireSharedNanos(AbstractQueuedSynchronizer.java:1065) I/SessionManager( 1500): at java.util.concurrent.locks.AbstractQueuedSynchronizer.tryAcquireSharedNanos(AbstractQueuedSynchronizer.java:1358) I/SessionManager( 1500): at java.util.concurrent.CountDownLatch.await(CountDownLatch.java:278) I/SessionManager( 1500): at com.frostwire.jlibtorrent.SessionManager.fetchMagnet(SessionManager.java:680) I/SessionManager( 1500): at com.frostwire.jlibtorrent.SessionManager.fetchMagnet(SessionManager.java:704) I/SessionManager( 1500): at com.frostwire.jlibtorrent.SessionManager.fetchMagnet(SessionManager.java:716) I/SessionManager( 1500): at com.github.se_bastiaan.torrentstream.TorrentStream.getTorrentInfo(TorrentStream.java:187) I/SessionManager( 1500): at com.github.se_bastiaan.torrentstream.TorrentStream.access$1200(TorrentStream.java:52) I/SessionManager( 1500): at com.github.se_bastiaan.torrentstream.TorrentStream$7.run(TorrentStream.java:306) I/SessionManager( 1500): at android.os.Handler.handleCallback(Handler.java:938) I/SessionManager( 1500): at android.os.Handler.dispatchMessage(Handler.java:99) I/SessionManager( 1500): at android.os.Looper.loop(Looper.java:223) I/SessionManager( 1500): at android.os.HandlerThread.run(HandlerThread.java:67)