MPAndroidChart icon indicating copy to clipboard operation
MPAndroidChart copied to clipboard

Base Chart class error

Open FHellmann opened this issue 11 years ago • 4 comments

Every time I try to use your great library I get the same error. unbenannt For me it looks like the base class (Chart.class) of every Chart can not be found. I can not explain it to me. I imported the library .jar file as you discribed in your Readme but I receive the same error every way I try. I'm using Android Studio with the latest release version the same with gradle.

I would be very pleased if you could help me...

FHellmann avatar Dec 20 '14 19:12 FHellmann

Thats quite weird. I have never seen anyone having this kind of error.

Are you absolutely sure you imported the library correctly?

PhilJay avatar Dec 25 '14 09:12 PhilJay

can you post the full log, with the lines of code where error occurs. In my view, it is due to importing of library

Bishalsingh avatar Dec 25 '14 09:12 Bishalsingh

I added the library jar file to the app/libs folder. I've got no exception or stacktrace or something like that. In my code I can use all of your classes, but all the Chart.class Methods can not be resolved. (I'm using the LineChart) unbenannt

Due to the fact that the Chart.class can not be resolved, all your Charts can not be applied as a View...

FHellmann avatar Dec 25 '14 10:12 FHellmann

I don't know what the real problem was, but I set up the project again with android studio and now it's working. I think this issue comes from the beta version of android studio and all the upgrades after that to version 1.0.

FHellmann avatar Feb 07 '15 13:02 FHellmann