Giter Club home page Giter Club logo

Comments (4)

igorwojda avatar igorwojda commented on June 3, 2024

It looks like Android studio does not accept all the attributes inside svg.
You should display error message instead of creating file

from svgtoandroid.

misakuo avatar misakuo commented on June 3, 2024

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.

igorwojda avatar igorwojda commented on June 3, 2024

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.

misakuo avatar misakuo commented on June 3, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.