With Inkscape application, I'm trying to create my own custom icons in SVG and then import them into Android Studio. When importing to Android Studio I get the following error message ERROR@ line 29 <defs> is not supported
WARNING@ line 51 We don't scale the stroke width!
Can you help me with this error or do you know of some tutorial where to teach to create SVG icons to import into Android Studio?
Code generated by Android Studio after importing an SVG testing icon:
<vector xmlns:android="http://schemas.android.com/apk/res/android"
android:width="24dp"
android:height="24dp"
android:viewportWidth="24.0"
android:viewportHeight="24.0">
<path
android:pathData="M12,12m-11.016,0a11.016,11.016 0,1 1,22.032 0a11.016,11.016 0,1 1,-22.032 0"
android:strokeLineCap="butt"
android:strokeColor="#00000000"
android:fillColor="#ff0000"
android:strokeWidth="1"
android:strokeLineJoin="miter"
android:strokeAlpha="1"/>