NoClassDefFondError in Android… but the Class is in one jar included in the Classpath

后端 未结 6 959
佛祖请我去吃肉
佛祖请我去吃肉 2020-12-31 03:19

I am developing an App in Android. It has to be able of take a photo, and to send that photo to a webpage. This is the code:

HttpClient httpclient = new Defa         


        
6条回答
  •  青春惊慌失措
    2020-12-31 03:58

    So weird, my app already had the files in "lib" and got this crash. I renamed it "libs" following idiottiger's response and it worked.

提交回复
热议问题