I have created an app in which I have used achartengine
to construct the graph.
It was running ok, but today I saw an update for android SDK to r
I just had a similar issue with ADT version 20 in Eclipse.
The demo project source and project are meant to be used with an earlier version of the ADT plugin.
Starting in either ADT 19 or 20, ADT began automatically setting up all of the JAR files that you place in the libs/ folder (note libs/, not lib/) as "Android Dependencies", rather than "Reference Libraries" (which you get when you right-click on a jar file and "Add to build path...".
Because of this change, the project file included with the AChartEngine sample project is outdated.
Now, plug in your device, boot up your emulator, and run it!
Also, if you select the green "Run" button on the toolbar, and it throws an error similar to "Could not find a previous configuration" (something like that, though the wording was more cryptic),
Enjoy the charts!
Here is your solution, just follow the steps from How to fix the “NoClassDefFoundError” with ADT 17 and you will be able to make it working.
In ADT version 18: - Right click on project and go to "Build Path" -> "Configure Build Path". In tab "Order and Export" simply select all, but deselect only android.jar. Click OK and your project is ready to go.