Everything is breaking in Android Studio 0.8.1 - android

I just updated Android Studio from 0.6.1 to 0.8.1
None of my code changed, but the new update breaks everything. It seems like the entire Android SDK is not loading properly. A given class ends up looking like this:
The project is question still uses the old ANT compilation system, but I have another project using Gradle and the same problem is happening. When I go back to my old install of 0.6.1 it works fine.
I checked the Project Structure to make sure the Project SDK was pointing to the right place and it is.
The gradle console returns no errors when syncing the project with gradle:
Executing tasks: [:app:generateDebugSources, :wearable:generateDebugSources, :facebook:generateDebugSources]
Configuration on demand is an incubating feature.
Relying on packaging to define the extension of the main artifact has been deprecated and is scheduled to be removed in Gradle 2.0
:app:preBuild
:app:preDebugBuild
:app:checkDebugManifest
:app:preReleaseBuild
:facebook:compileLint
:facebook:copyReleaseLint UP-TO-DATE
:facebook:preBuild
:facebook:preReleaseBuild
:facebook:checkReleaseManifest
:facebook:preDebugBuild
:facebook:preDebugTestBuild
:facebook:prepareComAndroidSupportSupportV42000Library UP-TO-DATE
:facebook:prepareReleaseDependencies
:facebook:compileReleaseAidl UP-TO-DATE
:facebook:compileReleaseRenderscript UP-TO-DATE
:facebook:generateReleaseBuildConfig UP-TO-DATE
:facebook:generateReleaseAssets UP-TO-DATE
:facebook:mergeReleaseAssets UP-TO-DATE
:facebook:generateReleaseResValues UP-TO-DATE
:facebook:generateReleaseResources UP-TO-DATE
:facebook:mergeReleaseResources UP-TO-DATE
:facebook:processReleaseManifest UP-TO-DATE
:facebook:processReleaseResources UP-TO-DATE
:facebook:generateReleaseSources UP-TO-DATE
:facebook:compileReleaseJava UP-TO-DATE
:facebook:extractReleaseAnnotations UP-TO-DATE
:facebook:mergeReleaseProguardFiles UP-TO-DATE
:facebook:processReleaseJavaRes UP-TO-DATE
:facebook:packageReleaseJar UP-TO-DATE
:facebook:compileReleaseNdk UP-TO-DATE
:facebook:packageReleaseJniLibs UP-TO-DATE
:facebook:packageReleaseLocalJar UP-TO-DATE
:facebook:packageReleaseRenderscript UP-TO-DATE
:facebook:packageReleaseResources UP-TO-DATE
:facebook:bundleRelease UP-TO-DATE
:app:prepareBandsintownGimportFacebookUnspecifiedLibrary UP-TO-DATE
:app:prepareComAndroidSupportAppcompatV72000Library UP-TO-DATE
:app:prepareComAndroidSupportSupportV42000Library UP-TO-DATE
:app:prepareComGoogleAndroidGmsPlayServices5077Library UP-TO-DATE
:app:prepareComViewpagerindicatorLibrary241Library UP-TO-DATE
:app:prepareDebugDependencies
:app:compileDebugAidl UP-TO-DATE
:app:compileDebugRenderscript UP-TO-DATE
:app:generateDebugBuildConfig UP-TO-DATE
:app:generateDebugAssets UP-TO-DATE
:app:mergeDebugAssets UP-TO-DATE
:app:generateDebugResValues UP-TO-DATE
:app:generateDebugResources UP-TO-DATE
:app:mergeDebugResources UP-TO-DATE
:app:processDebugManifest UP-TO-DATE
:app:processDebugResources UP-TO-DATE
:app:generateDebugSources UP-TO-DATE
:wearable:preBuild
:wearable:preDebugBuild
:wearable:checkDebugManifest
:wearable:preReleaseBuild
:wearable:prepareComGoogleAndroidGmsPlayServices5077Library UP-TO-DATE
:wearable:prepareDebugDependencies
:wearable:compileDebugAidl UP-TO-DATE
:wearable:compileDebugRenderscript UP-TO-DATE
:wearable:generateDebugBuildConfig UP-TO-DATE
:wearable:generateDebugAssets UP-TO-DATE
:wearable:mergeDebugAssets UP-TO-DATE
:wearable:generateDebugResValues UP-TO-DATE
:wearable:generateDebugResources UP-TO-DATE
:wearable:mergeDebugResources UP-TO-DATE
:wearable:processDebugManifest UP-TO-DATE
:wearable:processDebugResources UP-TO-DATE
:wearable:generateDebugSources UP-TO-DATE
:facebook:checkDebugManifest
:facebook:prepareDebugDependencies
:facebook:compileDebugAidl UP-TO-DATE
:facebook:compileDebugRenderscript UP-TO-DATE
:facebook:generateDebugBuildConfig UP-TO-DATE
:facebook:generateDebugAssets UP-TO-DATE
:facebook:mergeDebugAssets UP-TO-DATE
:facebook:generateDebugResValues UP-TO-DATE
:facebook:generateDebugResources UP-TO-DATE
:facebook:mergeDebugResources UP-TO-DATE
:facebook:processDebugManifest UP-TO-DATE
:facebook:processDebugResources UP-TO-DATE
:facebook:generateDebugSources UP-TO-DATE
BUILD SUCCESSFUL
Total time: 4.053 secs
The Gradle classpath is com.android.tools.build:gradle:0.12.+
The build.gradle file from the project's app folder by request:
apply plugin: 'com.android.application'
android {
compileSdkVersion 20
buildToolsVersion '20'
defaultConfig {
applicationId 'com.bandsintown'
minSdkVersion 10
targetSdkVersion 20
versionCode 113
versionName '4.6.5'
}
buildTypes {
release {
debuggable false
runProguard false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
}
}
lintOptions {
checkReleaseBuilds false
}
}
dependencies {
compile fileTree(dir: 'libs', include: ['*.jar'])
compile 'com.android.support:appcompat-v7:20.+'
compile 'com.nineoldandroids:library:2.4.+'
compile 'com.viewpagerindicator:library:2.4.1#aar'
compile 'com.google.android.gms:play-services:5.+'
compile project(':facebook')
}
Actually, I noticed that the first line of this was wrong when copying this. It used to be apply plugin: 'android' but that has been changed for this new version of Gradle to instead be what you see there with com.android.application. However, changing this line still gives me the same problem.
Any ideas?

I had a similar problem when upgrading from 0.6.1 to 0.8.0
Unfortunately I'm not 100% sure how I solved it, but I think following saved me:
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.ibma.ibmaapp"
android:versionCode="2"
android:versionName="1.0">
<uses-sdk
android:minSdkVersion="19"
android:targetSdkVersion="19"
android:maxSdkVersion="19" />
...
</manifest>
add the sdkVersion in the AndroidManifest.xml (see above)
click Menu "File" > "Invalidated Caches / Restart..."
if not fixed yet open the SDK Manager and uninstalled the "Android L" and "Android W4.4" package (if installed)
check again, maybe repeat step 2

Related

Execution failed':app:transformClassesWithDexForDebug'.internal.ExecException: Process 'java'' finished with non-zero exit value 1

When I tried to add poi-ooxml in app/build.gradle file then this error is coming
"Execution failed' :app:transformClassesWithDexForDebug'.com.android.ide.common.process.ProcessException: org.gradle.process.internal.ExecException: Process 'java'' finished with non-zero exit value 1"
app/build.gradle :
apply plugin: 'com.android.application'
android {
compileSdkVersion 23
buildToolsVersion "23.0.2"
defaultConfig {
applicationId "applicationID"
minSdkVersion 15
targetSdkVersion 23
versionCode 1
versionName "1.0"
}
buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
}
}
}
dependencies {
compile fileTree(include: ['*.jar'], dir: 'libs')
testCompile 'junit:junit:4.12'
compile 'com.android.support:appcompat-v7:23.4.0'
compile 'com.android.support:design:23.4.0'
compile 'com.google.android.gms:play-services-ads:8.4.0'
compile 'com.google.android.gms:play-services-gcm:8.4.0'
compile 'com.google.android.gms:play-services:8.4.0'
compile 'com.google.android.gms:play-services-identity:8.4.0'
compile files('libs/jxl.jar')
compile group: 'org.apache.poi', name: 'poi', version: '3.9'
compile group: 'org.apache.poi', name: 'poi-ooxml', version: '3.9'
}
Logcat
Information:Gradle tasks [:app:assembleDebug]
:app:preBuild UP-TO-DATE
:app:preDebugBuild UP-TO-DATE
:app:checkDebugManifest
:app:preReleaseBuild UP-TO-DATE
:app:prepareComAndroidSupportAnimatedVectorDrawable2340Library UP-TO-DATE
:app:prepareComAndroidSupportAppcompatV72340Library UP-TO-DATE
:app:prepareComAndroidSupportDesign2340Library UP-TO-DATE
:app:prepareComAndroidSupportMediarouterV72300Library UP-TO-DATE
:app:prepareComAndroidSupportRecyclerviewV72340Library UP-TO-DATE
:app:prepareComAndroidSupportSupportV42340Library UP-TO-DATE
:app:prepareComAndroidSupportSupportVectorDrawable2340Library UP-TO-DATE
:app:prepareComGoogleAndroidGmsPlayServices840Library UP-TO-DATE
:app:prepareComGoogleAndroidGmsPlayServicesAds840Library UP-TO-DATE
:app:prepareComGoogleAndroidGmsPlayServicesAnalytics840Library UP-TO-DATE
:app:prepareComGoogleAndroidGmsPlayServicesAppindexing840Library UP-TO-DATE
:app:prepareComGoogleAndroidGmsPlayServicesAppinvite840Library UP-TO-DATE
:app:prepareComGoogleAndroidGmsPlayServicesAppstate840Library UP-TO-DATE
:app:prepareComGoogleAndroidGmsPlayServicesAuth840Library UP-TO-DATE
:app:prepareComGoogleAndroidGmsPlayServicesBase840Library UP-TO-DATE
:app:prepareComGoogleAndroidGmsPlayServicesBasement840Library UP-TO-DATE
:app:prepareComGoogleAndroidGmsPlayServicesCast840Library UP-TO-DATE
:app:prepareComGoogleAndroidGmsPlayServicesDrive840Library UP-TO-DATE
:app:prepareComGoogleAndroidGmsPlayServicesFitness840Library UP-TO-DATE
:app:prepareComGoogleAndroidGmsPlayServicesGames840Library UP-TO-DATE
:app:prepareComGoogleAndroidGmsPlayServicesGcm840Library UP-TO-DATE
:app:prepareComGoogleAndroidGmsPlayServicesIdentity840Library UP-TO-DATE
:app:prepareComGoogleAndroidGmsPlayServicesLocation840Library UP-TO-DATE
:app:prepareComGoogleAndroidGmsPlayServicesMaps840Library UP-TO-DATE
:app:prepareComGoogleAndroidGmsPlayServicesMeasurement840Library UP-TO-DATE
:app:prepareComGoogleAndroidGmsPlayServicesNearby840Library UP-TO-DATE
:app:prepareComGoogleAndroidGmsPlayServicesPanorama840Library UP-TO-DATE
:app:prepareComGoogleAndroidGmsPlayServicesPlus840Library UP-TO-DATE
:app:prepareComGoogleAndroidGmsPlayServicesSafetynet840Library UP-TO-DATE
:app:prepareComGoogleAndroidGmsPlayServicesVision840Library UP-TO-DATE
:app:prepareComGoogleAndroidGmsPlayServicesWallet840Library UP-TO-DATE
:app:prepareComGoogleAndroidGmsPlayServicesWearable840Library UP-TO-DATE
:app:prepareDebugDependencies
:app:compileDebugAidl UP-TO-DATE
:app:compileDebugRenderscript UP-TO-DATE
:app:generateDebugBuildConfig UP-TO-DATE
:app:generateDebugAssets UP-TO-DATE
:app:mergeDebugAssets UP-TO-DATE
:app:generateDebugResValues UP-TO-DATE
:app:generateDebugResources UP-TO-DATE
:app:mergeDebugResources UP-TO-DATE
:app:processDebugManifest UP-TO-DATE
:app:processDebugResources UP-TO-DATE
:app:generateDebugSources UP-TO-DATE
:app:compileDebugJavaWithJavac UP-TO-DATE
:app:compileDebugNdk UP-TO-DATE
:app:compileDebugSources UP-TO-DATE
:app:transformClassesWithDexForDebug
trouble processing "javax/xml/XMLConstants.class":
Ill-advised or mistaken usage of a core class (java.* or javax.*)
when not building a core library.
This is often due to inadvertently including a core library file
in your application's project, when using an IDE (such as
Eclipse). If you are sure you're not intentionally defining a
core class, then this is the most likely explanation of what's
going on.
However, you might actually be trying to define a class in a core
namespace, the source of which you may have taken, for example,
from a non-Android virtual machine project. This will most
assuredly not work. At a minimum, it jeopardizes the
compatibility of your app with future versions of the platform.
It is also often of questionable legality.
If you really intend to build a core library -- which is only
appropriate as part of creating a full virtual machine
distribution, as opposed to compiling an application -- then use
the "--core-library" option to suppress this error message.
If you go ahead and use "--core-library" but are in fact
building an application, then be forewarned that your application
will still fail to build or run, at some point. Please be
prepared for angry customers who find, for example, that your
application ceases to function once they upgrade their operating
system. You will be to blame for this problem.
If you are legitimately using some code that happens to be in a
core package, then the easiest safe alternative you have is to
repackage that code. That is, move the classes in question into
your own package namespace. This means that they will never be in
conflict with core system classes. JarJar is a tool that may help
you in this endeavor. If you find that you cannot do this, then
that is an indication that the path you are on will ultimately
lead to pain, suffering, grief, and lamentation.
1 error; aborting
**Error:Execution failed for task ':app:transformClassesWithDexForDebug'.
> com.android.ide.common.process.ProcessException: org.gradle.process.internal.ExecException: Process 'command '/usr/lib/jvm/java-8-oracle/bin/java'' finished with non-zero exit value 1**
Information:BUILD FAILED
Information:Total time: 59.141 secs
Information:1 error
Information:0 warnings
Information:See complete output in console
Apache POI will not work out of the box on Android due to various problems that you will run into when using bare Apache POI.
There are some projects that make it possible to use parts of Apache POI on Android:
https://github.com/andruhon/android5xlsx (for Android 5) and https://github.com/andruhon/AndroidReadXLSX (for Android 4), both are currently still based on Apache POI 3.12
https://github.com/centic9/poi-on-android/ (for Android 5, maintained by me), which can be more easily recompiled with newer versions of POI, e.g. it uses 3.15 currently
I faced this problem before, try to add a deafultConfig
defaultConfig {
// Enabling multidex support.
multiDexEnabled true
}

Android Studio Gradle Error:Execution failed for task ':app:dexDebug' using Ion koush lib

I want to use the Ion Lib from koush in Android Studio. But after I synchronize the libraries in my gradle file and try to run the application a strange error occurs.
My thought is that the Ion Lib does not accept the other libraries in my gradle file.
Gradle tasks [:app:assembleDebug]
:app:preBuild UP-TO-DATE
:app:preDebugBuild UP-TO-DATE
:app:checkDebugManifest
:app:preReleaseBuild UP-TO-DATE
:app:prepareComAndroidSupportAppcompatV72311Library UP-TO-DATE
:app:prepareComAndroidSupportDesign2311Library UP-TO-DATE
:app:prepareComAndroidSupportMediarouterV72300Library UP-TO-DATE
:app:prepareComAndroidSupportMultidex101Library UP-TO-DATE
:app:prepareComAndroidSupportRecyclerviewV72311Library UP-TO-DATE
:app:prepareComAndroidSupportSupportV42311Library UP-TO-DATE
:app:prepareComGoogleAndroidGmsPlayServices902Library UP-TO-DATE
:app:prepareComGoogleAndroidGmsPlayServicesAds902Library UP-TO-DATE
:app:prepareComGoogleAndroidGmsPlayServicesAdsLite902Library UP-TO-DATE
:app:prepareComGoogleAndroidGmsPlayServicesAnalytics902Library UP-TO-DATE
:app:prepareComGoogleAndroidGmsPlayServicesAnalyticsImpl902Library UP-TO-DATE
:app:prepareComGoogleAndroidGmsPlayServicesAppindexing902Library UP-TO-DATE
:app:prepareComGoogleAndroidGmsPlayServicesAppinvite902Library UP-TO-DATE
:app:prepareComGoogleAndroidGmsPlayServicesAuth902Library UP-TO-DATE
:app:prepareComGoogleAndroidGmsPlayServicesAuthBase902Library UP-TO-DATE
:app:prepareComGoogleAndroidGmsPlayServicesBase902Library UP-TO-DATE
:app:prepareComGoogleAndroidGmsPlayServicesBasement902Library UP-TO-DATE
:app:prepareComGoogleAndroidGmsPlayServicesCast902Library UP-TO-DATE
:app:prepareComGoogleAndroidGmsPlayServicesDrive902Library UP-TO-DATE
:app:prepareComGoogleAndroidGmsPlayServicesFitness902Library UP-TO-DATE
:app:prepareComGoogleAndroidGmsPlayServicesGames902Library UP-TO-DATE
:app:prepareComGoogleAndroidGmsPlayServicesGcm902Library UP-TO-DATE
:app:prepareComGoogleAndroidGmsPlayServicesIdentity902Library UP-TO-DATE
:app:prepareComGoogleAndroidGmsPlayServicesIid902Library UP-TO-DATE
:app:prepareComGoogleAndroidGmsPlayServicesLocation902Library UP-TO-DATE
:app:prepareComGoogleAndroidGmsPlayServicesMaps902Library UP-TO-DATE
:app:prepareComGoogleAndroidGmsPlayServicesNearby902Library UP-TO-DATE
:app:prepareComGoogleAndroidGmsPlayServicesPanorama902Library UP-TO-DATE
:app:prepareComGoogleAndroidGmsPlayServicesPlus902Library UP-TO-DATE
:app:prepareComGoogleAndroidGmsPlayServicesSafetynet902Library UP-TO-DATE
:app:prepareComGoogleAndroidGmsPlayServicesTagmanager902Library UP-TO-DATE
:app:prepareComGoogleAndroidGmsPlayServicesTagmanagerApi902Library UP-TO-DATE
:app:prepareComGoogleAndroidGmsPlayServicesTasks902Library UP-TO-DATE
:app:prepareComGoogleAndroidGmsPlayServicesVision902Library UP-TO-DATE
:app:prepareComGoogleAndroidGmsPlayServicesWallet902Library UP-TO-DATE
:app:prepareComGoogleAndroidGmsPlayServicesWearable902Library UP-TO-DATE
:app:prepareComGoogleFirebaseFirebaseAnalytics902Library UP-TO-DATE
:app:prepareComGoogleFirebaseFirebaseAnalyticsImpl902Library UP-TO-DATE
:app:prepareComGoogleFirebaseFirebaseAuth902Library UP-TO-DATE
:app:prepareComGoogleFirebaseFirebaseAuthCommon902Library UP-TO-DATE
:app:prepareComGoogleFirebaseFirebaseAuthModule902Library UP-TO-DATE
:app:prepareComGoogleFirebaseFirebaseCommon902Library UP-TO-DATE
:app:prepareComGoogleFirebaseFirebaseConfig902Library UP-TO-DATE
:app:prepareComGoogleFirebaseFirebaseCrash902Library UP-TO-DATE
:app:prepareComGoogleFirebaseFirebaseDatabase902Library UP-TO-DATE
:app:prepareComGoogleFirebaseFirebaseDatabaseConnection902Library UP-TO-DATE
:app:prepareComGoogleFirebaseFirebaseIid902Library UP-TO-DATE
:app:prepareComGoogleFirebaseFirebaseMessaging902Library UP-TO-DATE
:app:prepareComGoogleFirebaseFirebaseStorage902Library UP-TO-DATE
:app:prepareComGoogleFirebaseFirebaseStorageCommon902Library UP-TO-DATE
:app:prepareComKoushikduttaAsyncAndroidasync218Library UP-TO-DATE
:app:prepareComKoushikduttaIonIon218Library UP-TO-DATE
:app:prepareComRengwuxianMaterialedittextLibrary214Library UP-TO-DATE
:app:prepareComSpecyciResidemenu16Library UP-TO-DATE
:app:prepareDebugDependencies
:app:compileDebugAidl UP-TO-DATE
:app:compileDebugRenderscript UP-TO-DATE
:app:generateDebugBuildConfig UP-TO-DATE
:app:generateDebugAssets UP-TO-DATE
:app:mergeDebugAssets UP-TO-DATE
:app:generateDebugResValues UP-TO-DATE
:app:generateDebugResources UP-TO-DATE
:app:mergeDebugResources UP-TO-DATE
:app:processDebugManifest UP-TO-DATE
:app:processDebugResources UP-TO-DATE
:app:generateDebugSources UP-TO-DATE
:app:processDebugJavaRes UP-TO-DATE
:app:compileDebugJava UP-TO-DATE
:app:compileDebugNdk UP-TO-DATE
:app:compileDebugSources UP-TO-DATE
:app:collectDebugMultiDexComponents UP-TO-DATE
:app:packageAllDebugClassesForMultiDex UP-TO-DATE
:app:shrinkDebugMultiDexComponents UP-TO-DATE
:app:createDebugMainDexClassList UP-TO-DATE
:app:dexDebug
Uncaught translation error: java.util.concurrent.ExecutionException: java.lang.OutOfMemoryError: GC overhead limit exceeded
Uncaught translation error: java.util.concurrent.ExecutionException: java.lang.OutOfMemoryError: GC overhead limit exceeded
Uncaught translation error: java.util.concurrent.ExecutionException: java.lang.OutOfMemoryError: GC overhead limit exceeded
Uncaught translation error: java.util.concurrent.ExecutionException: java.lang.OutOfMemoryError: GC overhead limit exceeded
Uncaught translation error: java.util.concurrent.ExecutionException: java.lang.OutOfMemoryError: GC overhead limit exceeded
Uncaught translation error: java.util.concurrent.ExecutionException: java.lang.OutOfMemoryError: GC overhead limit exceeded
6 errors; aborting
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.7.0_51\bin\java.exe'' finished with non-zero exit value 1
Information:BUILD FAILED
My Gradle file:
apply plugin: 'com.android.application'
android {
compileSdkVersion 23
buildToolsVersion "23.0.3"
defaultConfig {
applicationId "sample.test.soft"
minSdkVersion 14
targetSdkVersion 23
versionCode 1
versionName "1.0"
multiDexEnabled true
}
buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
}
}
}
dependencies {
compile fileTree(dir: 'libs', include: ['*.jar'])
compile 'com.android.support:appcompat-v7:23.1.1'
compile 'com.android.support:design:23.1.1'
compile 'com.google.android.gms:play-services:9.0.2'
compile 'com.rengwuxian.materialedittext:library:2.1.4'
compile 'com.specyci:residemenu:1.6+'
compile 'com.koushikdutta.ion:ion:2.1.8'
compile 'com.koushikdutta.async:androidasync:2.1.8'
}
In my gradle file I replaced the '+' of ion and androidasync with the version numbers.
First Compile the build with
compile 'com.android.support:multidex:1.0.1'
compile 'com.google.android.gms:play-services:+'
In Your AndroidManifest.xml add this lines android:name
<application
android:allowBackup="true"
android:icon="#mipmap/ic_launcher"
android:label="#string/app_name"
android:supportsRtl="true"
android:theme="#style/AppTheme"
android:name="android.support.multidex.MultiDexApplication"
>
And In your build.gradle also add
dexOptions {
//incremental = true;
preDexLibraries = false
javaMaxHeapSize "4g"
}
From the log you have posted java.lang.OutOfMemoryError: GC overhead
limit exceeded. It's seems your Android Studio ran out of memory.
To raise the heap limit of the dexing operation add this to your android closure:
dexOptions {
incremental true
javaMaxHeapSize "4g"
}
This will solve all the GC overhead issues, and you can have substantially more dependencies. and I have noted that you are compiling the entire services com.google.android.gms:play-services:9.0.2 from google play.
Selectively compiling APIs into your executable
In versions of Google Play services prior to 6.5, you had to compile
the entire package of APIs into your app. In some cases, doing so made
it more difficult to keep the number of methods in your app (including
framework APIs, library methods, and your own code) under the 65,536
limit.
From version 6.5, you can instead selectively compile Google Play service APIs into your app.
Read this for further.
First clean project.
For me it worked when I removed the classpath of google play from dependencies
and now it looks like this:
buildscript {
repositories {
jcenter()
}
dependencies {
classpath 'com.android.tools.build:gradle:2.1.2'
// NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files
}
}

Error:Execution failed for task ':app:zipalignDebug' when big folder in assets

I have a problem with building app with big folder in assets. My folder size is equal 179 MB and size on disk is 463mb, because it contains huge amount of small files. When I remove one subfolder, which size is 90% of whole content, everything build successfully. When I zip whole folder everything works as well. The problem is when I have whole content unzipped in assets.
This is my build.gradle script for app:
apply plugin: 'com.android.application'
android {
compileSdkVersion 23
buildToolsVersion "23.0.2"
defaultConfig {
applicationId "XXX"
minSdkVersion 19
targetSdkVersion 23
versionCode 5
versionName "1.4"
}
buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
zipAlignEnabled true
}
}
}
and logs
Information:Gradle tasks [:app:assembleDebug]
:app:preBuild UP-TO-DATE
:app:preDebugBuild UP-TO-DATE
:app:checkDebugManifest
:app:preReleaseBuild UP-TO-DATE
:app:prepareComAndroidSupportAppcompatV72310Library UP-TO-DATE
:app:prepareComAndroidSupportSupportV42310Library UP-TO-DATE
:app:prepareComGithubNirhartParallaxscroll10Library UP-TO-DATE
:app:prepareIleo_branchingBLB_SDKUnspecifiedLibrary UP-TO-DATE
:app:prepareIleo_branchingOsmbonuspack_v561UnspecifiedLibrary UP-TO-DATE
:app:prepareDebugDependencies
:app:compileDebugAidl UP-TO-DATE
:app:compileDebugRenderscript UP-TO-DATE
:app:generateDebugBuildConfig UP-TO-DATE
:app:mergeDebugShaders UP-TO-DATE
:app:compileDebugShaders UP-TO-DATE
:app:generateDebugAssets UP-TO-DATE
:app:mergeDebugAssets
:app:generateDebugResValues UP-TO-DATE
:app:generateDebugResources UP-TO-DATE
:app:mergeDebugResources UP-TO-DATE
:app:processDebugManifest UP-TO-DATE
:app:processDebugResources
:app:generateDebugSources
:app:incrementalDebugJavaCompilationSafeguard UP-TO-DATE
:app:compileDebugJavaWithJavac UP-TO-DATE
:app:compileDebugNdk UP-TO-DATE
:app:compileDebugSources UP-TO-DATE
:app:prePackageMarkerForDebug
:app:transformClassesWithDexForDebug UP-TO-DATE
:app:mergeDebugJniLibFolders UP-TO-DATE
:app:transformNative_libsWithMergeJniLibsForDebug UP-TO-DATE
:app:processDebugJavaRes UP-TO-DATE
:app:transformResourcesWithMergeJavaResForDebug UP-TO-DATE
:app:validateDebugSigning
:app:packageDebug
:app:zipalignDebug
Unable to open 'C:\Users\directory to app\app\build\outputs\apk\app-debug-unaligned.apk' as zip archive
Error:Execution failed for task ':app:zipalignDebug'.
> Process 'command 'C:\Users\xxx\Android\build-tools\23.0.2\zipalign.exe'' finished with non-zero exit value 1
Information:BUILD FAILED
Information:Total time: 5 mins 21.971 secs
Information:1 error
Information:0 warnings
Information:See complete output in console
I'm using android studio 2.1.1, the gradle tools version 2.1.0
Have you got any idea how to fix this issue ?
Simply Build > Clean Project solved my problem.

android :app:processDebugGoogleServices

I am getting this error, I dont remember how, but I guess after I made a series of updates to versions as below:
Android Studio 1.5 beta
Build tools 23.0.2
Support libraries 23.1.0
My gradle.build (app):
apply plugin: 'com.android.application'
apply plugin: 'com.google.gms.google-services'
android {
compileSdkVersion 23
buildToolsVersion "23.0.2"
defaultConfig {
applicationId "com.example.hsoni.corpchat"
minSdkVersion 14
targetSdkVersion 23
versionCode 1
versionName "1.0"
multiDexEnabled true
}
buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
}
}
}
dependencies {
compile fileTree(include: ['*.jar'], dir: 'libs')
compile 'com.android.support:appcompat-v7:23.1.0'
compile 'com.github.johnkil.android-robototextview:robototextview:2.4.0'
compile 'com.android.support:design:23.1.0'
compile 'de.hdodenhof:circleimageview:1.3.0'
compile 'com.github.clans:fab:1.6.0'
compile 'com.android.support:cardview-v7:23.1.0'
compile 'com.android.support:recyclerview-v7:23.1.0'
compile 'org.igniterealtime.smack:smack-android:4.1.3'
compile 'org.igniterealtime.smack:smack-bosh:4.1.3'
compile 'org.igniterealtime.smack:smack-tcp:4.1.3'
compile 'org.igniterealtime.smack:smack-im:4.1.3'
compile 'org.jxmpp:jxmpp-jid:0.5.0-alpha6'
compile 'org.igniterealtime.smack:smack-extensions:4.1.3'
compile 'com.android.support:support-v4:23.1.0'
compile files('libs/volley-1.0-SNAPSHOT.jar')
compile project(':emoji')
compile 'com.cocosw:bottomsheet:1.2.0'
compile project(':aFileChooser')
compile "com.google.android.gms:play-services:8.3.0"
}
Error Log:
Information:Gradle tasks [:app:assembleDebug]
Warning:Dependency xpp3:xpp3:1.1.4c is ignored for debug as it may be conflicting with the internal version provided by Android.
In case of problem, please repackage it with jarjar to change the class packages
Warning:Dependency xpp3:xpp3:1.1.4c is ignored for debug as it may be conflicting with the internal version provided by Android.
In case of problem, please repackage it with jarjar to change the class packages
Warning:Dependency org.apache.httpcomponents:httpclient:4.3.3 is ignored for debug as it may be conflicting with the internal version provided by Android.
In case of problem, please repackage it with jarjar to change the class packages
Warning:Dependency xpp3:xpp3:1.1.4c is ignored for release as it may be conflicting with the internal version provided by Android.
In case of problem, please repackage it with jarjar to change the class packages
Warning:Dependency xpp3:xpp3:1.1.4c is ignored for release as it may be conflicting with the internal version provided by Android.
In case of problem, please repackage it with jarjar to change the class packages
Warning:Dependency org.apache.httpcomponents:httpclient:4.3.3 is ignored for release as it may be conflicting with the internal version provided by Android.
In case of problem, please repackage it with jarjar to change the class packages
:aFileChooser:preBuild UP-TO-DATE
:aFileChooser:preReleaseBuild UP-TO-DATE
:aFileChooser:compileReleaseNdk UP-TO-DATE
:aFileChooser:compileLint
:aFileChooser:copyReleaseLint UP-TO-DATE
:aFileChooser:checkReleaseManifest
:aFileChooser:preDebugAndroidTestBuild UP-TO-DATE
:aFileChooser:preDebugBuild UP-TO-DATE
:aFileChooser:preDebugUnitTestBuild UP-TO-DATE
:aFileChooser:preReleaseUnitTestBuild UP-TO-DATE
:aFileChooser:prepareComAndroidSupportSupportV42310Library UP-TO-DATE
:aFileChooser:prepareReleaseDependencies
:aFileChooser:compileReleaseAidl UP-TO-DATE
:aFileChooser:compileReleaseRenderscript UP-TO-DATE
:aFileChooser:generateReleaseBuildConfig UP-TO-DATE
:aFileChooser:generateReleaseAssets UP-TO-DATE
:aFileChooser:mergeReleaseAssets UP-TO-DATE
:aFileChooser:generateReleaseResValues UP-TO-DATE
:aFileChooser:generateReleaseResources UP-TO-DATE
:aFileChooser:mergeReleaseResources UP-TO-DATE
:aFileChooser:processReleaseManifest UP-TO-DATE
:aFileChooser:processReleaseResources UP-TO-DATE
:aFileChooser:generateReleaseSources UP-TO-DATE
:aFileChooser:compileReleaseJavaWithJavac UP-TO-DATE
:aFileChooser:extractReleaseAnnotations UP-TO-DATE
:aFileChooser:mergeReleaseProguardFiles UP-TO-DATE
:aFileChooser:processReleaseJavaRes UP-TO-DATE
:aFileChooser:packageReleaseJar UP-TO-DATE
:aFileChooser:packageReleaseJniLibs UP-TO-DATE
:aFileChooser:packageReleaseLocalJar UP-TO-DATE
:aFileChooser:packageReleaseRenderscript UP-TO-DATE
:aFileChooser:packageReleaseResources UP-TO-DATE
:aFileChooser:bundleRelease UP-TO-DATE
:app:preBuild UP-TO-DATE
:app:preDebugBuild UP-TO-DATE
:app:checkDebugManifest
:app:preReleaseBuild UP-TO-DATE
:emoji:preBuild UP-TO-DATE
:emoji:preReleaseBuild UP-TO-DATE
:emoji:compileReleaseNdk UP-TO-DATE
:emoji:compileLint
:emoji:copyReleaseLint UP-TO-DATE
:emoji:checkReleaseManifest
:emoji:preDebugAndroidTestBuild UP-TO-DATE
:emoji:preDebugBuild UP-TO-DATE
:emoji:preDebugUnitTestBuild UP-TO-DATE
:emoji:preReleaseUnitTestBuild UP-TO-DATE
:emoji:prepareComAndroidSupportSupportV42301Library UP-TO-DATE
:emoji:prepareReleaseDependencies
:emoji:compileReleaseAidl UP-TO-DATE
:emoji:compileReleaseRenderscript UP-TO-DATE
:emoji:generateReleaseBuildConfig UP-TO-DATE
:emoji:generateReleaseAssets UP-TO-DATE
:emoji:mergeReleaseAssets UP-TO-DATE
:emoji:generateReleaseResValues UP-TO-DATE
:emoji:generateReleaseResources UP-TO-DATE
:emoji:mergeReleaseResources UP-TO-DATE
:emoji:processReleaseManifest UP-TO-DATE
:emoji:processReleaseResources UP-TO-DATE
:emoji:generateReleaseSources UP-TO-DATE
:emoji:compileReleaseJavaWithJavac UP-TO-DATE
:emoji:extractReleaseAnnotations UP-TO-DATE
:emoji:mergeReleaseProguardFiles UP-TO-DATE
:emoji:processReleaseJavaRes UP-TO-DATE
:emoji:packageReleaseJar UP-TO-DATE
:emoji:packageReleaseJniLibs UP-TO-DATE
:emoji:packageReleaseLocalJar UP-TO-DATE
:emoji:packageReleaseRenderscript UP-TO-DATE
:emoji:packageReleaseResources UP-TO-DATE
:emoji:bundleRelease UP-TO-DATE
:app:prepareComAndroidSupportAppcompatV72310Library UP-TO-DATE
:app:prepareComAndroidSupportCardviewV72310Library UP-TO-DATE
:app:prepareComAndroidSupportDesign2310Library UP-TO-DATE
:app:prepareComAndroidSupportMediarouterV72220Library UP-TO-DATE
:app:preDebugAndroidTestBuild UP-TO-DATE
:app:prepareComAndroidSupportMultidex101Library UP-TO-DATE
:app:prepareComAndroidSupportRecyclerviewV72310Library UP-TO-DATE
:app:prepareComAndroidSupportSupportV42310Library UP-TO-DATE
:app:prepareComCocoswBottomsheet120Library UP-TO-DATE
:app:prepareComGithubClansFab160Library UP-TO-DATE
:app:prepareComGithubJohnkilAndroidRobototextviewRobototextview240Library UP-TO-DATE
:app:prepareComGoogleAndroidGmsPlayServices830Library UP-TO-DATE
:app:prepareComGoogleAndroidGmsPlayServicesAds830Library UP-TO-DATE
:app:prepareComGoogleAndroidGmsPlayServicesAnalytics830Library UP-TO-DATE
:app:prepareComGoogleAndroidGmsPlayServicesAppindexing830Library UP-TO-DATE
:app:prepareComGoogleAndroidGmsPlayServicesAppinvite830Library UP-TO-DATE
:app:prepareComGoogleAndroidGmsPlayServicesAppstate830Library UP-TO-DATE
:app:prepareComGoogleAndroidGmsPlayServicesAuth830Library UP-TO-DATE
:app:prepareComGoogleAndroidGmsPlayServicesBase830Library UP-TO-DATE
:app:prepareComGoogleAndroidGmsPlayServicesBasement830Library UP-TO-DATE
:app:prepareComGoogleAndroidGmsPlayServicesCast830Library UP-TO-DATE
:app:prepareComGoogleAndroidGmsPlayServicesDrive830Library UP-TO-DATE
:app:prepareComGoogleAndroidGmsPlayServicesFitness830Library UP-TO-DATE
:app:prepareComGoogleAndroidGmsPlayServicesGames830Library UP-TO-DATE
:app:prepareComGoogleAndroidGmsPlayServicesGcm830Library UP-TO-DATE
:app:prepareComGoogleAndroidGmsPlayServicesIdentity830Library UP-TO-DATE
:app:prepareComGoogleAndroidGmsPlayServicesLocation830Library UP-TO-DATE
:app:prepareComGoogleAndroidGmsPlayServicesMaps830Library UP-TO-DATE
:app:prepareComGoogleAndroidGmsPlayServicesMeasurement830Library UP-TO-DATE
:app:prepareComGoogleAndroidGmsPlayServicesNearby830Library UP-TO-DATE
:app:prepareComGoogleAndroidGmsPlayServicesPanorama830Library UP-TO-DATE
:app:prepareComGoogleAndroidGmsPlayServicesPlus830Library UP-TO-DATE
:app:prepareComGoogleAndroidGmsPlayServicesSafetynet830Library UP-TO-DATE
:app:prepareComGoogleAndroidGmsPlayServicesVision830Library UP-TO-DATE
:app:prepareComGoogleAndroidGmsPlayServicesWallet830Library UP-TO-DATE
:app:prepareComGoogleAndroidGmsPlayServicesWearable830Library UP-TO-DATE
:app:prepareCorpChatAFileChooserUnspecifiedLibrary UP-TO-DATE
:app:prepareCorpChatEmojiUnspecifiedLibrary UP-TO-DATE
:app:prepareDeHdodenhofCircleimageview130Library UP-TO-DATE
:app:prepareDebugDependencies
:app:compileDebugAidl UP-TO-DATE
:app:compileDebugRenderscript UP-TO-DATE
:app:generateDebugBuildConfig UP-TO-DATE
:app:generateDebugAssets UP-TO-DATE
:app:mergeDebugAssets UP-TO-DATE
:app:generateDebugResValues UP-TO-DATE
:app:processDebugGoogleServices
Found com.google.android.gms:play-services:8.3.0, but version 8.1.0 is needed
Found com.google.android.gms:play-services:8.3.0, but version 8.1.0 is needed
Found com.google.android.gms:play-services:8.3.0, but version 8.1.0 is needed
Found com.google.android.gms:play-services:8.3.0, but version 8.1.0 is needed
Found com.google.android.gms:play-services:8.3.0, but version 8.1.0 is needed
:app:processDebugGoogleServices FAILED
Error:Execution failed for task ':app:processDebugGoogleServices'.
> Please fix the version conflict.
Information:BUILD FAILED
Information:Total time: 2.226 secs
Information:1 error
Just set in main gradle file :
dependencies {
...
classpath 'com.google.gms:google-services:1.5.0-beta2'
}
I have faced this type of error many time when I was working in Firebase authentication, finally I solved and when I was searching I got your post first, so I just wanna post my solution even if you solved it before because other might see your post first.
Here, tou can see error which I got:
Error:Execution failed for task ':app:processDebugGoogleServices'.
> Please fix the version conflict either by updating the version of the
google-services plugin (information about the latest version is available at
https://bintray.com/android/android-tools/com.google.gms.google-services/)
or updating the version of com.google.android.gms to 11.8.0.
Here is the build.gradle (app level)
apply plugin: 'com.android.application'
android {
compileSdkVersion 26
defaultConfig {
applicationId "idoston.com.firebaseauthenticationandroid"
minSdkVersion 17
targetSdkVersion 26
versionCode 1
versionName "1.0"
testInstrumentationRunner
"android.support.test.runner.AndroidJUnitRunner"
}
buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android.txt'),
'proguard-rules.pro'
}
}
}
dependencies {
implementation fileTree(dir: 'libs', include: ['*.jar'])
implementation 'com.android.support:appcompat-v7:26.1.0'
implementation 'com.android.support.constraint:constraint-layout:1.0.2'
implementation 'com.google.firebase:firebase-auth:11.0.4'
testImplementation 'junit:junit:4.12'
androidTestImplementation 'com.android.support.test:runner:1.0.1'
androidTestImplementation 'com.android.support.test.espresso:espresso-
core:3.0.1'
compile 'com.android.support:percent:26.1.0'
compile 'com.google.firebase:firebase-core:11.8.0'
compile 'com.firebaseui:firebase-ui-auth:3.2.2'
}
apply plugin: 'com.google.gms.google-services'
Solution is that : you need to delete which is in the last line:
apply plugin: 'com.google.gms.google-services'
I hope this answer will probably help someone in the future.

android : app:transformClassesWithDexForDebug

I am tired of resolving this error since 2-3 hours. Please help me out of this.
So, I have following dependencies in my build.gradle(module:app) file:
apply plugin: 'com.android.application'
android {
compileSdkVersion 23
buildToolsVersion "23.0.1"
defaultConfig {
applicationId "com.example.corpchat"
minSdkVersion 14
targetSdkVersion 23
versionCode 1
versionName "1.0"
multiDexEnabled true
}
buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
}
}
}
dependencies {
compile fileTree(include: ['*.jar'], dir: 'libs')
compile 'com.android.support:appcompat-v7:23.0.1'
compile 'com.github.johnkil.android-robototextview:robototextview:2.4.0'
compile 'com.android.support:design:23.0.1'
compile 'de.hdodenhof:circleimageview:1.3.0'
compile 'com.github.clans:fab:1.6.0'
compile 'com.android.support:cardview-v7:23.0.1'
compile 'com.android.support:recyclerview-v7:23.0.1'
compile 'org.igniterealtime.smack:smack-android:4.1.3'
compile 'org.igniterealtime.smack:smack-bosh:4.1.3'
compile 'org.igniterealtime.smack:smack-tcp:4.1.3'
compile 'org.igniterealtime.smack:smack-im:4.1.3'
compile 'org.jxmpp:jxmpp-jid:0.5.0-alpha6'
compile 'org.igniterealtime.smack:smack-extensions:4.1.3'
compile 'com.android.support:support-v4:23.0.1'
compile files('libs/volley-1.0-SNAPSHOT.jar')
compile project(':emoji')
compile 'com.cocosw:bottomsheet:1.2.0'
// compile 'org.apache.httpcomponents:httpcore:4.4.3'
// compile 'org.apache.httpcomponents:httpmime:4.5.1'
compile('org.apache.httpcomponents:httpmime:4.3.6') {
exclude module: 'httpclient'
}
compile 'org.apache.httpcomponents:httpclient-android:4.3.5'
}
build.gradle(module:corpchat):
// Top-level build file where you can add configuration options common to all sub-projects/modules.
buildscript {
repositories {
jcenter()
}
dependencies {
// classpath 'com.android.tools.build:gradle:1.3.0'
classpath 'com.android.tools.build:gradle:1.4.0-beta3'
// NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files
}
}
allprojects {
repositories {
jcenter()
}
}
I am having the following error while I run the project:
Information:Gradle tasks [:app:generateDebugSources, :app:generateDebugAndroidTestSources, :app:assembleDebug]
Warning:Dependency xpp3:xpp3:1.1.4c is ignored for debug as it may be conflicting with the internal version provided by Android.
In case of problem, please repackage it with jarjar to change the class packages
Warning:Dependency xpp3:xpp3:1.1.4c is ignored for debug as it may be conflicting with the internal version provided by Android.
In case of problem, please repackage it with jarjar to change the class packages
Warning:Dependency org.apache.httpcomponents:httpclient:4.3.3 is ignored for debug as it may be conflicting with the internal version provided by Android.
In case of problem, please repackage it with jarjar to change the class packages
Warning:Dependency xpp3:xpp3:1.1.4c is ignored for release as it may be conflicting with the internal version provided by Android.
In case of problem, please repackage it with jarjar to change the class packages
Warning:Dependency xpp3:xpp3:1.1.4c is ignored for release as it may be conflicting with the internal version provided by Android.
In case of problem, please repackage it with jarjar to change the class packages
Warning:Dependency org.apache.httpcomponents:httpclient:4.3.3 is ignored for release as it may be conflicting with the internal version provided by Android.
In case of problem, please repackage it with jarjar to change the class packages
:app:preBuild UP-TO-DATE
:app:preDebugBuild UP-TO-DATE
:app:checkDebugManifest
:app:preReleaseBuild UP-TO-DATE
:emoji:preBuild UP-TO-DATE
:emoji:preReleaseBuild UP-TO-DATE
:emoji:compileReleaseNdk UP-TO-DATE
:emoji:compileLint
:emoji:copyReleaseLint UP-TO-DATE
:emoji:mergeReleaseProguardFiles UP-TO-DATE
:emoji:checkReleaseManifest
:emoji:prepareReleaseDependencies
:emoji:compileReleaseAidl UP-TO-DATE
:emoji:compileReleaseRenderscript UP-TO-DATE
:emoji:generateReleaseBuildConfig UP-TO-DATE
:emoji:generateReleaseAssets UP-TO-DATE
:emoji:mergeReleaseAssets UP-TO-DATE
:emoji:generateReleaseResValues UP-TO-DATE
:emoji:generateReleaseResources UP-TO-DATE
:emoji:packageReleaseResources UP-TO-DATE
:emoji:processReleaseManifest UP-TO-DATE
:emoji:processReleaseResources UP-TO-DATE
:emoji:generateReleaseSources UP-TO-DATE
:emoji:compileReleaseJavaWithJavac UP-TO-DATE
:emoji:processReleaseJavaRes UP-TO-DATE
:emoji:packageReleaseJar UP-TO-DATE
:emoji:packageReleaseJniLibs UP-TO-DATE
:emoji:packageReleaseLocalJar UP-TO-DATE
:emoji:packageReleaseRenderscript UP-TO-DATE
:emoji:bundleRelease UP-TO-DATE
:app:prepareComAndroidSupportAppcompatV72301Library UP-TO-DATE
:app:prepareComAndroidSupportCardviewV72301Library UP-TO-DATE
:app:prepareComAndroidSupportDesign2301Library UP-TO-DATE
:app:preDebugAndroidTestBuild UP-TO-DATE
:app:prepareComAndroidSupportMultidex101Library UP-TO-DATE
:app:prepareComAndroidSupportRecyclerviewV72301Library UP-TO-DATE
:app:prepareComAndroidSupportSupportV42301Library UP-TO-DATE
:app:prepareComCocoswBottomsheet120Library UP-TO-DATE
:app:prepareComGithubClansFab160Library UP-TO-DATE
:app:prepareComGithubJohnkilAndroidRobototextviewRobototextview240Library UP-TO-DATE
:app:prepareCorpChatEmojiUnspecifiedLibrary UP-TO-DATE
:app:prepareDeHdodenhofCircleimageview130Library UP-TO-DATE
:app:prepareDebugDependencies
:app:compileDebugAidl UP-TO-DATE
:app:compileDebugRenderscript UP-TO-DATE
:app:generateDebugBuildConfig UP-TO-DATE
:app:generateDebugAssets UP-TO-DATE
:app:mergeDebugAssets UP-TO-DATE
:app:generateDebugResValues UP-TO-DATE
:app:generateDebugResources UP-TO-DATE
:app:mergeDebugResources UP-TO-DATE
:app:processDebugManifest UP-TO-DATE
:app:processDebugResources UP-TO-DATE
:app:generateDebugSources UP-TO-DATE
:app:prepareComAndroidSupportMultidexInstrumentation101Library UP-TO-DATE
:app:prepareDebugAndroidTestDependencies
:app:compileDebugAndroidTestAidl UP-TO-DATE
:app:processDebugAndroidTestManifest UP-TO-DATE
:app:compileDebugAndroidTestRenderscript UP-TO-DATE
:app:generateDebugAndroidTestBuildConfig UP-TO-DATE
:app:generateDebugAndroidTestAssets UP-TO-DATE
:app:mergeDebugAndroidTestAssets UP-TO-DATE
:app:generateDebugAndroidTestResValues UP-TO-DATE
:app:generateDebugAndroidTestResources UP-TO-DATE
:app:mergeDebugAndroidTestResources UP-TO-DATE
:app:processDebugAndroidTestResources UP-TO-DATE
:app:generateDebugAndroidTestSources UP-TO-DATE
:app:compileDebugJavaWithJavac UP-TO-DATE
:app:compileDebugNdk UP-TO-DATE
:app:compileDebugSources UP-TO-DATE
:app:transformClassesAndResourcesWithExtractJarsForDebug
CHANGED: /home/chintan/Projects/CorpChat/app/build/intermediates/exploded-aar/com.android.support/multidex/1.0.1/jars/classes.jar
:app:transformClassesWithJarMergingForDebug FAILED
Error:Execution failed for task ':app:transformClassesWithJarMergingForDebug'.
> com.android.build.transform.api.TransformException: java.util.zip.ZipException: duplicate entry: org/apache/http/io/HttpMessageParserFactory.class
Information:BUILD FAILED
Information:Total time: 5.101 secs
Information:1 error
Information:6 warnings
Information:See complete output in console
Please help me. Thanks.

Categories

Resources