Skip to content
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

[Bug] Can not gomobile buid #435

Open
2 tasks done
mohuangNPC opened this issue Dec 12, 2024 · 2 comments
Open
2 tasks done

[Bug] Can not gomobile buid #435

mohuangNPC opened this issue Dec 12, 2024 · 2 comments
Labels

Comments

@mohuangNPC
Copy link

Verify steps

  • Is this something you can debug and fix? Send a pull request! Bug fixes and documentation fixes are welcome.
  • I have searched on the issue tracker for a related issue.

Version

mian

What OS are you seeing the problem on?

Windows

Description

I tried to use gomobile bind as aar in the latest version, but it prompted an error message: no exported names in the package "github.com/xjasonlyu/tun2socks/v2/engine". However, engine clearly has an export method. I executed it on Windows. Is it related to the system?

CLI or Config

No response

Logs

gomobile: E:\SDK\GOPATH\bin\gobind.exe -lang=go,java -outdir=C:\Users\MOHUAN~1\AppData\Local\Temp\gomobile-work-1293058633 github.com/xjasonlyu/tun2socks/v2/engine failed: exit status 1
no exported names in the package "github.com/xjasonlyu/tun2socks/v2/engine"
no exported names in the package "github.com/xjasonlyu/tun2socks/v2/engine"
no exported names in the package "github.com/xjasonlyu/tun2socks/v2/engine"
no exported names in the package "github.com/xjasonlyu/tun2socks/v2/engine"

How to Reproduce

No response

@ys1231
Copy link

ys1231 commented Jan 4, 2025

Use go version go1.23.4 , You can success .

Copy link

github-actions bot commented Mar 6, 2025

This issue is stale because it has been open 60 days with no activity. Remove stale label or comment or this will be closed in 7 days

@github-actions github-actions bot added the Stale label Mar 6, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants