When running gradle with java 5, 6 or 7, you must set the path to jdk8, either with property retrola
来源:互联网 发布:淘宝店铺如何开 编辑:程序博客网 时间:2024/06/10 05:03
Error:
Error:FAILURE: Build completed with 2 failures.1: Task failed with an exception.-----------* What went wrong:Execution failed for task ':app:compileDebugJavaWithJavac'.> 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* Try:Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.==============================================================================2: Task failed with an exception.-----------* What went wrong:A problem was found with the configuration of task ':app:compileRetrolambdaDebug'.> Directory 'C:\Project\Android\ZhihuDailyPurify\app\build\retrolambda\debug' specified for property 'inputDir' does not exist.* Try:Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.==============================================================================
1.首先下载JDK8更改JAVA_Home
2.然后进AS->Project Structure->更改JDK location(这个好多人都容易忘记)
0 0
- When running gradle with java 5, 6 or 7, you must set the path to jdk8, either with property retrola
- You must configure either the server or JDBC driver (via the serverTimezone configuration property)
- ValueError: cannot index a corpus with zero features (you must specify either `num_features` or a no
- Android N requires the IDE to be running with Java 1.8 or later
- Android N requires the IDE to be running with Java 1.8 or later
- requires the IDE to be running with java 1.8 or later 解决方法
- 解决 Android N requires the IDE to be running with Java 1.8 or later
- Android N requires the IDE to be running with Java 1.8 or later 问题解决
- Android N requires the IDE to be running with Java 1.8 or later 解决方法
- The path to the driver executable must be set by the webdriver.gecko.driver system property
- The path to the driver executable must be set by the webdriver.gecko.driver system property
- java.lang.IllegalArgumentException: You need to use a Theme.AppCompat theme (or descendant) with the
- Java.lang.IllegalArgumentException: You need to use a Theme.AppCompat theme (or descendant) with the
- A context path must either be an empty string or start with a '/' and do not end with a '/' 问题解决方法
- Java SSH工程报错 Are you running on Java 1.4 or below with Apache Crimson? Upgrade to Apache Xerces (or Java 1.5) for full XSD suppo
- 解决 Android Nougat requires the IDE to be running with Java 1.8 or later Install a supported JDK
- Eclipse 发生 to generate dependencies you must specify either -M or -MM 错误
- The query does not start with a valid identifier, has to be either SELECT, UPDATE or DELETE FROM
- 将16进制数组成的字符串转换为相对应的整型值
- 华为架构师8年经验谈:从单体架构到微服务的服务化演进之路
- 4412出错内容
- eclipse debug F5 F6 快捷键失效
- 专题四 · 1002
- When running gradle with java 5, 6 or 7, you must set the path to jdk8, either with property retrola
- hadoop 第二节 单节点集群配置 Setting up a Single Node Cluster
- 解决使用findnext相关函数在64位编译环境下遍历文件夹下的文件
- (1)IP地址 : 网络号 + 主机号
- nginx配置
- Linux信号(signal) 机制分析
- csrf攻击
- android studio 的相关问题
- 消息提示类控件使用之Toast(吐司)的简单使用