Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic Crash in Android Nougat but not in Lollipop (Read 2146 times)
superiivan
YaBB Newbies
*
Offline


I Love MindFusion!

Posts: 3
Joined: Oct 19th, 2017
Crash in Android Nougat but not in Lollipop
Oct 19th, 2017 at 2:01am
Print Post  
Hi, how are you?

I need your help, i am using DroidDiagram, when i test my app in Lollipop it works all! But when i test in Nougat crashes.

I debugg it and crashes when i do  layout.arrange(diagrama).

I paste the code to detail more
protected void onCreate(Bundle savedInstanceState) {
         ------------
        diagramView = (DiagramView)findViewById(R.id.diag_view);
        diagram = diagramView.getDiagram();
        -----------
}
And later i do

        LayeredLayout layout = new LayeredLayout();
        layout.setLayerDistance(10);
        layout.setNodeDistance(25);
        layout.setStraightenLongLinks(true);
        layout.arrange(diagrama);

Thx a lot!!
  

captura2.png ( 95 KB | 197 Downloads )
captura2.png
Back to top
 
IP Logged
 
Slavcho
YaBB Moderator
*****
Offline


tech.support

Posts: 3152
Joined: Oct 19th, 2005
Re: Crash in Android Nougat but not in Lollipop
Reply #1 - Oct 19th, 2017 at 5:11am
Print Post  
Hi,

What exception does it show and what method is on top of exception's stack trace if you print it to console?

Regards,
Slavcho
Mindfusion
  
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint