NoClassDefFoundError - Eclipse and Android

后端 未结 27 1371
夕颜
夕颜 2020-11-22 08:02

I\'m having a problem trying to run an Android app which, up until adding a second external library to its build path, was working fine. Since having added the scoreninja ja

27条回答
  •  萌比男神i
    2020-11-22 08:48

    By adding the external jar into your build path just adds the jar to your package, but it will not be available during runtime.

    In order for the jar to be available at runtime, you need to:

    • Put the jar under your assets folder
    • Include this copy of the jar in your build path
    • Go to the export tab on the same popup window
    • Check the box against the newly added jar

提交回复
热议问题