Can you please explain step by step how you have overcome that problem because I tried everything and it is not working. Can post printscreen of your project and show me how you have organized your photos, please
W dniu wtorek, 10 kwietnia 2012 13:49:38 UTC+1 użytkownik DennisG napisał:
Hi,I used to use org.apache.http.entity.mime.content.FileBody with org.apache.http.entity. mime.MultipartEntity sending files to server before. Suddenly I got a problem when upgrated to Android SDK ver 17th. Program is still compiled and started, but when it tries to instantiate org.apache.http. entity.mime.content.FileBody class it raises the following exception: 04-10 11:35:43.385: E/dalvikvm(457): Could not find class 'org.apache.http.entity.mime.content.FileBody', referenced from method com.leadertask.todo.android. service.LTSyncHandler$ UploadSyncFileAsync. doInBackground 04-10 11:35:43.385: W/dalvikvm(457): VFY: unable to resolve new-instance 818 (Lorg/apache/http/entity/mime/content/FileBody;) in Lcom/leadertask/todo/android/ service/LTSyncHandler$ UploadSyncFileAsync; I tried different versions of httpmimeXXX.jar but problem persists. Funny thing is that org.apache.http.entity.mime.content.StringBody and other classes from this library work fine. I guess that there is some conflict. When compiled on older version of Android SDK (ver 16) - everythihg works smoothly. So now I keeping old version of SDK on my backup laptop to compile this project.Could enyone to explain me please how can I solve this annoying problem?Regards, Dennis.
W dniu wtorek, 10 kwietnia 2012 13:49:38 UTC+1 użytkownik DennisG napisał:
Hi,I used to use org.apache.http.entity.mime.content.FileBody with org.apache.http.entity. mime.MultipartEntity sending files to server before. Suddenly I got a problem when upgrated to Android SDK ver 17th. Program is still compiled and started, but when it tries to instantiate org.apache.http. entity.mime.content.FileBody class it raises the following exception: 04-10 11:35:43.385: E/dalvikvm(457): Could not find class 'org.apache.http.entity.mime.content.FileBody', referenced from method com.leadertask.todo.android. service.LTSyncHandler$ UploadSyncFileAsync. doInBackground 04-10 11:35:43.385: W/dalvikvm(457): VFY: unable to resolve new-instance 818 (Lorg/apache/http/entity/mime/content/FileBody;) in Lcom/leadertask/todo/android/ service/LTSyncHandler$ UploadSyncFileAsync; I tried different versions of httpmimeXXX.jar but problem persists. Funny thing is that org.apache.http.entity.mime.content.StringBody and other classes from this library work fine. I guess that there is some conflict. When compiled on older version of Android SDK (ver 16) - everythihg works smoothly. So now I keeping old version of SDK on my backup laptop to compile this project.Could enyone to explain me please how can I solve this annoying problem?Regards, Dennis.
W dniu wtorek, 10 kwietnia 2012 13:49:38 UTC+1 użytkownik DennisG napisał:
Hi,I used to use org.apache.http.entity.mime.content.FileBody with org.apache.http.entity. mime.MultipartEntity sending files to server before. Suddenly I got a problem when upgrated to Android SDK ver 17th. Program is still compiled and started, but when it tries to instantiate org.apache.http. entity.mime.content.FileBody class it raises the following exception: 04-10 11:35:43.385: E/dalvikvm(457): Could not find class 'org.apache.http.entity.mime.content.FileBody', referenced from method com.leadertask.todo.android. service.LTSyncHandler$ UploadSyncFileAsync. doInBackground 04-10 11:35:43.385: W/dalvikvm(457): VFY: unable to resolve new-instance 818 (Lorg/apache/http/entity/mime/content/FileBody;) in Lcom/leadertask/todo/android/ service/LTSyncHandler$ UploadSyncFileAsync; I tried different versions of httpmimeXXX.jar but problem persists. Funny thing is that org.apache.http.entity.mime.content.StringBody and other classes from this library work fine. I guess that there is some conflict. When compiled on older version of Android SDK (ver 16) - everythihg works smoothly. So now I keeping old version of SDK on my backup laptop to compile this project.Could enyone to explain me please how can I solve this annoying problem?Regards, Dennis.
W dniu wtorek, 10 kwietnia 2012 13:49:38 UTC+1 użytkownik DennisG napisał:
--Hi,I used to use org.apache.http.entity.mime.content.FileBody with org.apache.http.entity. mime.MultipartEntity sending files to server before. Suddenly I got a problem when upgrated to Android SDK ver 17th. Program is still compiled and started, but when it tries to instantiate org.apache.http. entity.mime.content.FileBody class it raises the following exception: 04-10 11:35:43.385: E/dalvikvm(457): Could not find class 'org.apache.http.entity.mime.content.FileBody', referenced from method com.leadertask.todo.android. service.LTSyncHandler$ UploadSyncFileAsync. doInBackground 04-10 11:35:43.385: W/dalvikvm(457): VFY: unable to resolve new-instance 818 (Lorg/apache/http/entity/mime/content/FileBody;) in Lcom/leadertask/todo/android/ service/LTSyncHandler$ UploadSyncFileAsync; I tried different versions of httpmimeXXX.jar but problem persists. Funny thing is that org.apache.http.entity.mime.content.StringBody and other classes from this library work fine. I guess that there is some conflict. When compiled on older version of Android SDK (ver 16) - everythihg works smoothly. So now I keeping old version of SDK on my backup laptop to compile this project.Could enyone to explain me please how can I solve this annoying problem?Regards, Dennis.
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
No comments:
Post a Comment