Android Eclipse NoClassDefFoundError for external .jar files

前端 未结 7 1118
野趣味
野趣味 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:19

    If you're using Eclipse with Maven IDE (m2e) go to "Java Build Path" then "Order and Export" and finally check the item "Maven Dependencies" and pull it down to the BOTTOM of the list. You should do the same with project references in the same workspace. Every time I setup the project in a new computer that happens.

提交回复
热议问题