2017-02-10 11 views
2

Androidスタジオ2.2.3でgradleタスクをクリックすると、Gradle stopビルドタスクが実行されます。Gradle stop building task

私が間違ってやっている何を画面上のエラーやエラーメッセージ

はありませんか?

いくつかの追加のデータ のAndroid Studioの2.2.3 のGradle 'com.android.tools.build:gradle:2.2.3'

Gradleのトップレベルのビルドファイル

buildscript { 
    repositories { 
     jcenter() 
     jcenter() 
    } 
    dependencies { 

     classpath 'com.android.tools.build:gradle:2.2.3' 

    } 
} 

allprojects{ 
    repositories { 
     jcenter() 
      jcenter() 
    } 
    } 

enter image description here

これは私のbuild.gradleファイルです。

def final myapplicationId = "com.package.myapp" 
def final versionnameapp = "1" 
def final versioncodeapp = 1 


allprojects { 
repositories { 
    // mavenCentral() 
    jcenter() 
    maven { url "https://jitpack.io" } 
    maven { url 'http://clinker.47deg.com/nexus/content/groups/public' } 
} 
} 


apply plugin: 'com.android.application' 


configurations { 
compile.exclude group: 'javax.inject', module: 'javax.inject' 
} 



android { 
useLibrary 'org.apache.http.legacy' 

compileSdkVersion 23 
buildToolsVersion "23.0.2" 

compileOptions { 

    encoding "UTF-8" 
    sourceCompatibility JavaVersion.VERSION_1_7 
    targetCompatibility JavaVersion.VERSION_1_7 
} 
lintOptions { 
    abortOnError false 
} 

dexOptions { 

    jumboMode true 
} 


signingConfigs { 
    release { 
     keyAlias 'chess' 
     keyPassword 'android' 
     storeFile file('/keystore/sam.keystore') 
     storePassword 'android' 

    } 

} 

packagingOptions { 
    exclude 'META-INF/DEPENDENCIES.txt' 
    exclude 'META-INF/DEPENDENCIES' 
    exclude 'META-INF/dependencies.txt' 
    exclude 'META-INF/LICENSE.txt' 
    exclude 'META-INF/LICENSE' 
    exclude 'META-INF/license.txt' 
    exclude 'META-INF/LGPL2.1' 
    exclude 'META-INF/NOTICE.txt' 
    exclude 'META-INF/NOTICE' 
    exclude 'META-INF/notice.txt' 
    exclude 'META-INF/INDEX.LIST' 
    exclude 'META-INF/ASL2.0' 

} 


defaultConfig { 
    targetSdkVersion 23 
    renderscriptTargetApi 19 
    renderscriptSupportModeEnabled false 

    multiDexEnabled true 
    minSdkVersion 14 

    applicationId = myapplicationId 

} 


buildTypes { 
    release { 
     signingConfig signingConfigs.release 
     minifyEnabled false 
     proguardFiles getDefaultProguardFile('proguard-android.txt'),  'proguard-rules.pro' 
    } 
    debug { 

     defaultConfig { 
      debuggable true 
      versionName = versionnameapp + "-DEBUG" 
     } 
    } 

} 


afterEvaluate { 
    tasks.matching { 
     it.name.startsWith('dex') 
    }.each { dx -> 
     if (dx.additionalParameters == null) { 
      dx.additionalParameters = [] 
     } 
     dx.additionalParameters += '--multi-dex' 
     //  dx.additionalParameters += "--main-dex- list=$projectDir/multidex.keep".toString() 
    } 
} 
} 

dependencies { 
compile fileTree(dir: 'libs', include: ['*.jar']) 
compile project(':reportes') 
compile project(':locationlib') 

compile 'com.android.support:percent:23.3.0' 
compile 'com.dlazaro66.qrcodereaderview:qrcodereaderview:1.0.0' 
compile 'joda-time:joda-time:2.3' 

compile 'com.android.support:multidex:1.0.1' 
compile 'com.github.amlcurran.showcaseview:library:5.0.0' 
compile 'ch.acra:acra:4.5.0' 

compile 'com.pnikosis:materialish-progress:1.7' 

compile 'com.android.support:design:23.0.1' 
compile 'com.android.support:support-v4:23.0.1' 
compile 'com.github.panwrona:DownloadProgressBar:1.1' 

compile 'org.jsoup:jsoup:1.8.3' 

compile 'com.cleveroad:slidingtutorial:0.9.5' 
} 

事前

+0

http://stackoverflow.com/help/someone-answersを読んで従ってください:-) – Vampire

答えて

0

のおかげでは、コマンドラインからgradlew assembleを実行します。そこにあなたが欠けているというエラーが表示されます。