:sdk:transformDataBindingWithDataBindingMergeArtifactsForRelease (Thread[Task worker for ':' Thread 2,5,main]) completed. Took 0.031 secs.
:sdk:kaptReleaseKotlin (Thread[Task worker for ':' Thread 2,5,main]) started.
Task :app:tinkerProcessReleaseResourceId FAILED
Putting task artifact state for task ':app:tinkerProcessReleaseResourceId' into context took 0.0 secs.
Up-to-date check for task ':app:tinkerProcessReleaseResourceId' took 0.0 secs. It is not up-to-date because:
Task has not declared any outputs.
we build app apk with apply resource mapping file /Users/xingxing/xxx/xxx/app/tinkerApk/app-release-1.0.0-R.txt
:app:tinkerProcessReleaseResourceId (Thread[Daemon worker Thread 2,5,main]) completed. Took 0.357 secs.
Task :sdk:kaptReleaseKotlin
Putting task artifact state for task ':sdk:kaptReleaseKotlin' into context took 0.0 secs.
Up-to-date check for task ':sdk:kaptReleaseKotlin' took 0.394 secs. It is not up-to-date because:
Task ':sdk:kaptReleaseKotlin' class path has changed from 946a35d3f636307fdacab3a365fe4cf8 to d9a8a5dad67b1d16bb6b90ac0fcf15b5.
What went wrong:
Execution failed for task ':app:tinkerProcessReleaseResourceId'.
com.tencent.tinker.build.aapt.AaptUtil$AaptUtilException: /Users/xingxing/xxx/xxx/app/build/intermediates/res/merged/release/navigation is not a valid resource sub-directory.
Issue/提问须知
在提交issue之前,我们应该先查询是否已经有相关的issue以及常见问题。提交issue时,我们需要写明issue的原因,以及编译或运行过程的日志(加载进程以及Patch进程)。issue需要以下面的格式:
:sdk:transformDataBindingWithDataBindingMergeArtifactsForRelease (Thread[Task worker for ':' Thread 2,5,main]) completed. Took 0.031 secs. :sdk:kaptReleaseKotlin (Thread[Task worker for ':' Thread 2,5,main]) started.
:app:tinkerProcessReleaseResourceId (Thread[Daemon worker Thread 2,5,main]) completed. Took 0.357 secs.
w: 警告: 来自注释处理程序 'org.jetbrains.kotlin.kapt3.base.ProcessorWrapper' 的受支持 source 版本 'RELEASE_7' 低于 -source '1.8' :sdk:kaptReleaseKotlin (Thread[Task worker for ':' Thread 2,5,main]) completed. Took 3.773 secs.
FAILURE: Build failed with an exception.