SaeedDev94 / Xray

Xray GUI Client For Android
MIT License
194 stars 23 forks source link

vpn #5

Closed jiangabc12138 closed 11 months ago

jiangabc12138 commented 11 months ago

time="2023-11-24T09:04:58Z" level=warning msg="[UDP] dial 8.8.8.8:53: client handshake: UDP ASSOCIATE: command not supported" time="2023-11-24T09:06:33Z" level=warning msg="[UDP] dial 1.1.1.1:53: client handshake: UDP ASSOCIATE: command not supported"

Excuse me, how did you solve the issue of my error report? How did you link UDP to the proxy server or how should the server configuration file be configured? Is there a problem with the server connection? Because I use Android Studio's simulated mobile proxy to use it normally, I cannot connect to the VPN proxy server in real phones

SaeedDev94 commented 11 months ago

Only arm32 + arm64 are supported You probably can't run it on android emulator for now ...

jiangabc12138 commented 11 months ago

android config phone

My Android emulator can run normally, and the request link for APK packaging to the mobile end is also normal, but VPN still cannot proxy. How should I handle it

SaeedDev94 commented 11 months ago

These are tun2socks logs BTW
There is a high chance that your system doesn't support arm, you can download the right version of Xray-core and put it in jniLibs directory if you are persist to run it on android emulator Also make sure your config is valid

jiangabc12138 commented 11 months ago

Can I have a look at the xray configuration file of your server?

jiangabc12138 commented 11 months ago

Sorry, I don’t understand Android code very well. In addition to the socks protocol, can your Android code also use other protocols to directly connect to the xray server, such as VMess?

SaeedDev94 commented 11 months ago

Sorry, I don’t understand Android code very well. In addition to the socks protocol, can your Android code also use other protocols to directly connect to the xray server, such as VMess?

Dude, this app can run any valid Xray-core config including vmess
Please run it on a android phone instead of emulator
Maybe I'll add emulator support in future