3

in my Project, i had added the achartengine library.

I can compile the Application, but if I want to start the Activity, where I use this library, i get this error

     java.lang.NoClassDefFoundError: org.achartengine.model.XYMultipleSeriesDataset

I followed the solution in this thread: achartengine demo compiling, but runtime error but I can't fix it, because i use Android-Studio, not Eclipse and I don't know how i can deploy this solution to android-studio. Could anyone help? :(

Community
  • 1
  • 1
CMurlowski
  • 73
  • 4
  • Post the code of yours which raises this Exception. – Aleksander Lidtke Nov 10 '13 at 16:56
  • 4
    Okay i have the solution... here at this page: http://www.reddit.com/r/androiddev/comments/1gb6s2/android_studio_noclassdeffounderror_still_trying/ >Basically, open a command prompt (or terminal) and navigate to your project directory. Use the following command on Windows: **gradlew.bat clean** Then reload Android Studio and try again! – CMurlowski Nov 10 '13 at 17:27

1 Answers1

1

Maybe a bit late... Try to open a terminal, navigate to your projects location and type "gradlew.bat clean", that worked pretty well for me.

TobiasW
  • 861
  • 3
  • 13
  • 36