V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
lbp0200
V2EX  ›  Google

修改 hosts 文件,让 Android 上的 Gmail 复生

  •  
  •   lbp0200 · 2015-01-01 17:58:45 +08:00 · 4942 次点击
    这是一个创建于 3405 天前的主题,其中的信息可能已经有所发展或是发生改变。

    下面的域名是Android手机上要用到的域名,只需修改hosts文件,给予能用的ip即可。
    accounts.google.com
    clients3.google.com
    clients4.google.com
    tools.google.com
    translate.googleapis.com
    www.google.com
    www.googleapis.com
    android.clients.google.com#这个最重要,收发邮件全靠他了
    fonts.googleapis.com
    fonts.gstatic.com

    ip可以到这里来取

    https://www.v2ex.com/t/158032

    亟待完善,推送功能不可用,没找到推送通知的域名,所以目前只能手动刷新,求完善。
    推送是gcm(Google cloud message),端口用的5200(大概)

    16 条回复    2015-01-02 13:06:40 +08:00
    20015jjw
        1
    20015jjw  
       2015-01-01 18:14:19 +08:00 via Android
    为啥还有人不全程ss?
    lbp0200
        2
    lbp0200  
    OP
       2015-01-01 18:16:20 +08:00
    @20015jjw 手机上程序可能会被杀死吧?
    sdysj
        3
    sdysj  
       2015-01-01 18:36:41 +08:00
    网监部门员工感谢你。。。。
    chinawrj
        4
    chinawrj  
       2015-01-01 18:45:21 +08:00 via Android
    @lbp0200 为什么是可能?难道杀不杀自己控制不了
    armysheng
        5
    armysheng  
       2015-01-01 18:49:42 +08:00
    不是有个 smarthosts
    lbp0200
        6
    lbp0200  
    OP
       2015-01-01 19:03:03 +08:00
    @armysheng 已经很久没有更新了
    zhouzm
        7
    zhouzm  
       2015-01-01 19:05:13 +08:00
    fqrouter 这么好用,为何要这么麻烦。
    orvice
        8
    orvice  
       2015-01-01 19:07:38 +08:00
    改hosts浪费的时间还不如买个ss或者vps啥的。。。
    aekt5716
        9
    aekt5716  
       2015-01-01 19:11:18 +08:00
    楼主辛苦了
    can
        10
    can  
       2015-01-01 19:53:01 +08:00
    不推荐用改hosts文件的方式
    20015jjw
        11
    20015jjw  
       2015-01-01 19:53:39 +08:00
    @lbp0200 为啥会被杀死...?
    GhostFlying
        12
    GhostFlying  
       2015-01-01 19:54:20 +08:00
    全程 ss 已经半年多了。。
    lbp0200
        13
    lbp0200  
    OP
       2015-01-01 19:58:48 +08:00
    @GhostFlying
    @20015jjw
    我手机内存低,ss经常被清理掉
    GhostFlying
        14
    GhostFlying  
       2015-01-01 20:18:51 +08:00
    @lbp0200 多少的?SS 这种有通知的被杀优先级很低的啊
    lbp0200
        15
    lbp0200  
    OP
       2015-01-01 20:55:47 +08:00
    @GhostFlying 1G,长期80%
    lbp0200
        16
    lbp0200  
    OP
       2015-01-02 13:06:40 +08:00
    @GhostFlying 找到原因了,打开支付宝时,360会自动清理一批无关的程序,保证安全
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   我们的愿景   ·   实用小工具   ·   1764 人在线   最高记录 6543   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 27ms · UTC 16:36 · PVG 00:36 · LAX 09:36 · JFK 12:36
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.