8000 no exported names in the package ".aar" · Issue #325 · bepass-org/oblivion · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
no exported names in the package ".aar" #325
Open
@mhdi-khosravi

Description

@mhdi-khosravi

Hi.
I tried to build tun2socks package but failed.

go version
go version go1.22.0 windows/amd64

NDK 27.0.11902837

Gradle 8.6 Plugin 8.4.0

SDK 34.0.0

Commands in Android Studio Terminal:
cd app\libs
go run golang.org/x/mobile/cmd/gomobile init
(till here executed with no error but in last command i got errors)
go run golang.org/x/mobile/cmd/gomobile bind -ldflags="-w -s" -target=android -androidapi=21 -o=tun2socks.aar .

no exported names in the package ".aar"
no exported names in the package ".aar"
no exported names in the package ".aar"
no exported names in the package ".aar"

exit status 1

i even change the folder of libs and use power shell but still same

PS H:\New folder\libs> go version
go version go1.22.0 windows/amd64
PS H:\New folder\libs> go run golang.org/x/mobile/cmd/gomobile init

PS H:\New folder\libs> go run golang.org/x/mobile/cmd/gomobile bind -ldflags="-w -s" -target=android -androidapi=21 -o=tun2socks.aar .

C:\Users\Mhdi\AppData\Local\Temp\go-build2805889819\b001\exe\gomobile.exe: C:\Users\Mhdi\go\bin\gobind.exe -lang=go,java -outdir=C:\Users\Mhdi\AppData\Local\Temp\gomobile-work-2390169431 .aar tun2socks failed: exit status 1
no exported names in the package ".aar"
no exported names in the package ".aar"
no exported names in the package ".aar"
no exported names in the package ".aar"

exit status 1
PS H:\New folder\libs>

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0