Acknowledged

Cannot reference Barrel string resources in Watch Face settings.xml

According to Monkey Barrel documentation, barrel resources should be accessible in the project via the @IconLibrary.Drawables.myIcon notation.  This suggests @MyBarrel.Strings.myString would be a valid way to reference a string from the app.  This isn't working as expected when referenced inside settings.xml for the Watch Face using this barrel.

Like user  wrote in "How to reference barrel resources from app xml", I am attempting to reference a barrel's String resources inside my Watch Face's settings.XML.   I'd expect to see the actual strings, but instead I see the references.  

See screenshots:

https://www.dropbox.com/s/tei8puk0hcqx6oo/Screen%20Shot%202022-12-29%20at%201.05.39%20PM.png?dl=0

https://www.dropbox.com/s/mtkhvac605gz1hh/Screen%20Shot%202022-12-29%20at%201.05.58%20PM.png?dl=0

Parents
  • FYI, this bug is still not fixed 4 years later. Error statements even refer you to use the format that specifically doesn't work.

    Invalid Strings resource reference 'Blue' in attribute 'label'. Use formats: '@Strings.<resource id>' or '@<barrel name>.Strings.<resource id>' (if the Monkey Barrel dependency is defined).
Comment
  • FYI, this bug is still not fixed 4 years later. Error statements even refer you to use the format that specifically doesn't work.

    Invalid Strings resource reference 'Blue' in attribute 'label'. Use formats: '@Strings.<resource id>' or '@<barrel name>.Strings.<resource id>' (if the Monkey Barrel dependency is defined).
Children