Style attribute attr/@attr/minTextSize not found

后端 未结 3 805
后悔当初
后悔当初 2021-01-20 08:09

I have trying since long to identify the issue but unfortunately not able to

If I do

android.enableAapt2=true

The code

3条回答
  •  长情又很酷
    2021-01-20 08:44

    The issue is with some of the gradles added in project. Actually the libraries internally have defined the attribute minTextSize

    Due to latest updates and compatibility the attr was not found.

    To identify I have defined same attr as

    16
    

    in attrs.xml in my app module. Compiling the same thrown error of duplicate value and path and from that path I have found the library which needs to be updated.

    Updating to the latest of all library version have solved the issue.

提交回复
热议问题