You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I try to convert bootstrap icons svg to compose. For the Fill icons it works, but for the normal icon it gives me exception. I have not checked which icon exactly that will cause the issue. But i have tried to use Svg2Vector to check if any of this svg will cause any error in the process.
Then i try to use the drawable and change the type to VectorType.DRAWABLE, but it still shows the same error.
Any suggestion to trace which icon that may cause the issue?
Logcat
Exception in thread "main" java.io.EOFException: input contained no data
at org.xmlpull.mxp1.MXParser.fillBuf(MXParser.java:3003)
at org.xmlpull.mxp1.MXParser.more(MXParser.java:3046)
at org.xmlpull.mxp1.MXParser.parseProlog(MXParser.java:1410)
at org.xmlpull.mxp1.MXParser.nextImpl(MXParser.java:1395)
at org.xmlpull.mxp1.MXParser.next(MXParser.java:1093)
at androidx.compose.material.icons.generator.IconParserKt.seekToStartTag(IconParser.kt:136)
at androidx.compose.material.icons.generator.IconParserKt.access$seekToStartTag(IconParser.kt:1)
at androidx.compose.material.icons.generator.IconParser.parse(IconParser.kt:40)
at androidx.compose.material.icons.generator.IconWriter.generateTo(IconWriter.kt:58)
at br.com.devsrsouza.svg2compose.Svg2Compose$parse$3.invoke(Svg2Compose.kt:92)
at br.com.devsrsouza.svg2compose.Svg2Compose$parse$3.invoke(Svg2Compose.kt:13)
at kotlin.io.FileTreeWalk$FileTreeWalkIterator$TopDownDirectoryState.step(FileTreeWalk.kt:168)
at kotlin.io.FileTreeWalk$FileTreeWalkIterator.gotoNext(FileTreeWalk.kt:98)
at kotlin.io.FileTreeWalk$FileTreeWalkIterator.computeNext(FileTreeWalk.kt:80)
at kotlin.collections.AbstractIterator.tryToComputeNext(AbstractIterator.kt:42)
at kotlin.collections.AbstractIterator.hasNext(AbstractIterator.kt:29)
at kotlin.sequences.SequencesKt___SequencesKt.toCollection(_Sequences.kt:742)
at kotlin.sequences.SequencesKt___SequencesKt.toMutableList(_Sequences.kt:772)
at kotlin.sequences.SequencesKt___SequencesKt.toList(_Sequences.kt:763)
at br.com.devsrsouza.svg2compose.Svg2Compose.parse(Svg2Compose.kt:138)
at br.com.devsrsouza.svg2compose.Svg2Compose.parse$default(Svg2Compose.kt:30)
at br.com.devsrsouza.svg2compose.MainKt.main(Main.kt:9)
at br.com.devsrsouza.svg2compose.MainKt.main(Main.kt)
Process finished with exit code 1
The text was updated successfully, but these errors were encountered:
Issue
Logcat
The text was updated successfully, but these errors were encountered: