Android Gradle merged Values.xml uses wrong namespace

前端 未结 6 2044
野性不改
野性不改 2020-12-14 11:59

In the process of converting a project to the Android build system I get this error whenever I attempt to compile.

Gradle: Error parsing XML: prefix must not b

6条回答
  •  南方客
    南方客 (楼主)
    2020-12-14 12:05

    Read all my answer first : it seems that this error is due to another compilation problem...

    Initially, to deal with this error, I updated my code like this:

    
     ...
    
    

    into this code:

    
         ...
    
    

    And it works for me at the beginning...but I had another compilation error due tu gradle configuration...and now that these compilation errors are corrected, my previous update does not work anymore. I had to add the namespace to generate the APK file.

    So , be sure to correct all the compilation errors first before to deal with this error...

提交回复
热议问题