You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi all,
Could anyone to help me.
I have compiled tun2sock.aar with gomobile bind -target=android -androidapi 26 -o output/build/android/tun2socks.aar ./outline/platerrors ./outline/tun2socks ./outline
tune2socks.aar and tun2socks.jar which i build contains this comments instead some fields and methods. For example: // skipped const InternalError with unsupported type: github.com/Jigsaw-Code/outline-apps/client/go/outline/platerrors.ErrorCode
or // skipped field PlatformError.Code with unsupported type: github.com/Jigsaw-Code/outline-apps/client/go/outline/platerrors.ErrorCode
But for example Error.java call this method: svcErr.code = err.getCode();
I understand why it was skipped but don't know how to build tun2socks to avoid this.
So i got several errors when build outline-apps. I am using last go and gomobile version. Could you please help me to understand what i am doing wrong
Update. Resolved this just with change type ErrorCode to string.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi all,
Could anyone to help me.
I have compiled tun2sock.aar with
gomobile bind -target=android -androidapi 26 -o output/build/android/tun2socks.aar ./outline/platerrors ./outline/tun2socks ./outline
tune2socks.aar and tun2socks.jar which i build contains this comments instead some fields and methods. For example:
// skipped const InternalError with unsupported type: github.com/Jigsaw-Code/outline-apps/client/go/outline/platerrors.ErrorCode
or
// skipped field PlatformError.Code with unsupported type: github.com/Jigsaw-Code/outline-apps/client/go/outline/platerrors.ErrorCode
But for example Error.java call this method:
svcErr.code = err.getCode();
I understand why it was skipped but don't know how to build tun2socks to avoid this.
So i got several errors when build outline-apps. I am using last go and gomobile version. Could you please help me to understand what i am doing wrong
Update. Resolved this just with change type ErrorCode to string.
Beta Was this translation helpful? Give feedback.
All reactions