momogzp
1.74D
V2EX  ›  问与答

升级 mac 后,原先的 android 编译环境不能用了

  •  
  •   momogzp · Oct 17, 2014 · 3154 views
    This topic created in 4268 days ago, the information mentioned may be changed or developed.
    今天迫不及待的升级了macbook,然后,果不其然,原先的android源码编译环境果然不能用了。
    javac: target release 1.5 conflicts with default source release 1.8
    不知道各位有没有遇到过这样的错误?
    3 replies    2014-10-17 16:31:09 +08:00
    yxssfxwzy
        1
    yxssfxwzy  
       Oct 17, 2014
    java版本不对吗?
    dotpig
        2
    dotpig  
       Oct 17, 2014
    重新安装 Java。
    momogzp
        3
    momogzp  
    OP
       Oct 17, 2014
    搞定了,不小心按到了intellij,提示需要安装java6,然后点击安装就可以了- -
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   5279 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 106ms · UTC 01:16 · PVG 09:16 · LAX 18:16 · JFK 21:16
    ♥ Do have faith in what you're doing.