IllegalArgumentException: radius must be > 0

前端 未结 3 1601
既然无缘
既然无缘 2021-02-19 04:12

I\'m designing a bar graph and a pie chart in a view pager using AChartEngine library. When I scroll from bar graph to pie chart, application crashes. The crash report is as fol

3条回答
  •  盖世英雄少女心
    2021-02-19 04:58

    In my case i added android:gradientRadius="30dp".

    That dp at the end was trowing the same exception on some devices.

    Leave it android:gradientRadius="30" or use the @radu122 's answer

提交回复
热议问题