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

前端 未结 7 2740
一个人的身影
一个人的身影 2021-02-14 20:32

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 21:02

    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

提交回复
热议问题