Comments (4)
It looks like Android studio does not accept all the attributes inside svg.
You should display error message instead of creating file
from svgtoandroid.
You are right, the VectorDrawable only implements a subset of SVG, maybe we can give users some friendly tips, even we can do more compatibility with the SVG format. I will try to achieve it.
By the way, now there are actually some log that will be output to Event Log
on IDE.
from svgtoandroid.
To be honest I havent noticed the log and feeld a little bit confusing, when 'empty' VectorDrawable was created - there is no point of creating it.
Also I have noticed that this website does much better job then Android Studio buildin tools
http://inloop.github.io/svg2android/
(just sending info, it seems to be open source project, mabye it will be helpfull)
from svgtoandroid.
Yes, we should give the user more obvious tips when the exception occurs, like an alert dialog or popup window ......
Welcome to open issue here when converted wrongly, it will help me improve the compatibility of plugin.
from svgtoandroid.
Related Issues (20)
- Plugin SVG2VectorDrawable was not installed: Cannot download 'https://plugins.jetbrains.com/pluginManager/?action=download&id=com.moxun.plugin.s2v&build=AI-171.4249.39&uuid=cffc0d58-aa91-4fc5-82dc-50fe5abb19ae': Read timed out
- Plugin Error: SVG2VectorDrawable threw an uncaught StringIndexOutOfBoundsException. Disable Plugin
- 转换之后有的显示不全,有的一点不显示??? HOT 3
- 下载地址不见了?
- java.lang.NumberFormatException: multiple points
- 在as 3.1.4上无法安装 HOT 1
- 加载出来后无法显示和点击插件,图标是灰色的。 HOT 3
- AS 3.4 上不显示插件入口 HOT 6
- Output name of file is incorrect in some cases (filenames with numbers?) HOT 1
- How to access the plugin, what does "Click ..." means in README? HOT 2
- 在AS3.6 上启动崩了 HOT 5
- svg source directory not set
- android studio 4.0 has not svg icon in menu list HOT 1
- change the icon plz HOT 1
- 较为复杂的插画的svg,转换失败 HOT 3
- 未适配AndroidStudio4.1 HOT 4
- android studio 4.1.1 svg转换xml失败 HOT 7
- Request: offer the opposite tool too, by a context menu on the VectorDrawable file HOT 2
- 1.9.0版本在Androidstudio 4.0.1与 4.1.1上均无法正确转换,得到的xml文件是空的 HOT 6
- 能都在设置里加上转换完成后自动删除原文件的选项
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from svgtoandroid.