thanks for the report. I did a CL yesterday that should solve the issue.

https://android-review.googlesource.com/#/c/117136/

you should try as soon as RC2 is released (probably today).

thanks for the great investigation.

On Wed Dec 03 2014 at 2:33:02 AM Vyacheslav Blinov <
blinov.vyaches...@gmail.com> wrote:

> Changing placeholders to
>         manifestPlaceholders = ['android.manifest.packageName':
> 'com.gowiper.android',
>                                 'android.manifest.versionName': project.
> version,
>
>                                 'android.manifest.versionCode':
> "$buildNumber".toString() ]
>
> solved the problem and can be considered to be a workaround.
>
> вторник, 2 декабря 2014 г., 22:38:00 UTC+3 пользователь Jerome Dochez
> написал:
>
>> Looking at the code, I suppose something is related to placeholders
>> defined in your build.gradle. would you mind sharing your build.gradle.
>>
>> thx, jerome
>>
>> On Mon Dec 01 2014 at 7:26:29 AM Vyacheslav Blinov <blinov.v...@gmail.com>
>> wrote:
>>
> Hi. I'm running android plugin version 1.0.0-rc1 on top of Gradle 2.2.0,
>>> and having the following stacktrace while trying to build my project:
>>>
>>>
>>> org.gradle.api.tasks.TaskExecutionException: Execution failed for task
>>> ':application:processReleaseManifest'.
>>> at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.
>>> executeActions(ExecuteActionsTaskExecuter.java:69)
>>> at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.
>>> execute(ExecuteActionsTaskExecuter.java:46)
>>> at org.gradle.api.internal.tasks.execution.PostExecutionAnalysi
>>> sTaskExecuter.execute(PostExecutionAnalysisTaskExecuter.java:35)
>>> at org.gradle.api.internal.tasks.execution.SkipUpToDateTaskExecuter.
>>> execute(SkipUpToDateTaskExecuter.java:64)
>>> at org.gradle.api.internal.tasks.execution.ValidatingTaskExecuter.
>>> execute(ValidatingTaskExecuter.java:58)
>>> at org.gradle.api.internal.tasks.execution.SkipEmptySourceFiles
>>> TaskExecuter.execute(SkipEmptySourceFilesTaskExecuter.java:42)
>>> at org.gradle.api.internal.tasks.execution.SkipTaskWithNoAction
>>> sExecuter.execute(SkipTaskWithNoActionsExecuter.java:52)
>>> at org.gradle.api.internal.tasks.execution.SkipOnlyIfTaskExecuter.
>>> execute(SkipOnlyIfTaskExecuter.java:53)
>>> at org.gradle.api.internal.tasks.execution.ExecuteAtMostOnceTas
>>> kExecuter.execute(ExecuteAtMostOnceTaskExecuter.java:43)
>>> at org.gradle.api.internal.AbstractTask.executeWithoutThrowingTaskFail
>>> ure(AbstractTask.java:305)
>>> at org.gradle.execution.taskgraph.AbstractTaskPlanExecutor$Task
>>> ExecutorWorker.executeTask(AbstractTaskPlanExecutor.java:79)
>>> at org.gradle.execution.taskgraph.AbstractTaskPlanExecutor$Task
>>> ExecutorWorker.processTask(AbstractTaskPlanExecutor.java:63)
>>> at org.gradle.execution.taskgraph.AbstractTaskPlanExecutor$Task
>>> ExecutorWorker.run(AbstractTaskPlanExecutor.java:51)
>>> at org.gradle.internal.concurrent.DefaultExecutorFactory$Stoppa
>>> bleExecutorImpl$1.run(DefaultExecutorFactory.java:64)
>>> Caused by: java.lang.ClassCastException: java.lang.Integer cannot be
>>> cast to java.lang.String
>>> at com.android.manifmerger.ManifestMerger2$MapBasedKeyBasedValu
>>> eResolver.getValue(ManifestMerger2.java:1005)
>>> at com.android.manifmerger.PlaceholderHandler.visit(Placeholder
>>> Handler.java:89)
>>> at com.android.manifmerger.PlaceholderHandler.visit(Placeholder
>>> Handler.java:76)
>>> at com.android.manifmerger.ManifestMerger2.performPlaceHolderSu
>>> bstitution(ManifestMerger2.java:424)
>>> at com.android.manifmerger.ManifestMerger2.load(ManifestMerger2
>>> .java:398)
>>> at com.android.manifmerger.ManifestMerger2.merge(ManifestMerger
>>> 2.java:109)
>>> at com.android.manifmerger.ManifestMerger2.access$1100(Manifest
>>> Merger2.java:51)
>>> at com.android.manifmerger.ManifestMerger2$Invoker.merge(Manife
>>> stMerger2.java:982)
>>> at com.android.builder.core.AndroidBuilder.mergeManifests(Andro
>>> idBuilder.java:457)
>>> at com.android.builder.core.AndroidBuilder$mergeManifests$6.call(Unknown
>>> Source)
>>> at com.android.build.gradle.tasks.MergeManifests.doFullTaskAction(
>>> MergeManifests.groovy:125)
>>> at com.android.build.gradle.internal.tasks.IncrementalTask.taskAction(
>>> IncrementalTask.groovy:64)
>>> at org.gradle.internal.reflect.JavaMethod.invoke(JavaMethod.java:63)
>>> at org.gradle.api.internal.project.taskfactory.AnnotationProces
>>> singTaskFactory$IncrementalTaskAction.doExecute(
>>> AnnotationProcessingTaskFactory.java:235)
>>> at org.gradle.api.internal.project.taskfactory.AnnotationProces
>>> singTaskFactory$StandardTaskAction.execute(Ann
>>> otationProcessingTaskFactory.java:211)
>>> at org.gradle.api.internal.project.taskfactory.AnnotationProces
>>> singTaskFactory$IncrementalTaskAction.execute(
>>> AnnotationProcessingTaskFactory.java:222)
>>> at org.gradle.api.internal.project.taskfactory.AnnotationProces
>>> singTaskFactory$StandardTaskAction.execute(Ann
>>> otationProcessingTaskFactory.java:200)
>>> at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.
>>> executeAction(ExecuteActionsTaskExecuter.java:80)
>>> at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.
>>> executeActions(ExecuteActionsTaskExecuter.java:61)
>>> ... 13 more
>>>
>>> Is there something obvious I'm doing wrong?
>>>
>>> --
>>> You received this message because you are subscribed to the Google
>>> Groups "adt-dev" group.
>>>
>> To unsubscribe from this group and stop receiving emails from it, send an
>>> email to adt-dev+u...@googlegroups.com.
>>
>>
>>> For more options, visit https://groups.google.com/d/optout.
>>>
>>  --
> You received this message because you are subscribed to the Google Groups
> "adt-dev" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to adt-dev+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups 
"adt-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adt-dev+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to