android {
compileSdkVersion 19
buildToolsVersion "19.1.0"
defaultConfig {
applicationId "com.ssi.wms.yong"
minSdkVersion 15
targetSdkVersion 19
// Enabling multidex support.
multiDexEnabled true //everytime i disabled this line i got error 1 message
}
dexOptions {
javaMaxHeapSize "2g"
incremental true
jumboMode = true
preDexLibraries = false
}
configurations { all*.exclude group: 'com.android.support', module:
'support-v4' }
sourceSets {
main {
manifest.srcFile 'AndroidManifest.xml'
java.srcDirs = ['src']
resources.srcDirs = ['src']
aidl.srcDirs = ['src']
renderscript.srcDirs = ['src']
res.srcDirs = ['res']
assets.srcDirs = ['assets']
}
instrumentTest.setRoot('tests')
debug.setRoot('build-types/debug')
release.setRoot('build-types/release')
}
HERE IS THE COMPLE ERROR MESSGE :
Information:Gradle tasks [:WMS:assembleFlavor1Debug]
:WMS:preBuild UP-TO-DATE
:WMS:preFlavor1DebugBuild UP-TO-DATE
:WMS:checkFlavor1DebugManifest
:WMS:preFlavor1DebugAndroidTestBuild UP-TO-DATE
:WMS:preFlavor1ReleaseBuild UP-TO-DATE
:WMS:preFlavor2DebugAndroidTestBuild UP-TO-DATE
:WMS:preFlavor2DebugBuild UP-TO-DATE
:WMS:preFlavor2ReleaseBuild UP-TO-DATE
:actionbarsherlock:preBuild UP-TO-DATE
:actionbarsherlock:preReleaseBuild UP-TO-DATE
:actionbarsherlock:compileReleaseNdk UP-TO-DATE
:actionbarsherlock:compileLint
:actionbarsherlock:copyReleaseLint UP-TO-DATE
:actionbarsherlock:mergeReleaseProguardFiles UP-TO-DATE
:actionbarsherlock:packageReleaseRenderscript UP-TO-DATE
:actionbarsherlock:checkReleaseManifest
:actionbarsherlock:prepareReleaseDependencies
:actionbarsherlock:compileReleaseRenderscript UP-TO-DATE
:actionbarsherlock:generateReleaseResValues UP-TO-DATE
:actionbarsherlock:generateReleaseResources UP-TO-DATE
:actionbarsherlock:packageReleaseResources UP-TO-DATE
:actionbarsherlock:compileReleaseAidl UP-TO-DATE
:actionbarsherlock:generateReleaseBuildConfig UP-TO-DATE
:actionbarsherlock:generateReleaseAssets UP-TO-DATE
:actionbarsherlock:mergeReleaseAssets UP-TO-DATE
:actionbarsherlock:processReleaseManifest UP-TO-DATE
:actionbarsherlock:processReleaseResources UP-TO-DATE
:actionbarsherlock:generateReleaseSources UP-TO-DATE
:actionbarsherlock:compileReleaseJavaWithJavac UP-TO-DATE
:actionbarsherlock:processReleaseJavaRes UP-TO-DATE
:actionbarsherlock:transformResourcesWithMergeJavaResForRelease UP-TO-DATE
:actionbarsherlock:transformClassesAndResourcesWithSyncLibJarsForRelease
UP-TO-DATE
:actionbarsherlock:mergeReleaseJniLibFolders UP-TO-DATE
:actionbarsherlock:transformNative_libsWithMergeJniLibsForRelease UP-TO-DATE
:actionbarsherlock:transformNative_libsWithSyncJniLibsForRelease UP-TO-DATE
:actionbarsherlock:bundleRelease UP-TO-DATE
:sliding_menu_library:preBuild UP-TO-DATE
:sliding_menu_library:preReleaseBuild UP-TO-DATE
:sliding_menu_library:compileReleaseNdk UP-TO-DATE
:sliding_menu_library:compileLint
:sliding_menu_library:copyReleaseLint UP-TO-DATE
:sliding_menu_library:mergeReleaseProguardFiles UP-TO-DATE
:sliding_menu_library:packageReleaseRenderscript UP-TO-DATE
:sliding_menu_library:checkReleaseManifest
:sliding_menu_library:preDebugAndroidTestBuild UP-TO-DATE
:sliding_menu_library:preDebugBuild UP-TO-DATE
:sliding_menu_library:preDebugUnitTestBuild UP-TO-DATE
:sliding_menu_library:preReleaseUnitTestBuild UP-TO-DATE
:sliding_menu_library:prepareStratpoint_ssiEwmsCr1AndroidActionbarsherlockUnspecifiedLibrary
UP-TO-DATE
:sliding_menu_library:prepareReleaseDependencies
:sliding_menu_library:compileReleaseRenderscript UP-TO-DATE
:sliding_menu_library:generateReleaseResValues UP-TO-DATE
:sliding_menu_library:generateReleaseResources UP-TO-DATE
:sliding_menu_library:packageReleaseResources UP-TO-DATE
:sliding_menu_library:compileReleaseAidl UP-TO-DATE
:sliding_menu_library:generateReleaseBuildConfig UP-TO-DATE
:sliding_menu_library:generateReleaseAssets UP-TO-DATE
:sliding_menu_library:mergeReleaseAssets UP-TO-DATE
:sliding_menu_library:mergeReleaseResources UP-TO-DATE
:sliding_menu_library:processReleaseManifest UP-TO-DATE
:sliding_menu_library:processReleaseResources UP-TO-DATE
:sliding_menu_library:generateReleaseSources UP-TO-DATE
:sliding_menu_library:compileReleaseJavaWithJavac UP-TO-DATE
:sliding_menu_library:processReleaseJavaRes UP-TO-DATE
:sliding_menu_library:transformResourcesWithMergeJavaResForRelease UP-TO-DATE
:sliding_menu_library:transformClassesAndResourcesWithSyncLibJarsForRelease
UP-TO-DATE
:sliding_menu_library:mergeReleaseJniLibFolders UP-TO-DATE
:sliding_menu_library:transformNative_libsWithMergeJniLibsForRelease UP-TO-DATE
:sliding_menu_library:transformNative_libsWithSyncJniLibsForRelease UP-TO-DATE
:sliding_menu_library:bundleRelease UP-TO-DATE
:WMS:prepareComAndroidSupportMultidex101Library UP-TO-DATE
:WMS:prepareStratpoint_ssiEwmsCr1AndroidActionbarsherlockUnspecifiedLibrary
UP-TO-DATE
:WMS:prepareStratpoint_ssiEwmsCr1AndroidSliding_menu_libraryUnspecifiedLibrary
UP-TO-DATE
:WMS:prepareFlavor1DebugDependencies
:WMS:compileFlavor1DebugAidl UP-TO-DATE
:WMS:compileFlavor1DebugRenderscript UP-TO-DATE
:WMS:generateFlavor1DebugBuildConfig UP-TO-DATE
:WMS:generateFlavor1DebugAssets UP-TO-DATE
:WMS:mergeFlavor1DebugAssets UP-TO-DATE
:WMS:generateFlavor1DebugResValues UP-TO-DATE
:WMS:generateFlavor1DebugResources UP-TO-DATE
:WMS:mergeFlavor1DebugResources UP-TO-DATE
:WMS:processFlavor1DebugManifest UP-TO-DATE
:WMS:processFlavor1DebugResources UP-TO-DATE
:WMS:generateFlavor1DebugSources UP-TO-DATE
:WMS:compileFlavor1DebugJavaWithJavac
:WMS:compileFlavor1DebugNdk UP-TO-DATE
:WMS:compileFlavor1DebugSources
:WMS:transformClassesWithJarMergingForFlavor1Debug FAILED
Error:Execution failed for task
':WMS:transformClassesWithJarMergingForFlavor1Debug'.
> com.android.build.api.transform.TransformException:
> java.util.zip.ZipException: duplicate entry:
> android/support/v4/app/ActivityCompatHoneycomb.class
Information:BUILD FAILED
Information:Total time: 16.033 secs
Information:1 error
Information:0 warnings
Information:See complete output in console
--
You received this message because you are subscribed to the Google Groups
"Android Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/android-developers.
To view this discussion on the web visit
https://groups.google.com/d/msgid/android-developers/50585dbe-9ec2-46ce-87ea-19c30612ade0%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.