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
额,自己解决了。
================== 在 JVMOptions 下面添加单独的: <string>-Xmx512m</string> <string>-Dfile.encoding=UTF-8</string> 就行(不要将两个参数放一个标签里)。 第一个是避免内存溢出异常的。 |
|
surefireFeb 3, 2016
2
Charles 是抓包的那个吗?
|
|
4
@clare0621 如果是 Https 请求,还需安装证书,具体可参考 http://yijingping.github.io/2014/08/01/net-analyzer.html
|
|
ChiangDiApr 17, 2016
5
不错 刚好碰到 感谢分享
|
|
whisper1225Jun 1, 2016
6
请问我的改之后运行弹框显示 main class name is required 是为什么
|
|
whisper1225Jun 1, 2016
7
@clare0621 请问我的改之后运行弹框显示 main class name is required 是为什么
|
|
8
@whisper1225 不太清楚额,请确定用的正版,并且没有操作错。
|
|
whisper1225Jun 3, 2016
9
@clare0621 已经解决了 谢谢
|
|
zhangzijunJun 7, 2016
10
@whisper1225 请问你是怎么解决的呢?
|
|
flight2006Sep 15, 2016
13
@whisper1225 同问怎么修好的?
|
|
zhangchioulinOct 31, 2016
14
|
|
coronaMar 18, 2017
15
遇到同样的问题,用楼主的方法解决了。 666
|
|
phperstarJun 12, 2018
16
如果是两行,要加<array></array> ,不然软件启动不起来
<key>VMOptions</key> <array> <string>-Xmx512m</string> <string>-Dfile.encoding=UTF-8</string> </array> |