Execution failed for task ':app:processDebugResources' after cleaning project

前端 未结 7 2326
有刺的猬
有刺的猬 2021-02-14 20:42

The error I\'ve been getting is this:

 FAILED

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task \':app:processDebugResource         


        
7条回答
  •  爱一瞬间的悲伤
    2021-02-14 20:57

    Keyword is Resources from

    Execution failed for task ':app:processDebugResources'
    

    Therefore, the problem likely exists somewhere in an XML file.

    For instance, your manifest's application tag. I don't think that name attribute is valid. Plus, you already have android:name for a different class. Therefore remove the name one. Or change to android:name and keep only one. If you need both classes, then have AppController extend the BootstrapApplication class.

    Also, the entire package name isn't necessary.

    For example, the MainActivity can simply be

提交回复
热议问题