Skip to content

migranting libtun2socks from 2dust/AndroidLibV2rayLite#90

Merged
2dust merged 1 commit into2dust:mainfrom
UjuiUjuMandan:libtun2socks
Jan 5, 2025
Merged

migranting libtun2socks from 2dust/AndroidLibV2rayLite#90
2dust merged 1 commit into2dust:mainfrom
UjuiUjuMandan:libtun2socks

Conversation

@UjuiUjuMandan
Copy link
Contributor

@UjuiUjuMandan UjuiUjuMandan commented Jan 5, 2025

@2dust 2dust merged commit df181a3 into 2dust:main Jan 5, 2025
@UjuiUjuMandan UjuiUjuMandan deleted the libtun2socks branch January 5, 2025 03:21
UjuiUjuMandan added a commit to UjuiUjuMandan/v2rayNG that referenced this pull request Jan 5, 2025
2dust pushed a commit to 2dust/v2rayNG that referenced this pull request Jan 5, 2025
* add submodule AndroidLibXrayLite

* rm -r AndroidLibV2rayLite

* add submodule AndroidLibV2rayLite

* update cache key for libtun2socks due to submodules

* fetch-depth: '0'

* fail safe

* Revert "add submodule AndroidLibV2rayLite"

This reverts commit 816f75e.

* sync with 2dust/AndroidLibXrayLite#90

* checkout to 664c389 of AndroidLibXrayLite

* refine cache key of libtun2socks
@2dust
Copy link
Owner

2dust commented Jan 6, 2025

@UjuiUjuMandan
I don't know from which version, all logs cannot be output to logcat?
Do you have time to help check this problem?

For example, the following log

log.Println("loading core config")

@UjuiUjuMandan
Copy link
Contributor Author

UjuiUjuMandan commented Jan 6, 2025

I'll open an issue in v2rayNG and try looking into it.

@UjuiUjuMandan
Copy link
Contributor Author

UjuiUjuMandan commented Jan 6, 2025

@2dust

The last released .aar tested to work in this repo is v24.11.11.

In v2rayNG it's 1.9.27.

I'm trying to figure out why.

@UjuiUjuMandan
Copy link
Contributor Author

I can confirm that one of the following changes broke it. But it is not the go patch.

@UjuiUjuMandan
Copy link
Contributor Author

UjuiUjuMandan commented Jan 7, 2025

Well, I think...it's very related to sagernet/gomobile.

However, a weird thing is that...the v24.12.18 release in this repo is broken, but when I used exactly the same workflow in v24.12.18 to build it again, it came back to work.

I doubt it's related to some golang change, because it's always @latest, I'll update sagernet/gomobile and try again.

@2dust
Copy link
Owner

2dust commented Jan 7, 2025

github.com/sagernet/gomobile/cmd/gomobile@latest
Confirmed, this is the problem

@UjuiUjuMandan
Copy link
Contributor Author

UjuiUjuMandan commented Jan 7, 2025

I'm making sure it's not related to the additional build parameters when switching to sagernet/gomobile.

@UjuiUjuMandan
Copy link
Contributor Author

UjuiUjuMandan commented Jan 7, 2025

No...just sagernet/gomobile, Damnn what the hell did they change...

@UjuiUjuMandan
Copy link
Contributor Author

@2dust I'll report it to nekohasekai, before it's fixed...I'm afraid it has to revert back to original gomobile.

UjuiUjuMandan added a commit to UjuiUjuMandan/AndroidLibXrayLite that referenced this pull request Jan 31, 2025
2dust pushed a commit that referenced this pull request Jan 31, 2025
ichurkin added a commit to ichurkin/AndroidLibXrayLite that referenced this pull request Feb 4, 2025
* main: (24 commits)
  Update workflows (2dust#107)
  Fix go.sum (2dust#105)
  Revert "migranting libtun2socks from 2dust/AndroidLibV2rayLite (2dust#90)" (2dust#104)
  Update dependencies and Submodules  (2dust#95)
  Updating xray-core to v25.1.30 0a8470cb14ebbf7ee4cbb6c601bb9db072ace985
  2025.01.30
  update go version and remove patch (2dust#100)
  disable stripping (2dust#98)
  fix update (2dust#93)
  revert to golang.org/x/mobile (2dust#94)
  Update dependencies (2dust#92)
  Grab tags instead of releases (2dust#89)
  migranting libtun2socks from 2dust/AndroidLibV2rayLite (2dust#90)
  automating xray-core updating (2dust#88)
  update go.mod (2dust#85)
  switch to dbip (2dust#83)
  gomobile bind for rb (2dust#82)
  Update go.mod (2dust#81)
  Update go.mod
  Update dependencies (2dust#79)
  ...

# Conflicts:
#	go.mod
#	go.sum
#	libv2ray_main.go
ichurkin added a commit to ichurkin/AndroidLibXrayLite that referenced this pull request Feb 4, 2025
* main: (24 commits)
  Update workflows (2dust#107)
  Fix go.sum (2dust#105)
  Revert "migranting libtun2socks from 2dust/AndroidLibV2rayLite (2dust#90)" (2dust#104)
  Update dependencies and Submodules  (2dust#95)
  Updating xray-core to v25.1.30 0a8470cb14ebbf7ee4cbb6c601bb9db072ace985
  2025.01.30
  update go version and remove patch (2dust#100)
  disable stripping (2dust#98)
  fix update (2dust#93)
  revert to golang.org/x/mobile (2dust#94)
  Update dependencies (2dust#92)
  Grab tags instead of releases (2dust#89)
  migranting libtun2socks from 2dust/AndroidLibV2rayLite (2dust#90)
  automating xray-core updating (2dust#88)
  update go.mod (2dust#85)
  switch to dbip (2dust#83)
  gomobile bind for rb (2dust#82)
  Update go.mod (2dust#81)
  Update go.mod
  Update dependencies (2dust#79)
  ...

# Conflicts:
#	go.mod
#	go.sum
#	libv2ray_main.go
UntuKemeng pushed a commit to UWU-TEAM/Neko-ray that referenced this pull request Mar 4, 2025
* add submodule AndroidLibXrayLite

* rm -r AndroidLibV2rayLite

* add submodule AndroidLibV2rayLite

* update cache key for libtun2socks due to submodules

* fetch-depth: '0'

* fail safe

* Revert "add submodule AndroidLibV2rayLite"

This reverts commit 816f75e0f9c7f90508fdd7bc42327f16c843d0c5.

* sync with 2dust/AndroidLibXrayLite#90

* checkout to 664c389 of AndroidLibXrayLite

* refine cache key of libtun2socks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants