-
Notifications
You must be signed in to change notification settings - Fork 130
Fails to build android library #113
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
Comments
Hey, it seems like it's more an issue about golang.org/x/mobile than with gopenpgp. It could be related to this issue golang/go#42655. In the meantime, I managed to make it work for NDK version 21.3.6528147 could you try it on your side ? |
We also have prepared builds on github if you need https://github.com/ProtonMail/gopenpgp/actions?query=workflow%3A%22Gomobile+for+Android%22 |
With |
In my case I see the build inside the |
Here you go, log for android build Directory tree after build:
|
Thanks for the log.
According to golang/go#42655, an additional issue is that in gomobile |
After swapping the ndk-bundle directory to version 21.3.6528147 ( |
Hi.
I followed instructions for building libraries for mobile (https://github.com/ProtonMail/gopenpgp#using-with-go-mobile), and ios/macos builds without a problem.
But android fails with error:
go version go version go1.15.6 darwin/amd64
All environment variables set.
I tried with NDK versions:
21.0.6113669
22.0.7026061
The text was updated successfully, but these errors were encountered: