码迷,mamicode.com
首页 >  
搜索关键字:execution environmen    ( 1827个结果
Execution failed for task ':dexDebug' Android Studio 编译失败
刚刚编译android studio的时候,控制台报错,说某某某return 2.... 这个问题的正确解决方法是:     项目对应的build.gradle里面添加的依赖项有问题,只能是删除某个依赖项,然后重新运行知道运行成功为止!!     告诉大家个小窍门,一般都是最后一次添加的依赖项有问题,大家可以从最后一项逐项的注销依赖项,知道运行成功为止。...
分类:移动开发   时间:2015-06-17 09:41:59    阅读次数:156
Error:Execution failed for task ':app:dexDebug'.> com.android.ide.common.process.ProcessException: o
Error:Execution failed for task ':app:dexDebug'.> com.android.ide.common.process.ProcessException: org.gradle.process.internal.ExecException: Process 'command '/home/xxx/tools/android/jdk1.7.0_71/bin/java'' fin...
分类:移动开发   时间:2015-06-16 16:48:51    阅读次数:152
Macbook的android studio创建project时,加载gradle慢的解决办法
需要在android studio 中配置gradle的代理。 我的android studio版本1.2.1; 打开preferences->build, execution, deployment->build tools->gradle->Gradle VM Options: -Dhttp.proxyHost=127.0.0.1 -Dhttp.proxyPort=8087 设置生成...
分类:移动开发   时间:2015-06-15 22:14:14    阅读次数:161
windows下 qt5&vs2010 在qtCreator下中文乱码
环境:windows2012下 qt5.3.1 & vs2010 在qtCreator3.1.2下中文乱码解决方法:在相关文件中加入代码#ifdef Q_OS_WIN32#if _MSC_VER >= 1600#pragma execution_character_set("utf-8")#endi...
分类:Windows程序   时间:2015-06-15 11:06:41    阅读次数:144
php环境配置优化
Php相关配置 – 基础max_execution_time = 30max_input_time = 60memory_limit = 128Mmax_input_vars = 1000register_globals = Offpost_max_size = 8Mmagic_quotes_gpc...
分类:Web程序   时间:2015-06-12 16:54:31    阅读次数:116
Visual Studio 2010/2013 UTF8编码调试时显示中文
VisualStudio 2010 SP1环境1、设置string默认编码为utf8,只需要在文件头部加入以下代码1 #pragma execution_character_set("utf-8") //默认使用UTF82、debug提示窗口显示utf8,打开C:\Program Files (x8...
分类:其他好文   时间:2015-06-09 23:14:05    阅读次数:1802
Android Stduio 发生 Process 'command 'somePath:java.exe'' finished with non-zero exit value 2 异常的解决办法
有时你会发现,在你使用Android Studio 进行编译的时候提示:Error:Execution failed for task ':demo:dexDebug'.> com.android.ide.common.process.ProcessException: org.gradle.pro...
分类:移动开发   时间:2015-06-08 14:42:10    阅读次数:167
解决方案:Error:Execution failed for task ':app:compileDebugAidl'. > aidl is missing
也许有朋友最初在用Android Studio创建新工程的时候会碰到这个错误,其实这个问题是由于版本不兼容导致的,解决方法很简单,只需要把编译工具的版本改一下就可以了:1、选左侧的工程根目录app,按F12打开Project Structure;2、点击底部的app,把右侧Build Tool .....
分类:移动开发   时间:2015-06-06 11:58:56    阅读次数:8183
android studio下gradle与Git出错解决方法
Error: Gradle: Execution failed for task ‘:mytask’ > A problem occurred starting process ‘command ‘jni/ndk-build.cmd” 这是win7打开android程序出现的问题,解决方法:打开build.gradle,找到“commandLine”这行,把commandLine ‘ndk-bu...
分类:移动开发   时间:2015-06-04 15:52:41    阅读次数:156
MAVEN “Plugin execution not covered by lifecycle configuration”
pom文件中报错提示:Plugin execution not covered by lifecycle configuration: net.alchim31.maven:yuicompressor-maven-plugin:1.5.1:compress (execution: default, ...
分类:其他好文   时间:2015-06-04 15:05:35    阅读次数:263
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!