Vaios Tsitsonis
10/03/2022, 12:16 PMImage(painter = painterResource(id = R.drawable.svg_name), contentDescription = "")
and I get the following error: java.lang.IllegalArgumentException: Unknown command for: R
Is there some sort of limitation? Is there any way to overcome this issue?Stylianos Gakis
10/03/2022, 3:40 PMandroid.nonTransitiveRClass=true
and you’re not referencing it correctly. Or something like that, but this code should work otherwise.Vaios Tsitsonis
10/03/2022, 3:46 PMVaios Tsitsonis
10/03/2022, 3:47 PMStylianos Gakis
10/03/2022, 3:50 PMjava.lang.IllegalArgumentException: Unknown command for: R
in this case.
Could you then try and add another drawable from the built-in vector drawables in Android Studio and test if that works instead?mattinger
10/03/2022, 3:54 PMVaios Tsitsonis
10/03/2022, 4:09 PMVaios Tsitsonis
10/03/2022, 4:10 PMephemient
10/03/2022, 7:38 PMR
in the pathData, but that's not a valid command for VectorDrawable or SVGVaios Tsitsonis
10/04/2022, 8:20 AMephemient
10/04/2022, 8:29 AMVaios Tsitsonis
10/05/2022, 9:28 AMephemient
10/05/2022, 9:41 AM