Skip to content

justlovediaodiao/AndroidLibXrayLite

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

AndroidLibXrayLite

Change v2ray-core to https-proxy. Buiding with v2rayNG to make https-proxy runs on Android.

Build requirements

  • JDK
  • Android SDK
  • Go
  • gomobile

Build environment

  • Go Mobile:
go install golang.org/x/mobile/cmd/gomobile@latest
gomobile init
go get golang.org/x/mobile/bind

Add ~/go/bin to environment path.

  • Android SDK
  1. install JDK(Java SE Development Kit). Add <jdk>/bin to environment path.
  2. install sdkmanager. Add <androidsdk>/cmdline-tools/latest/bin to environment path.
  3. list available sdk packages:
sdkmanager --list
  1. select latest SDK(platforms;android-*) and NDK(nkd;*) (* is version number) to install.
sdkmanager "platforms;android-*" "ndk;*"

Add ANDROID_HOME=<androidsdk> environment variable.

Build instructions

  1. git clone [repo] && cd AndroidLibXrayLite
  2. gomobile bind -v -androidapi 19 -ldflags='-s -w' ./

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Go 100.0%