credentials / irma_mobile

IRMA app for iOS and Android
Apache License 2.0
25 stars 11 forks source link

Update README to correctly configure NDK #89

Closed raboof closed 5 years ago

raboof commented 5 years ago

After following the instructions in the README, I have an NDK in $ANDROID_HOME/ndk/20.0.5594570, but yarn run android fails with:

> Task :irmagobridge:gobind FAILED
/home/aengelen/dev/go/bin/gomobile: no Android NDK found in $ANDROID_HOME/ndk-bundle nor in $ANDROID_NDK_HOME

I'm not sure if the fix is to somehow initialize gomobile with the correct NDK path or to document setting ANDROID_NDK_HOME - but the latter seems to work for me ;).

Might be related to https://github.com/golang/go/issues/28449

davidv1992 commented 5 years ago

How did you install the NDK? This looks like a non-default path for its installation if installed in accordance with the instructions, unless I am overlooking something in googles changenotes.

raboof commented 5 years ago

My bad, I accidentally selected NDK (Side by side) rather than NDK