jjz
jjz
  • 发布:2020-10-07 18:09
  • 更新:2020-10-07 21:18
  • 阅读:599

【报Bug】云打包失败

分类:uni-app

产品分类: uniapp/App

PC开发环境操作系统: Windows

PC开发环境操作系统版本号: 10

HBuilderX类型: 正式

HBuilderX版本号: 2.8.13

手机系统: Android

手机系统版本号: Android 8.0

手机厂商: 小米

手机机型: 1

页面类型: vue

打包方式: 云端

项目创建方式: HBuilderX

操作步骤:

Appid:UNI8DDFADF
安装包制作目录/app/AndroidManifest.xml:12:13-56错误:
来自[geolocation-amap-release]的属性meta-data#com.amap.api.v2.apikey@value value =(a35a1658cb1a63aaeb353eb76737133d) [ar] AndroidManifest.xml:12:13-56
也出现在[fyle_palmlocation-release.aar] AndroidManifest.xml:19:13-61 value =(e879df33ceba55ea71495229d6aacf21)。
建议:将'tools:replace = \“ android:value \”'添加到覆盖AndroidManifest.xml:10:9-12:59的元素。

失败:生成失败,发生异常。

*出了什么问题:
任务':app:processReleaseManifest'的执行失败。

清单合并失败,并出现多个错误,请参阅日志

*尝试:
使用--debug选项运行以获取更多日志输出。与--scan一起运行以获取完整的见解。

例外是:
org.gradle.api.tasks.TaskExecutionException:任务':app:processReleaseManifest'的执行失败。
在org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.execute(ExecuteActionsTaskExecuter.java:77)
在org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.executeActions(ExecuteActionsTaskExecuter.java:110)
在org.gradle.api.internal.tasks.execution.OutputDirectoryCreatingTaskExecuter.execute(OutputDirectoryCreatingTaskExecuter.java:51)
在org.gradle.api.internal.tasks.execution.SkipUpToDateTaskExecuter.execute(SkipUpToDateTaskExecuter.java:59)
在org.org org.gradle.api.internal.tasks.execution.ValidatingTaskExecuter.execute(ValidatingTaskExecuter.java:59)
上的.api.internal.tasks.execution.ResolveTaskOutputCachingStateExecuter.execute(
ResolveTaskOutputCachingStateExecuter.java:54 )在org.gradle.api.internal .tasks.execution.SkipEmptySourceFilesTaskExecuter.execute(SkipEmptySourceFilesTaskExecuter.java:101)
位于org.gradle.api.internal.tasks.execution.FinalizeInputFilePropertiesTaskExecuter.execute(FinalizeInputFilePropertiesTaskExecuter.java:44)
在org.gradle.api.internal.tasks.execution.CleanupStaleOutputsExecuter.execute(CleanupStaleOutputsExecuter.java:91)
在org.gradle.api.internal.tasks.execution.ResolveTaskArtifactStateTaskExecuter.execute(ResolveTaskArtifactStateTaskExecuter.java:62)
在org.gradle org.gradle.api.internal.tasks.execution.SkipOnlyIfTaskExecuter.execute(SkipOnlyIfTaskExecuter.java:54)
上的.api.internal.tasks.execution.SkipTaskWithNoActionsExecuter.execute(SkipTaskWithNoActionsExecuter.java:59)
在org.gradle.api上。 org.gradle.api.internal.tasks.execution.CatchExceptionTaskExecuter.execute(CatchExceptionTaskExecuter.java:34)
处的.tasks.execution.ExecuteAtMostOnceTaskExecuter.execute(ExecuteAtMostOnceTaskExecuter.java:43)
在org.gradle.api.internal.tasks.execution.EventFiringTaskExecuter $ 1.run(
在org.gradle.internal.operations.DefaultBuildOperationExecutor $ RunnableBuildOperationWorker.execute(DefaultBuildOperationExecutor.java:300)
处运行。 internal.operations.DefaultBuildOperationExecutor $ RunnableBuildOperationWorker.execute(DefaultBuildOperationExecutor.java:292)
在org.gradle.internal.operations.DefaultBuildOperationExecutor.execute(DefaultBuildOperationExecutor.java:174)
在org.gradle.internal.operations.DefaultBuildOperationExecutor.run(DefaultBuildOperationExecutor。 java:90),
位于org.gradle.internal.operations.DelegatingBuildOperationExecutor.run(DelegatingBuildOperationExecutor.java:31)
在org.gradle.execution.taskgraph的org.gradle.execution.taskgraph.LocalTask​​InfoExecutor.execute(LocalTask​​InfoExecutor.java:42)
的org.gradle.api.internal.tasks.execution.EventFiringTaskExecuter.execute(EventFiringTaskExecuter.java:46)
处.DefaultTaskExecutionGraph $ BuildOperationAwareWorkItemExecutor.execute(DefaultTaskExecutionGraph.java:277)
在org.gradle.execution.taskgraph.DefaultTaskExecutionGraph $ BuildOperationAwareWorkItemExecutor.execute(DefaultTaskExecutionGraph.java:262)
在org.gradle.execution.taskgraph.DefaultTaskPlanExecutor $ ExecutorWorker $ 1.execute( DefaultTaskPlanExecutor.java:135),
位于org.gradle.execution.taskgraph.DefaultTaskPlanExecutor $ ExecutorWorker $ 1.execute(DefaultTaskPlanExecutor.java:130)
org.gradle.execution.taskgraph.DefaultTaskPlanExecutor $ ExecutorWorker.execute(DefaultTaskPlanExecutor.java:200)
处org.gradle.execution.taskgraph.DefaultTaskPlanExecutor $ ExecutorWorker.executeWithWork(DefaultTaskPlanExecutor.java:191)

org.gradle.internal.concurrent.ExecutorPolicy $ CatchAndRecordFailures.onExecute(ExecutorPolicy.java:63)
上的.DefaultTaskPlanExecutor $ ExecutorWorker.run(DefaultTaskPlanExecutor.java:130)在org.gradle.internal.concurrent.ManagedExecutorImpl $ 1.run 。 java:46)
at org.gradle.internal.concurrent.ThreadFactoryImpl $ ManagedThreadRunnable.run(ThreadFactoryImpl.java:55)
原因:java.lang.RuntimeException:清单合并失败,出现多个错误,请参阅日志
在com.android.builder.core.AndroidBuilder.mergeManifestsForApplication(AndroidBuilder.java:540)
在com.android.build.gradle.tasks.MergeManifests.doFullTask​​Action(MergeManifests.java:173)
在com.android.build.gradle.internal org.gradle.internal.reflect.JavaMethod.invoke(
JavaMethod.java:73)
上的.tasks.IncrementalTask​​.taskAction(IncrementalTask​​.java:106 )在org.gradle.api.internal.project.taskfactory.IncrementalTask​​Action.doExecute(IncrementalTask​​Action .java:50),
位于org.gradle.api.internal.project.taskfactory.StandardTaskAction.execute(StandardTaskAction.java:39),
位于org.gradle.api.internal.project.taskfactory.StandardTaskAction.execute(StandardTaskAction.java:26) )
在org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter $ 1.run(ExecuteActionsTaskExecuter.java:131)
在org.gradle.internal.operations.DefaultBuildOperationExecutor $ RunnableBuildOperationWorker.execute(DefaultBuildOperationExecutor.java:300)
在org.gradle。 internal.operations.DefaultBuildOperationExecutor $ RunnableBuildOperationWorker.execute(DefaultBuildOperationExecutor.java:292)
在org.gradle.internal.operations.DefaultBuildOperationExecutor.execute(DefaultBuildOperationExecutor.java:174)
在org.gradle.internal.operations.DefaultBuildOperationExecutor.run(DefaultBuildOperationExecutor。 java:90),
位于org.gradle.internal.operations.DelegatingBuildOperationExecutor.run(DelegatingBuildOperationExecutor.java:31)
在org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.executeAction(ExecuteActionsTaskExecuter.java:120)
在org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.executeActions(ExecuteActionsTaskExecuter.java:99)
... 31更多
在https://help.gradle.org获得更多帮助

4秒内失败

预期结果:

打包成功

实际结果:

Appid:UNI8DDFADF
安装包制作目录/app/AndroidManifest.xml:12:13-56错误:
来自[geolocation-amap-release]的属性meta-data#com.amap.api.v2.apikey@value value =(a35a1658cb1a63aaeb353eb76737133d) [ar] AndroidManifest.xml:12:13-56
也出现在[fyle_palmlocation-release.aar] AndroidManifest.xml:19:13-61 value =(e879df33ceba55ea71495229d6aacf21)。
建议:将'tools:replace = \“ android:value \”'添加到覆盖AndroidManifest.xml:10:9-12:59的元素。

失败:生成失败,发生异常。

*出了什么问题:
任务':app:processReleaseManifest'的执行失败。

清单合并失败,并出现多个错误,请参阅日志

*尝试:
使用--debug选项运行以获取更多日志输出。与--scan一起运行以获取完整的见解。

例外是:
org.gradle.api.tasks.TaskExecutionException:任务':app:processReleaseManifest'的执行失败。
在org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.execute(ExecuteActionsTaskExecuter.java:77)
在org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.executeActions(ExecuteActionsTaskExecuter.java:110)
在org.gradle.api.internal.tasks.execution.OutputDirectoryCreatingTaskExecuter.execute(OutputDirectoryCreatingTaskExecuter.java:51)
在org.gradle.api.internal.tasks.execution.SkipUpToDateTaskExecuter.execute(SkipUpToDateTaskExecuter.java:59)
在org.org org.gradle.api.internal.tasks.execution.ValidatingTaskExecuter.execute(ValidatingTaskExecuter.java:59)
上的.api.internal.tasks.execution.ResolveTaskOutputCachingStateExecuter.execute(
ResolveTaskOutputCachingStateExecuter.java:54 )在org.gradle.api.internal .tasks.execution.SkipEmptySourceFilesTaskExecuter.execute(SkipEmptySourceFilesTaskExecuter.java:101)
位于org.gradle.api.internal.tasks.execution.FinalizeInputFilePropertiesTaskExecuter.execute(FinalizeInputFilePropertiesTaskExecuter.java:44)
在org.gradle.api.internal.tasks.execution.CleanupStaleOutputsExecuter.execute(CleanupStaleOutputsExecuter.java:91)
在org.gradle.api.internal.tasks.execution.ResolveTaskArtifactStateTaskExecuter.execute(ResolveTaskArtifactStateTaskExecuter.java:62)
在org.gradle org.gradle.api.internal.tasks.execution.SkipOnlyIfTaskExecuter.execute(SkipOnlyIfTaskExecuter.java:54)
上的.api.internal.tasks.execution.SkipTaskWithNoActionsExecuter.execute(SkipTaskWithNoActionsExecuter.java:59)
在org.gradle.api上。 org.gradle.api.internal.tasks.execution.CatchExceptionTaskExecuter.execute(CatchExceptionTaskExecuter.java:34)
处的.tasks.execution.ExecuteAtMostOnceTaskExecuter.execute(ExecuteAtMostOnceTaskExecuter.java:43)
在org.gradle.api.internal.tasks.execution.EventFiringTaskExecuter $ 1.run(
在org.gradle.internal.operations.DefaultBuildOperationExecutor $ RunnableBuildOperationWorker.execute(DefaultBuildOperationExecutor.java:300)
处运行。 internal.operations.DefaultBuildOperationExecutor $ RunnableBuildOperationWorker.execute(DefaultBuildOperationExecutor.java:292)
在org.gradle.internal.operations.DefaultBuildOperationExecutor.execute(DefaultBuildOperationExecutor.java:174)
在org.gradle.internal.operations.DefaultBuildOperationExecutor.run(DefaultBuildOperationExecutor。 java:90),
位于org.gradle.internal.operations.DelegatingBuildOperationExecutor.run(DelegatingBuildOperationExecutor.java:31)
在org.gradle.execution.taskgraph的org.gradle.execution.taskgraph.LocalTask​​InfoExecutor.execute(LocalTask​​InfoExecutor.java:42)
的org.gradle.api.internal.tasks.execution.EventFiringTaskExecuter.execute(EventFiringTaskExecuter.java:46)
处.DefaultTaskExecutionGraph $ BuildOperationAwareWorkItemExecutor.execute(DefaultTaskExecutionGraph.java:277)
在org.gradle.execution.taskgraph.DefaultTaskExecutionGraph $ BuildOperationAwareWorkItemExecutor.execute(DefaultTaskExecutionGraph.java:262)
在org.gradle.execution.taskgraph.DefaultTaskPlanExecutor $ ExecutorWorker $ 1.execute( DefaultTaskPlanExecutor.java:135),
位于org.gradle.execution.taskgraph.DefaultTaskPlanExecutor $ ExecutorWorker $ 1.execute(DefaultTaskPlanExecutor.java:130)
org.gradle.execution.taskgraph.DefaultTaskPlanExecutor $ ExecutorWorker.execute(DefaultTaskPlanExecutor.java:200)
处org.gradle.execution.taskgraph.DefaultTaskPlanExecutor $ ExecutorWorker.executeWithWork(DefaultTaskPlanExecutor.java:191)

org.gradle.internal.concurrent.ExecutorPolicy $ CatchAndRecordFailures.onExecute(ExecutorPolicy.java:63)
上的.DefaultTaskPlanExecutor $ ExecutorWorker.run(DefaultTaskPlanExecutor.java:130)在org.gradle.internal.concurrent.ManagedExecutorImpl $ 1.run 。 java:46)
at org.gradle.internal.concurrent.ThreadFactoryImpl $ ManagedThreadRunnable.run(ThreadFactoryImpl.java:55)
原因:java.lang.RuntimeException:清单合并失败,出现多个错误,请参阅日志
在com.android.builder.core.AndroidBuilder.mergeManifestsForApplication(AndroidBuilder.java:540)
在com.android.build.gradle.tasks.MergeManifests.doFullTask​​Action(MergeManifests.java:173)
在com.android.build.gradle.internal org.gradle.internal.reflect.JavaMethod.invoke(
JavaMethod.java:73)
上的.tasks.IncrementalTask​​.taskAction(IncrementalTask​​.java:106 )在org.gradle.api.internal.project.taskfactory.IncrementalTask​​Action.doExecute(IncrementalTask​​Action .java:50),
位于org.gradle.api.internal.project.taskfactory.StandardTaskAction.execute(StandardTaskAction.java:39),
位于org.gradle.api.internal.project.taskfactory.StandardTaskAction.execute(StandardTaskAction.java:26) )
在org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter $ 1.run(ExecuteActionsTaskExecuter.java:131)
在org.gradle.internal.operations.DefaultBuildOperationExecutor $ RunnableBuildOperationWorker.execute(DefaultBuildOperationExecutor.java:300)
在org.gradle。 internal.operations.DefaultBuildOperationExecutor $ RunnableBuildOperationWorker.execute(DefaultBuildOperationExecutor.java:292)
在org.gradle.internal.operations.DefaultBuildOperationExecutor.execute(DefaultBuildOperationExecutor.java:174)
在org.gradle.internal.operations.DefaultBuildOperationExecutor.run(DefaultBuildOperationExecutor。 java:90),
位于org.gradle.internal.operations.DelegatingBuildOperationExecutor.run(DelegatingBuildOperationExecutor.java:31)
在org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.executeAction(ExecuteActionsTaskExecuter.java:120)
在org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.executeActions(ExecuteActionsTaskExecuter.java:99)
... 31更多
在https://help.gradle.org获得更多帮助

4秒内失败

bug描述:

2020-10-07 18:09 负责人:无 分享
已邀请:
jjz

jjz (作者)

已解决(不是bug)

该问题目前已经被锁定, 无法添加新回复