-
Notifications
You must be signed in to change notification settings - Fork 545
Could not find class 'com.octo.android.robospice.persistence.ObjectPersister' #461
Comments
Hello. Could you please ask that kind of things on Stackoverflow? This isn't an issue of Robospice but of your project/build tools setup. There's no need to clog a section which is intended for different kind of things. |
Hi, |
Hello,
|
Well, lets say i've said that because i use Robospice in every single project i do which required REST communications, and haven't struggled with this error that much that only thing left to do is to open an issue on Github. That's one thing. A lot of people use it too by the way. Second thing is that you've posted two different errors already. That's right. Not one error but two errors. Which may indicate that there's definitely something going on. Third thing is that some time ago i've made a module for Robospice and was forced to understand some inner Robospice organization because of that. One of those things was tests. Tests which wouldn't have passed in case of some class definitions wasn't found. One more thing - which is based on my own experience completely and IS NOT to be TRUSTED because of that - is that every time NoClassDefFoundError occured to me meant someone has something messed up with build chain. Maybe ProGuard shrinking or renaming your classes. Check that. Also take into your sight that when i say "Robospice" i mean "Robospice 1.4.14". But please don't take my word as indisputable truth. I may be very wrong because i haven't tried every possible combinations of android build tools versions and gradle plugin versions. |
Hi,
After migrating my project from eclipse to android studio 2.2,I am getting this issue,any help to resolve this issue?
E/dalvikvm: Could not find class 'com.octo.android.robospice.persistence.ObjectPersister', referenced from method com.octo.android.robospice.persistence.CacheManager.addPersister
build.gradle is
The text was updated successfully, but these errors were encountered: