ipfs-shipyard / java-ipfs-http-client

A Java implementation of the HTTP IPFS API
MIT License
538 stars 243 forks source link

Cannot create IPFS object on android device #137

Closed redriel closed 5 years ago

redriel commented 5 years ago

When I try the command

IPFS ipfs = new IPFS(new MultiAddress("/ip4/127.0.0.1/tcp/5001"));

The app suddenly crashes. Do you have any suggestion?

ianopolous commented 5 years ago

Are you also running a local ipfs daemon?

redriel commented 5 years ago

Yes; I solved the problem starting a new thread. Android doesn't like internet activities concurring with the UI process.

kuabhish commented 4 years ago

Hey @redriel What is the solution for this. ?