Closed paulagaitan97 closed 4 years ago
Which platform are you using? Which java version?
Platform : Android studio Java version: 1.8 JDK I also tried it with the default setting of android studio: JRE
This projects relies a lot on java.awt
classes which are not availavle on android.
So currently, it wont work on android.
However there are some svg rendering libraries for androud which could work.
I will have a look at it, but for the moment, android is not supported :(
Closing this issue, but see #148
This is my code
import java.io.File; import java.io.IOException; import guru.nidi.graphviz.attribute.Color; import guru.nidi.graphviz.attribute.Rank; import guru.nidi.graphviz.attribute.Style; import guru.nidi.graphviz.engine.Format; import guru.nidi.graphviz.engine.Graphviz; import guru.nidi.graphviz.model.Graph; import static guru.nidi.graphviz.attribute.Rank.RankDir.LEFT_TO_RIGHT; import static guru.nidi.graphviz.model.Factory.graph; import static guru.nidi.graphviz.model.Factory.node; import static guru.nidi.graphviz.model.Link.to; import static guru.nidi.graphviz.model.Factory.*;
public class Example {
}
The error that appears to me is the following: