NoClassDefFoundError - Eclipse and Android

后端 未结 27 1356
夕颜
夕颜 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条回答
  •  孤城傲影
    2020-11-22 08:32

    If you prefer to know which files the workaround is related to here's what I found. Simple change the .classpath file to

    
    
        
        
        
        
        
        
    
    

    Replace the .classpath file in all library projects and in main android project. The .classpath file is in the root folder of the eclipse project. Of cause don't forget to add your own classpath entries, should you have any (so compare with your current version of .classpath).

    I believe this is the same result as going through the eclipse menus as componavt-user explained above (Eclipse / Configure Build Path / Order and Export).

提交回复
热议问题