search

Home  >  Q&A  >  body text

android - 运行应用报错

Error:Execution failed for task ':app:compileDailyDebugJavaWithJavac'.
> When running gradle with java 5, 6 or 7, you must set the path to jdk8, either with property retrolambda.jdk or environment variable JAVA8_HOME
PHP中文网PHP中文网2803 days ago475

reply all(4)I'll reply

  • 怪我咯

    怪我咯2017-04-17 17:24:48

    Upgrade your jdk to jdk8.*!

    reply
    0
  • 伊谢尔伦

    伊谢尔伦2017-04-17 17:24:48

    The jdk version is too low and does not match the gradle version. Upgrading to 1.8 will be ok.

    reply
    0
  • 伊谢尔伦

    伊谢尔伦2017-04-17 17:24:48

    UpgradejavaVersion

    reply
    0
  • 怪我咯

    怪我咯2017-04-17 17:24:48

    1. Upgrade JDK to JDK8

    2. Add environment variable JAVA8_HOME

    reply
    0
  • Cancelreply