1972590150@qq.com
1972590150@qq.com
  • 发布:2019-08-01 23:13
  • 更新:2019-08-02 09:08
  • 阅读:1177

.9.png启动图打包报错,图片有什么问题吗?画了几次都不行

分类:HBuilderX

Appid:H5A2AB712

FAILURE:构建因异常而失败。

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

java.util.concurrent.ExecutionException:com.android.builder.internal.aapt.v2.Aapt2Exception:Android资源编译失败
输出:错误:底部边框上的填充部分太多。

命令:/home/pandora/.gradle/caches/transforms-1/files-1.1/aapt2-3.2.1-4818971-linux.jar/89e782d231b90e67452f66f10260354f/aapt2-3.2.1-4818971-linux/aapt2 compile --legacy \ \
-o \
安装包制作目录/ build / intermediates / res / merged / release \
安装包制作目录/res/drawable-hdpi/splash.9.png
守护进程:AAPT2 aapt2-3.2.1-4818971-linux守护进程#5

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

*异常是:
org.gradle.api.tasks.TaskExecutionException:任务':mergeReleaseResources'的执行失败。
在org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.executeActions(ExecuteActionsTaskExecuter.java:110)
在org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.execute(ExecuteActionsTaskExecuter.java:77)
在org.gradle .api.internal.tasks.execution.OutputDirectoryCreatingTaskExecuter.execute(OutputDirectoryCreatingTaskExecuter.java:51)
at org.gradle.api.internal.tasks.execution.SkipUpToDateTaskExecuter.execute(SkipUpToDateTaskExecuter.java:59)
在org.gradle.api.internal.tasks.execution.ResolveTaskOutputCachingStateExecuter.execute(ResolveTaskOutputCachingStateExecuter.java:54)
在org.gradle.api.internal.tasks.execution.ValidatingTaskExecuter.execute(ValidatingTaskExecuter.java:59)
在org.gradle
位于org.gradle.api.internal的org.gradle.api.internal.tasks.execution.FinalizeInputFilePropertiesTaskExecuter.execute(FinalizeInputFilePropertiesTaskExecuter.java:44)
中的.api.internal.tasks.execution.SkipEmptySourceFilesTaskExecuter.execute (SkipEmptySourceFilesTaskExecuter.java:101).tasks.execution.CleanupStaleOutputsExecuter.execute(CleanupStaleOutputsExecuter.java:91)
at org.gradle.api.internal.tasks.execution.ResolveTaskArtifactStateTaskExecuter.execute(ResolveTaskArtifactStateTaskExecuter.java:62)
在org.gradle.api.internal.tasks.execution.SkipTaskWithNoActionsExecuter.execute(SkipTaskWithNoActionsExecuter.java:59)
在org.gradle.api.internal.tasks.execution.SkipOnlyIfTaskExecuter.execute(SkipOnlyIfTaskExecuter.java:54)
在org.gradle
位于org.gradle.api.internal的org.gradle.api.internal.tasks.execution.CatchExceptionTaskExecuter.execute(CatchExceptionTaskExecuter.java:34)
上的.api.internal.tasks.execution.ExecuteAtMostOnceTaskExecuter.execute (ExecuteAtMostOnceTaskExecuter.java:43).tasks.execution.EventFiringTaskExecuter $ 1.run(EventFiringTaskExecuter.java:51)
at 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)
at org.gradle.api.internal.tasks.execution.EventFiringTaskExecuter.execute(EventFiringTaskExecuter.java:46 )
org.gradle.execution.taskgraph.LocalTask​​InfoExecutor.execute(LocalTask​​InfoExecutor.java:42)
at org.gradle.execution.taskgraph.DefaultTaskExecutionGraph $ BuildOperationAwareWorkItemExecutor.execute(DefaultTaskExecutionGraph.java:277)
org.gradle.execution.taskgraph.DefaultTaskExecutionGraph $ BuildOperationAwareWorkItemExecutor.execute(DefaultTaskExecutionGraph.java:262)
at org.gradle.execution.taskgraph .DefaultTaskPlanExecutor $ ExecutorWorker $ 1.execute(DefaultTaskPlanExecutor.java:135)
org.gradle.execution.taskgraph.DefaultTaskPlanExecutor $ ExecutorWorker $ 1.execute(DefaultTaskPlanExecutor.java:130)
at org.gradle.execution.taskgraph.DefaultTaskPlanExecutor $ ExecutorWorker.execute (DefaultTaskPlanExecutor.java:200)org.gradle.execution.taskgraph.DefaultTaskPlanExecutor
$ ExecutorWorker.executeWithWork(DefaultTaskPlanExecutor.java:191)
在org.gradle.execution.taskgraph.DefaultTaskPlanExecutor $ ExecutorWorker.run(DefaultTaskPlanExecutor.java:130)
在org.gradle.internal.concurrent.ExecutorPolicy $ CatchAndRecordFailures.onExecute(ExecutorPolicy.java:63)
在org.gradle.internal.concurrent .ManagedExecutorImpl $ 1.run(ManagedExecutorImpl.java:46)
at org.gradle.internal.concurrent.ThreadFactoryImpl $ ManagedThreadRunnable.run(ThreadFactoryImpl.java:55)
引起:org.gradle.internal.UncheckedException:java.util.concurrent。 ExecutionException:com.android.builder.internal.aapt.v2.Aapt2Exception:Android资源编译失败
输出:错误:底部边框上的填充部分太多。

命令:/home/pandora/.gradle/caches/transforms-1/files-1.1/aapt2-3.2.1-4818971-linux.jar/89e782d231b90e67452f66f10260354f/aapt2-3.2.1-4818971-linux/aapt2 compile --legacy \ \
-o \
安装包制作目录/ build / intermediates / res / merged / release \
安装包制作目录/res/drawable-hdpi/splash.9.png
守护进程:AAPT2 aapt2-3.2.1-4818971-linux守护进程
org.gradle.internal.Unvcked.RerMethod.invoke上的org.gradle.internal.UncheckedException.throwAsUncheckedException(UncheckedException.java:63)
中的org.gradle.internal.UncheckedException.throwAsUncheckedException(UncheckedException.java:40)#5#
JavaMethod .java:76)
at 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)
at org.gradle.internal.operations。 DefaultBuildOperationExecutor $ RunnableBuildOperationWorker.execute(DefaultBuildOperationExecutor.java:292)
org.gradle.internal.operations.DefaultBuildOperationExecutor.execute(DefaultBuildOperationExecutor.java:174)
at org.gradle.internal.tasks.execution org.gradle.internal.operations.DefaultBuildOperationExecutor.run(DefaultBuildOperationExecutor.java:90)
org.gradle.internal.operations.DelegatingBuildOperationExecutor.run(DelegatingBuildOperationExecutor.java:31)
at org.gradle.api.internal.tasks.execution .ExecuteActionsTaskExecuter.executeAction(ExecuteActionsTaskExecuter.java:120)
at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.executeActions(ExecuteActionsTaskExecuter.java:99)
... 31更多
引起:java.util.concurrent.ExecutionException: com.android.builder.internal.aapt.v2.Aapt2Exception:Android资源编译失败
输出:错误:底部边框上的填充部分太多。

命令:/home/pandora/.gradle/caches/transforms-1/files-1.1/aapt2-3.2.1-4818971-linux.jar/89e782d231b90e67452f66f10260354f/aapt2-3.2.1-4818971-linux/aapt2 compile --legacy \ \
-o \
安装包制作目录/ build / intermediates / res / merged / release \
安装包制作目录/res/drawable-hdpi/splash.9.png
守护进程:AAPT2 aapt2-3.2.1-4818971-linux守护进程#5
在com.android.ide.common.workers.ExecutorServiceAdapter.close(ExecutorServiceAdapter.kt:56)
在com.android.build.gradle.internal.aapt.WorkerExecutorResourceCompilationService.close(WorkerExecutorResourceCompilationService.kt:67)
在com.android .build.gradle.tasks.MergeResources.doFullTask​​Action(MergeResources.java:324)
at com.android.build.gradle.internal.tasks.IncrementalTask​​.taskAction(IncrementalTask​​.java:106)
at org.gradle.internal.reflect.JavaMethod.invoke(JavaMethod.java:73)
... 42更多
引起: com.android.builder.internal.aapt.v2.Aapt2Exception:Android资源编译失败
输出:错误:底部边框上的填充部分太多。

命令:/home/pandora/.gradle/caches/transforms-1/files-1.1/aapt2-3.2.1-4818971-linux.jar/89e782d231b90e67452f66f10260354f/aapt2-3.2.1-4818971-linux/aapt2 compile --legacy \ \
-o \
安装包制作目录/ build / intermediates / res / merged / release \
安装包制作目录/res/drawable-hdpi/splash.9.png
守护进程:AAPT2 aapt2-3.2.1-4818971-linux守护进程#5
at com.android.builder.internal.aapt.v2.Aapt2DaemonImpl.doCompile(Aapt2DaemonImpl.kt:142)
at com.android.builder.internal.aapt.v2.Aapt2Daemon.compile(Aapt2Daemon.kt:81)
at com.android .builder.internal.aapt.v2.Aapt2DaemonManager $ LeasedAaptDaemon.compile(Aapt2DaemonManager.kt:170)
at com.android.build.gradle.internal.res.Aapt2CompileWithBlameRunnable $ run $ 1.invoke(Aapt2CompileWithBlameRunnable.kt:37)
at com。 android.build.gradle.internal.res.Aapt2CompileWithBlameRunnable $ run $ 1.invoke(Aapt2CompileWithBlameRunnable.kt:28)
at com.android.build.gradle.internal.res.namespaced.Aapt2DaemonManagerService.useAaptDaemon(Aapt2DaemonManagerService.kt:71)
at com.android.build.gradle.internal.res.namespaced.Aapt2DaemonManagerService.useAaptDaemon $ default(Aapt2DaemonManagerService.kt:69)
at com.android.build.gradle.internal.res.Aapt2CompileWithBlameRunnable.run(Aapt2CompileWithBlameRunnable.kt:34)
在com.android.ide.common.workers.ExecutorServiceAdapter $ submit $ submission $ 1.run(ExecutorServiceAdapter.kt:39)*在https://help.gradle.org获取更多帮助

在8s内建立失败

2019-08-01 23:13 负责人:无 分享
已邀请:
1763692101@qq.com

1763692101@qq.com - 啦啦

你底部只能画一条黑线

要回复问题请先登录注册