Follow these steps that may prevent you from this error:
1) Open the "Properties" of the "Achartengine" project (this can be opened from the right click on the project)
2) Choose a Java build path.
3) Select "Order and Export" and select the jarartar file. jar.
4) Then click OK
These steps solve my problem, so I hope you resolve your solution as well.
source share