task ':app:mergeDebugResources' property 'aapt2FromMaven'

Copy From:https://my.oschina.net/u/616133/blog/2221453

升级到Android Sutdio 3.2, Gradle 升级到 4.6

编译时出错

org.gradle.api.UncheckedIOException: Failed to capture snapshot of input files for task ':app:mergeDebugResources' property 'aapt2FromMaven' during up-to-date check.

 

解决办法

File --> Setting --->Build,Execution,Deployment --> Gradle -->Android Studio  勾选 “Enable embedded Maven repository”

posted on 2018-11-07 11:35  HBU_DAVID  阅读(1733)  评论(0编辑  收藏  举报

导航