Comments (13)
在V2RayVpnService 的onCreate 增加
Seq.setContext(applicationContext)
from v2rayng.
https://github.com/2dust/v2rayNG/tree/master/AndroidLibV2rayLite
from v2rayng.
你好,使用https://github.com/2dust/AndroidLibV2rayLite 上的源代码编译出来的libv2ray.arr放入本项目后,编译成功,但是安装之后出现了一个疑问。具体是这样的,在设置里面的路由模式选择全局可以成功连接,但是选择其他的模式,就会报错,日志里显示是no correct JVM。请问这是什么原因呢?
from v2rayng.
你好,使用https://github.com/2dust/AndroidLibV2rayLite 上的源代码编译出来的libv2ray.arr放入本项目后,编译成功,但是安装之后出现了一个疑问。具体是这样的,在设置里面的路由模式选择全局可以成功连接,但是选择其他的模式,就会报错,日志里显示是no correct JVM。请问这是什么原因呢?
请问一下怎么编译出aar呢,还没解决,能具体说下吗
from v2rayng.
https://github.com/2dust/AndroidLibV2rayLite/blob/master/.travis.yml
from v2rayng.
@2dust 按照这个编译成功之后,放入本项目相应位置编译成功,但是选择不是全局的路由模式就会无法连接。显示no correct JVM
from v2rayng.
from v2rayng.
我是应该把Seq.setContext(getApplicationContext())加入到.java么?能不能说一下具体操作
from v2rayng.
Seq.setContext(Context context). 增加在调用lib之前
from v2rayng.
@gam2046 搞定了吗?想参考一下
@2dust 是在V2RayVpnService.kt中的调用lib之前吗?还是在MainActivity.kt中的onCreate的地方呢?似乎还需要import go.Seq;
Seq.setContext(Context context).这个不知道怎么用,Java不精通。
我在MainActivity.kt中的onCreate增加了Seq.setContext(getApplicationContext()),无效。
似乎需要参考https://github.com/golang/go/issues/26815
from v2rayng.
@2dust 在在V2RayVpnService 的onCreate 增加 Seq.setContext(applicationContext)后
Task :app:compileDebugKotlin FAILED
e: /opt/src/v2rayNG/V2rayNG/app/src/main/kotlin/com/v2ray/ang/service/V2RayVpnService.kt: (106, 9): Unresolved reference: Seq
from v2rayng.
from v2rayng.
For anyone wondering here about how to build that Libv2ray.aar Library, you can visit this answer on stack overflow for a shortcut.
from v2rayng.
Related Issues (20)
- 若使用VLESS和XTLS-RPRX-VISION協議,V2RAYNG顯示錯誤網速
- 如何在进仅代理模式下屏蔽广告
- V2ray
- 863772068781954 863772068781947
- Unable to add custom geoip.dat and geosite.dat using URL
- How to download GeoIP.dat when config is not activated?
- Wireguard节点问题①启动本地DNS导致无法使用②IPV6服务器无法使用③测速显示-1ms但实际可用 HOT 1
- add support for Array of Json's file to import
- [Q] How to config only TLS Fragment?
- Subsceiption update on open
- 建议加入流量探测高级功能
- 手机v2连接后,手机开热点,电脑连接不支持访问吗,百度也搜索不到方法,还是根本不支持
- Pubg
- 订阅方式导入的自定义配置文件被更改 HOT 2
- [建议]在接入网络时,自动重启服务 HOT 1
- 电脑能翻墙,手机翻不了,换其他软件客户端能翻 HOT 1
- 最初手动添加的节点在有多个订阅后很难找到 HOT 1
- Adding mutual TLS support
- Som
- 863772068781954 863772068781947 HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from v2rayng.