2 qq 24229455 qq_24229455 于 2016.03.02 15:58 提问

android studio 报'jdk1.8\bin\java.exe''...

FAILURE: Build failed with an exception.

  • What went wrong:
    run的时候报错:
    Execution failed for task ':xxxxxxxx'.

    com.android.ide.common.process.ProcessException: org.gradle.process.internal.ExecException: Process 'command 'C:\Program Files\Java\jdk1.8.0_73\bin\java.exe'' finished with non-zero exit value 2

  • Try:
    Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.

1个回答

caozhy
caozhy   Ds   Rxr 2016.03.07 05:38

只能看到是构建失败,具体的错误要看日志

Csdn user default icon
上传中...
上传图片
插入图片
准确详细的回答,更有利于被提问者采纳,从而获得C币。复制、灌水、广告等回答会被删除,是时候展现真正的技术了!
其他相关推荐
错误异常 Process 'command 'E:\Java\jdk1.8.0_65\bin\java.exe'' finished with non-zero exit value 2
Error:Execution failed for task ':app:dexDebug'.> com.android.ide.common.process.ProcessException: org.gradle.process.internal.ExecException: Process 'command 'E:\Java\jdk1.8.0_65\bin\java.exe'' finis
解决:android studio 运行时Process 'command 'C:\Program Files\Java\jdk1.8.0_60\bin\java.exe' 错误
Error:Execution failed for task ':app:dexDebug'.> com.android.ide.common.process.ProcessException: org.gradle.process.internal.ExecException:   Process 'command 'C:\Program Files\Java\jdk1.8.0_60\b...
Android开发常见问题之Process 'command 'D:\Java Jdk\java\bin\java.exe'' finished with non-zero exit value 2
出现上述问题时,我们只需要在工程的SRC目录下的build.gradle文件中加入下面加粗的代码配置就好了。 apply plugin: ‘com.android.application’android { compileSdkVersion 23 buildToolsVersion “23.0.2”defaultConfig { applicationId "com.
Android Studio Java\jdk1.7.0_45\bin\java.exe'' finished with non-zero exit value 3
使用Android Studio在给项目中导入库的时候会报 Error:Execution failed for task ':jinFu:dexAppchinaDebug'.> com.android.ide.common.process.ProcessException: org.gradle.process.internal.ExecException: Process 'command '
Android开发常遇问题——Process 'command 'D:....\jdk8_64\bin\java.exe'' finished with non-zero exit value 2
Android开发常遇问题——Process ‘command ‘D:\Work_Software\Java\jdk8_64\bin\java.exe” finished with non-zero exit value 2问题背景最近在项目中遇到这样一个异常,异常信息如下:Error:Execution failed for task ':app:transformClassesWithDexFo
Android学习笔记-迁移报错command 'C:\Program Files\Java\jdk1.7.0_67\bin\java.exe'' finished with non-zero1
博客地址: http://blog.csdn.net/lxk_1993/article/details/50511172 Error:Execution failed for task ':app:transformClassesWithDexForDebug'解决记录 转载请标明出处:  http://blog.csdn.net/lxk_199
安卓Studio学习笔记---迁移报错command 'C:\Program Files\Java\jdk1.7.0_67\bin\java.exe'' finished with non-zero1
我将Idea的项目迁移到studio上,在Idea上能运行,但是在studio上运行却提示这个错误 好吧,不知道什么原因,只好去问百度了,然后我看到了这篇博客,觉得有希望: 博客地址: http://blog.csdn.net/lxk_1993/article/details/50511172 Error:Execution failed for task
l.ExecException: Process 'command 'C:\Java\jdk1.8.0_45\bin\java.exe'' 错误
Android  studio  出现  错误 com.android.ide.common.process.ProcessException: org.gradle.process.internal.ExecException: Process 'command 'C:\Java\jdk1.8.0_45\bin\java.exe'' finished with non-zero exit val
Process 'command 'C:\Program Files\Java\jdk1.8.0_11\bin\java.exe'' finished with non-zero exit value
overhead limit exceeded Uncaught translation error: java.util.concurrent.ExecutionException: java.lang.OutOfMemoryError: GC overhead limit exceeded Uncaught translation error: java.util.concurrent.E
Android Studio编译大工程报错:java.exe'' finished with non-zero exit value 1
困扰了三天的Android Studio编译报错终于解决了! 三天尝试了各种不同的方案针对各个不同的方方面面,然而真相只有一个! 原问题情景:由于项目工程特别大,在编译一段后就会报下面这个错误:Error:Execution failed for task ':dexAppDebug'. > com.android.ide.common.process.ProcessException: org