解决 app:mergeDebugResources

导入项目到AndroidStudio时,build Failed。尝试Clean/Rebuild都不成功。以下是Googled到的解决方法,已解决我的问题:app:mergeDebugResources

  • Go to the project folder from file explorer.
  • Delete(before delete Backup all files) .idea folder
  • If there are any .gradle folder do the 2nd step to the .gradle folder too.
  • If the Exception is referring any 3rd party library/jar file delete that also(keep a backup to add later)
  • Open the project again from Android studio as “Open an existing android studio project”
  • On right side gradle tab click “Refresh all Gradle projects”.This will create the gradel project dependancies
  • Now add again 3rd party libraries to the same previous folder structure
    原文作者:道路修建问题
    原文地址: https://blog.csdn.net/yanjin_pang/article/details/53079866
    本文转自网络文章,转载此文章仅为分享知识,如有侵权,请联系博主进行删除。
点赞