
Error:Execution Failed for task ‘:app:compileDeBUGJavaWithJavac’.
Compilation Failed; see the compiler error output for details.
这是我的build.gradle
apply plugin: 'com.androID.application'androID {compileSdkVersion 23buildToolsversion "23.0.2"defaultConfig { applicationID 'ca.gggolf.aminutegolf' minSdkVersion 19 targetSdkVersion 23 versionCode 1 versionname "1.0"}buildTypes { release { MinifyEnabled false proguardfiles getDefaultProguardfile('proguard-androID.txt'),'proguard-rules.pro' }}productFlavors {}}dependencIEs {compile filetree(include: ['*.jar'],dir: 'libs')testCompile 'junit:junit:4.12'compile 'com.androID.support:appcompat-v7:23.1.1'} 我不知道该怎么办..一切顺利,应用程序在几年前工作,当它是第一次做.
谢谢
解决方法 为您的项目启用multIDex.将下面的行添加到defaultconfig中:multIDexEnabled true
还可以对gradle的依赖项添加多重依赖关系:
compile 'com.androID.support:multIDex:1.0.1'总结
以上是内存溢出为你收集整理的任务执行失败:app:compileDebugJavaWithJavac全部内容,希望文章能够帮你解决任务执行失败:app:compileDebugJavaWithJavac所遇到的程序开发问题。
如果觉得内存溢出网站内容还不错,欢迎将内存溢出网站推荐给程序员好友。
欢迎分享,转载请注明来源:内存溢出
微信扫一扫
支付宝扫一扫
评论列表(0条)