I use currently Android 4.1.2 and Eclipse for development. The architecture of my applications is that I use my custom library which contains basic functionality. I do add this library to all my Android project in the libs folder and added it to the BuildPath of the projects.
The problem is that I was able to compile the project but when I was running the project I always got a NoClassDefFound Exception, because android was not able to find the classes in my jar.
After doing some research on the Internet I did find a suggestion by someone who was saying that it would be better to use Java 1.6 instead of Java 1.7. I switched to Java 1.6 and everything is working like a charme again.
Now I will continue developing ...
No comments:
Post a Comment