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
x/mobile/cmd/gomobile : Can't generate library for android for the following go package https://github.com/ethereum/go-ethereum/whisper/whisperv6 #36731
Comments
I could not reproduce this on macOS, but I encountered a different error:
|
EDIT: NVM, I think the path should work... |
@rohankeskar19 Did the old gomobile (e.g., 597adff16ade9d88626f8caea514bb189b8c74ee) worked? Of course this doesn't accept Go modules, but I was wondering if old gomobile worked with GO111MODULE=off. |
@hajimehoshi I don't know what you are asking, But I will try if you will tell me what to do... |
I assumed you were trying to test this with the latest gomobile (Git hash: 82c397c4c5279f331dce14d734fda7060e4a3691), but is that correct? If not, could you tell me the version of gomobile? And, I'd like you to try to change gomobile version if possible. |
gomobile version +82c397c Thu Jan 23 02:49:42 2020 +0000 (android); androidSDK=C:\Users\rohan\AppData\Local\Android\Sdk\platforms\android-29 |
How can I install the version you are specifying?? |
Thank you! Looks like you are using the latest one. You can install old versions by git-cloning:
Note that old gomobile cannot use Go modules, then you need to go-get libraries with |
Hi, can you please tell me with how can I do what you are telling me to do in the note |
I think you can do it on your command prompt at any directory. (If you don't have git, please install it https://git-scm.com/downloads) |
Oops, I'm sorry, as old gomobile doesn't use Go modules, you need to install gomobile in $GOPATH. Then instead of cloning by you self, please go-get with GO111MODULE=off.
|
I'm getting this
|
That's odd... This seems loading standard libraries failed. @hyangah do you have any insights? |
With both Reguarding the last post from @rohankeskar19, notice how the path says |
Thank you! This means that this issue has existed even before introducing Go modules. |
What version of Go are you using (
go version
)?Does this issue reproduce with the latest release?
Yes
What operating system and processor architecture are you using (
go env
)?go env
OutputWhat did you do?
What did you expect to see?
I want to generate android library from the go library
What did you see instead?
The text was updated successfully, but these errors were encountered: