NoClassDefFoundError on external library project for Android

前端 未结 7 1612
孤独总比滥情好
孤独总比滥情好 2020-11-29 08:24

I use eclipse for Google Android development.

I\'ve created a library project ([x] Is Library in the Android-settings), which includes an external jar-f

相关标签:
7条回答
  • 2020-11-29 09:19

    Go to project properties -> build path-> libraies

    If you see your jar files like this

    snmp4j.jar - e:\software\jars
    

    Its may your problem

    Add libs folder in your project and copy jar file in that folder. Right click jar file and go build path -> add to build path. Then you can see your jar as

    snmp4j.jar  - project_name/libs 
    

    Its worked for me.

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