[英]Android Studio Vector Asset Import Error - Tags Not Supported
我一直在使用新的gradle插件1.4.0-beta3測試Andorid Studio。
我一直在嘗試導入自己在Inkscape中制作的矢量素材。 但是我一直收到導入錯誤。 錯誤消息在svg中包含許多不支持的標簽。
In mm_card.svg:
ERROR@ line 54 <defs> is not supported
ERROR@ line 56 <linearGradient> is not supported
ERROR@ line 58 <stop> is not supported
ERROR@ line 62 <stop> is not supported
ERROR@ line 66 <stop> is not supported
ERROR@ line 70 <stop> is not supported
ERROR@ line 74 <stop> is not supported
ERROR@ line 78 <stop> is not supported
ERROR@ line 83 <linearGradient> is not supported
ERROR@ line 85 <stop> is not supported
ERROR@ line 89 <stop> is not supported
ERROR@ line 93 <stop> is not supported
ERROR@ line 97 <stop> is not supported
ERROR@ line 102 <linearGradient> is not supported
ERROR@ line 104 <stop> is not supported
ERROR@ line 108 <stop> is not supported
ERROR@ line 113 <linearGradient> is not supported
ERROR@ line 115 <stop> is not supported
ERROR@ line 119 <stop> is not supported
ERROR@ line 123 <stop> is not supported
ERROR@ line 127 <stop> is not supported
ERROR@ line 131 <stop> is not supported
ERROR@ line 135 <stop> is not supported
ERROR@ line 139 <stop> is not supported
有人知道原因嗎? 向量資產工具中是否有錯誤? 還是Inkscape創建的svg存在問題? 還是不支持更復雜的svg?
謝謝!
Android Studio中的SVG導入功能僅對某些SVG功能提供了有限的支持。
他們在宣告視頻中說了很多 。 他們說他們打算改善進口商。
但也請注意,VectorDrawables始終不支持漸變。
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.