RT ,按照网上的教程修改 info.plist( http://blog.csdn.net/huanghr_1/article/details/39735335)
并不行,新版的.plist 文件并没有名 vmoptions 的 key ,参看以前版本在 JVMOptions 下面增加了-Dfile...参数也是无效的。( ssl 证书都已安装好)
有谁知道怎么解决么?
RT ,按照网上的教程修改 info.plist( http://blog.csdn.net/huanghr_1/article/details/39735335)
并不行,新版的.plist 文件并没有名 vmoptions 的 key ,参看以前版本在 JVMOptions 下面增加了-Dfile...参数也是无效的。( ssl 证书都已安装好)
有谁知道怎么解决么?
1
clare0621 OP 额,自己解决了。
================== 在 JVMOptions 下面添加单独的: <string>-Xmx512m</string> <string>-Dfile.encoding=UTF-8</string> 就行(不要将两个参数放一个标签里)。 第一个是避免内存溢出异常的。 |
2
surefire Feb 3, 2016
Charles 是抓包的那个吗?
|
4
clare0621 OP @clare0621 如果是 Https 请求,还需安装证书,具体可参考 http://yijingping.github.io/2014/08/01/net-analyzer.html
|
5
ChiangDi Apr 17, 2016
不错 刚好碰到 感谢分享
|
6
whisper1225 Jun 1, 2016
请问我的改之后运行弹框显示 main class name is required 是为什么
|
7
whisper1225 Jun 1, 2016
@clare0621 请问我的改之后运行弹框显示 main class name is required 是为什么
|
8
clare0621 OP @whisper1225 不太清楚额,请确定用的正版,并且没有操作错。
|
9
whisper1225 Jun 3, 2016
@clare0621 已经解决了 谢谢
|
10
zhangzijun Jun 7, 2016
@whisper1225 请问你是怎么解决的呢?
|
13
flight2006 Sep 15, 2016
@whisper1225 同问怎么修好的?
|
14
zhangchioulin Oct 31, 2016
|
15
corona Mar 18, 2017
遇到同样的问题,用楼主的方法解决了。 666
|
16
phperstar Jun 12, 2018
如果是两行,要加<array></array> ,不然软件启动不起来
<key>VMOptions</key> <array> <string>-Xmx512m</string> <string>-Dfile.encoding=UTF-8</string> </array> |