Unable to build mobile (android) library #4382
Labels
documentation
Documentation changes that do not affect code behaviour
golang/build system
Related to the go language and compiler
mobile
Background
I am trying to build the
Lndmobile.aar
file to use in my Android app. I tried to follow the instructions here: https://github.com/lightningnetwork/lnd/blob/master/mobile/README.mdI was able to run the "make android" command, and it exited with exit code 0. It generated the files in
/root/go/src/github.com/lightningnetwork/lnd/mobile/
. TheLndmobile.aar
andLndmobile-sources.jar
are both created.The
Start
method ofLndmobile
is missing. It shows a comment in it's place:Your environment
lnd
: v0.10.1-betauname -a
on *Nix): ubuntu:20.04btcd
,bitcoind
, or other backend: NoneSteps to reproduce
https://github.com/yzernik/lnd-mobile-docker
Expected behaviour
The
Lndmobile.aar
file should be generated correctly. When I import it into Android Studio, I should be able to call the "Start" method:Actual behaviour
The
Lndmobile.aar
file is not generated correctly. When I import it into Android Studio, I am unable to call the "Start" method, because the "Start" method does not exist.The text was updated successfully, but these errors were encountered: