could not build app Error:Execution failed for task ':app:package “packageName” Debug'. > value (73836) > 0x0000ffff

Could not build app.

Build failed :

  • How to receiving broadcast when application installed or removed
  • Android test code coverage, Eclipse
  • Can an android.hardware.camera2.CaptureRequest be used with OpenCV?
  • Picasso IllegalArgumentException Target must not be null
  • Android: GestureDetector not working (gestureDetector.onTouchEvent(event) always false) with Tabs (TabActivity, Tabwidget)
  • Combine Xamarin and React Native in one app
  • Error:Execution failed for task ':app:package "packageName" Debug'.> value (73836) > 0x0000ffff
    

    the project is build succesfuly ,but adding a line of code(Log.i())
    receive failed build message,after restarting (invalidate caches)works as expected

    gradle-wrapper.properites

    distributionBase=GRADLE_USER_HOME
    distributionPath=wrapper/dists
    zipStoreBase=GRADLE_USER_HOME
    zipStorePath=wrapper/dists
    distributionUrl=https\://services.gradle.org/distributions/gradle-2.12-all.zip
    

    here is my build.gradle file

    apply plugin: 'com.android.application'
    android {
    compileSdkVersion 23
    buildToolsVersion '23.0.3'
    
    defaultConfig {
    
        minSdkVersion 16
        targetSdkVersion 23
        versionCode 1
        versionName '1.0'
        renderscriptTargetApi 23
        renderscriptSupportModeEnabled true
        multiDexEnabled true
    
    }
    
    buildTypes {
        release {
            minifyEnabled false
            proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
    
        }
    }
    
    
    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'
    }
    useLibrary 'org.apache.http.legacy'
    }
    
    dependencies {
    compile files('libs/adobeMobileLibrary.jar')
    compile 'org.twitter4j:twitter4j-core:4.0.4'
    compile 'com.mcxiaoke.volley:library:1.0.19'
    compile 'com.facebook.android:facebook-android-sdk:4.8.1'
    compile 'com.google.code.gson:gson:2.4'
    compile 'com.daimajia.swipelayout:library:1.2.0@aar'
    compile 'com.android.support:design:23.2.0'
    compile 'com.android.support:percent:23.2.0'
    compile 'com.squareup.okhttp3:okhttp:3.0.0-RC1'
    compile 'com.squareup.okio:okio:1.6.0'
    }
    

    Related posts:

    What are the purpose of intent categories?
    Is there a VPN-provider API for Android?
    Where do you set the class path in a cordova cli plugin build
    Is it possible for an Android app to temporarily disable “OK Google”?
    Android Resource ID
    stop loading in webViewClient
  • Android crash report with lots of <OR> in stacktrace
  • EditText request focus
  • Android Layout align bottom
  • The relationship between Phonegap's “onBodyLoad()/onDeviceReady()” functions and Jquery's “$(document).ready()”
  • How can I reopen a closed InputStream when I need to use it 2 times
  • Android Money Input with fixed decimal
  • 2 Solutions collect form web for “could not build app Error:Execution failed for task ':app:package “packageName” Debug'. > value (73836) > 0x0000ffff”

    androidstudio1.5 gradle 2.2.0-alpha,occurs to me like this question; fix gradle to 1.5.0;then it solved

    Not a real answer but the only thing that seems to work for me is to kill the java process and hit Run again.

    Android Babe is a Google Android Fan, All about Android Phones, Android Wear, Android Dev and Android Games Apps and so on.