Android Eclipse NoClassDefFoundError for external .jar files

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

    You need to read this - Dealing with dependencies in Android projects.

    This link is also useful - ClassDefNotFoundError with ADT 17

    Basically, create a folder called libs and place all of your jar files inside. The recent update will automatically take care of the rest for you. You don't need to edit your path anymore.

提交回复
热议问题