android - Gradle: Execution failed for task ':processDebugManifest' -
i'm getting gradle error @ building since yesterday - came randomly....
full stacktrace here:
my project depends on multiple libraries , built without problems until yesterday (even librarys)
compile 'com.google.android.gms:play-services:3.1.36' compile 'com.android.support:support-v4:13.0.0' compile project(":libs:databasecreationhelper") compile project(":libs:actionbarsherlock")
anyone has idea how fix it? randomly came... full stacktrace here:
* exception is: org.gradle.api.tasks.taskexecutionexception: execution failed task ':itchyfeet:processdebugmanifest'. @ org.gradle.api.internal.tasks.execution.executeactionstaskexecuter.executeactions(executeactionstaskexecuter.java:69) @ org.gradle.api.internal.tasks.execution.executeactionstaskexecuter.execute(executeactionstaskexecuter.java:46) @ org.gradle.api.internal.tasks.execution.postexecutionanalysistaskexecuter.execute(postexecutionanalysistaskexecuter.java:35) @ org.gradle.api.internal.changedetection.state.cachelockreleasingtaskexecuter$1.run(cachelockreleasingtaskexecuter.java:35) @ org.gradle.internal.factories$1.create(factories.java:22) @ org.gradle.cache.internal.defaultcacheaccess.longrunningoperation(defaultcacheaccess.java:179) @ org.gradle.cache.internal.defaultcacheaccess.longrunningoperation(defaultcacheaccess.java:232) @ org.gradle.cache.internal.defaultpersistentdirectorystore.longrunningoperation(defaultpersistentdirectorystore.java:142) @ org.gradle.api.internal.changedetection.state.defaulttaskartifactstatecacheaccess.longrunningoperation(defaulttaskartifactstatecacheaccess.java:83) @ org.gradle.api.internal.changedetection.state.cachelockreleasingtaskexecuter.execute(cachelockreleasingtaskexecuter.java:33) @ org.gradle.api.internal.tasks.execution.skipuptodatetaskexecuter.execute(skipuptodatetaskexecuter.java:58) @ org.gradle.api.internal.tasks.execution.contextualisingtaskexecuter.execute(contextualisingtaskexecuter.java:34) @ org.gradle.api.internal.changedetection.state.cachelockacquiringtaskexecuter$1.run(cachelockacquiringtaskexecuter.java:39) @ org.gradle.internal.factories$1.create(factories.java:22) @ org.gradle.cache.internal.defaultcacheaccess.usecache(defaultcacheaccess.java:124) @ org.gradle.cache.internal.defaultcacheaccess.usecache(defaultcacheaccess.java:112) @ org.gradle.cache.internal.defaultpersistentdirectorystore.usecache(defaultpersistentdirectorystore.java:134) @ org.gradle.api.internal.changedetection.state.defaulttaskartifactstatecacheaccess.usecache(defaulttaskartifactstatecacheaccess.java:79) @ org.gradle.api.internal.changedetection.state.cachelockacquiringtaskexecuter.execute(cachelockacquiringtaskexecuter.java:37) @ org.gradle.api.internal.tasks.execution.validatingtaskexecuter.execute(validatingtaskexecuter.java:57) @ org.gradle.api.internal.tasks.execution.skipemptysourcefilestaskexecuter.execute(skipemptysourcefilestaskexecuter.java:41) @ org.gradle.api.internal.tasks.execution.skiptaskwithnoactionsexecuter.execute(skiptaskwithnoactionsexecuter.java:51) @ org.gradle.api.internal.tasks.execution.skiponlyiftaskexecuter.execute(skiponlyiftaskexecuter.java:52) @ org.gradle.api.internal.tasks.execution.executeatmostoncetaskexecuter.execute(executeatmostoncetaskexecuter.java:42) @ org.gradle.api.internal.abstracttask.executewithoutthrowingtaskfailure(abstracttask.java:282) @ org.gradle.execution.taskgraph.defaulttaskplanexecutor.executetask(defaulttaskplanexecutor.java:48) @ org.gradle.execution.taskgraph.defaulttaskplanexecutor.processtask(defaulttaskplanexecutor.java:34) @ org.gradle.execution.taskgraph.defaulttaskplanexecutor.process(defaulttaskplanexecutor.java:27) @ org.gradle.execution.taskgraph.defaulttaskgraphexecuter.execute(defaulttaskgraphexecuter.java:89) @ org.gradle.execution.selectedtaskexecutionaction.execute(selectedtaskexecutionaction.java:29) @ org.gradle.execution.defaultbuildexecuter.execute(defaultbuildexecuter.java:61) @ org.gradle.execution.defaultbuildexecuter.access$200(defaultbuildexecuter.java:23) @ org.gradle.execution.defaultbuildexecuter$2.proceed(defaultbuildexecuter.java:67) @ org.gradle.api.internal.changedetection.state.taskcachelockhandlingbuildexecuter$1.run(taskcachelockhandlingbuildexecuter.java:31) @ org.gradle.internal.factories$1.create(factories.java:22) @ org.gradle.cache.internal.defaultcacheaccess.usecache(defaultcacheaccess.java:124) @ org.gradle.cache.internal.defaultcacheaccess.usecache(defaultcacheaccess.java:112) @ org.gradle.cache.internal.defaultpersistentdirectorystore.usecache(defaultpersistentdirectorystore.java:134) @ org.gradle.api.internal.changedetection.state.defaulttaskartifactstatecacheaccess.usecache(defaulttaskartifactstatecacheaccess.java:79) @ org.gradle.api.internal.changedetection.state.taskcachelockhandlingbuildexecuter.execute(taskcachelockhandlingbuildexecuter.java:29) @ org.gradle.execution.defaultbuildexecuter.execute(defaultbuildexecuter.java:61) @ org.gradle.execution.defaultbuildexecuter.access$200(defaultbuildexecuter.java:23) @ org.gradle.execution.defaultbuildexecuter$2.proceed(defaultbuildexecuter.java:67) @ org.gradle.execution.dryrunbuildexecutionaction.execute(dryrunbuildexecutionaction.java:32) @ org.gradle.execution.defaultbuildexecuter.execute(defaultbuildexecuter.java:61) @ org.gradle.execution.defaultbuildexecuter.execute(defaultbuildexecuter.java:54) @ org.gradle.initialization.defaultgradlelauncher.dobuildstages(defaultgradlelauncher.java:166) @ org.gradle.initialization.defaultgradlelauncher.dobuild(defaultgradlelauncher.java:113) @ org.gradle.initialization.defaultgradlelauncher.run(defaultgradlelauncher.java:81) @ org.gradle.launcher.exec.inprocessbuildactionexecuter$defaultbuildcontroller.run(inprocessbuildactionexecuter.java:64) @ org.gradle.launcher.cli.executebuildaction.run(executebuildaction.java:33) @ org.gradle.launcher.cli.executebuildaction.run(executebuildaction.java:24) @ org.gradle.launcher.exec.inprocessbuildactionexecuter.execute(inprocessbuildactionexecuter.java:35) @ org.gradle.launcher.exec.inprocessbuildactionexecuter.execute(inprocessbuildactionexecuter.java:26) @ org.gradle.launcher.cli.runbuildaction.run(runbuildaction.java:50) @ org.gradle.api.internal.actions$runnableactionadapter.execute(actions.java:171) @ org.gradle.launcher.cli.commandlineactionfactory$parseandbuildaction.execute(commandlineactionfactory.java:201) @ org.gradle.launcher.cli.commandlineactionfactory$parseandbuildaction.execute(commandlineactionfactory.java:174) @ org.gradle.launcher.cli.commandlineactionfactory$withlogging.execute(commandlineactionfactory.java:170) @ org.gradle.launcher.cli.commandlineactionfactory$withlogging.execute(commandlineactionfactory.java:139) @ org.gradle.launcher.cli.exceptionreportingaction.execute(exceptionreportingaction.java:33) @ org.gradle.launcher.cli.exceptionreportingaction.execute(exceptionreportingaction.java:22) @ org.gradle.launcher.main.doaction(main.java:48) @ org.gradle.launcher.bootstrap.entrypoint.run(entrypoint.java:45) @ org.gradle.launcher.main.main(main.java:39) @ org.gradle.launcher.bootstrap.processbootstrap.runnoexit(processbootstrap.java:50) @ org.gradle.launcher.bootstrap.processbootstrap.run(processbootstrap.java:32) @ org.gradle.launcher.gradlemain.main(gradlemain.java:26) caused by: java.lang.runtimeexception: manifest merging failed. see console more info. @ com.android.builder.androidbuilder.domerge(androidbuilder.java:475) @ com.android.builder.androidbuilder.mergelibrarymanifests(androidbuilder.java:461) @ com.android.builder.androidbuilder.processmanifest(androidbuilder.java:301) @ com.android.builder.androidbuilder$processmanifest.call(unknown source) @ com.android.build.gradle.tasks.processappmanifest.dofulltaskaction(processappmanifest.groovy:65) @ com.android.build.gradle.internal.tasks.incrementaltask.taskaction(incrementaltask.groovy:71) @ org.gradle.api.internal.beandynamicobject$metaclassadapter.invokemethod(beandynamicobject.java:216) @ org.gradle.api.internal.beandynamicobject.invokemethod(beandynamicobject.java:122) @ org.gradle.api.internal.compositedynamicobject.invokemethod(compositedynamicobject.java:147) @ com.android.build.gradle.tasks.processappmanifest_decorated.invokemethod(unknown source) @ org.gradle.util.reflectionutil.invoke(reflectionutil.groovy:23) @ org.gradle.api.internal.project.taskfactory.annotationprocessingtaskfactory$standardtaskaction.doexecute(annotationprocessingtaskfactory.java:217) @ org.gradle.api.internal.project.taskfactory.annotationprocessingtaskfactory$standardtaskaction.execute(annotationprocessingtaskfactory.java:210) @ org.gradle.api.internal.project.taskfactory.annotationprocessingtaskfactory$standardtaskaction.execute(annotationprocessingtaskfactory.java:199) @ org.gradle.api.internal.abstracttask$taskactionwrapper.execute(abstracttask.java:526) @ org.gradle.api.internal.abstracttask$taskactionwrapper.execute(abstracttask.java:509) @ org.gradle.api.internal.tasks.execution.executeactionstaskexecuter.executeaction(executeactionstaskexecuter.java:80) @ org.gradle.api.internal.tasks.execution.executeactionstaskexecuter.executeactions(executeactionstaskexecuter.java:61) ... 67 more
found solution problem:
gradle assemble -info gave me hint manifests have different sdk versions , cannot merged.
i needed edit manifests , build.gradle file , worked again.
to clear need edit uses-sdk
in androidmanifest.xml
<uses-sdk android:minsdkversion="14" android:targetsdkversion="16" />
and android
section, particularly minsdkversion
, targetsdkversion
in build.gradle file
android { compilesdkversion 17 buildtoolsversion "17.0.0" defaultconfig { minsdkversion 14 targetsdkversion 16 } }
Comments
Post a Comment