Android Eclipse NoClassDefFoundError for external .jar files

前端 未结 7 1066
野趣味
野趣味 2020-11-27 06:46

I have come across a strange error. I have an Android project that uses external libraries, in particular:

  • android-support-v4.jar (for Fragment support in Andr
相关标签:
7条回答
  • 2020-11-27 07:29

    Also a warning to others who have updated to r17 with many dependencies. I had a another referenced project on my build path and it still did not work after following ALL the directions on this r17 issue on the internet.

    Found out after an hour that my referenced project used an older version of an external Jar than my main project did. When trying to compile the main project, Eclipse would give up due to this jar version difference and I never noticed the warning message in Console.

    Solution was to copy the newer version external jar file to the referenced project's libs directory.

    Wow - such a productivity killer.....

    0 讨论(0)
提交回复
热议问题