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
In my case i added android:gradientRadius="30dp".
android:gradientRadius="30dp"
That dp at the end was trowing the same exception on some devices.
dp
Leave it android:gradientRadius="30" or use the @radu122 's answer
android:gradientRadius="30"