I had a number of issues importing the javamail jars from Sun's
website (using Mac OS X 10.5). I eventually found that the jars at
maven repository didn't produce the dex conversion error. Try
giving
those a shot:

http://download.java.net/maven/1/javax.mail/jars/


Good luck,


-Will


PS: You may also need the activation.jar, which you can get from
maven
as well. As a heads up, due to the lack of dealing with the META-
INF
directories in jars (see previous thread), the mailcap entries will
not be available. This will cause errors when attempting
to .getContent().


PPS: If I remember correctly, activation.jar has dependencies on
classes in java.awt.datatransfer. Davanum Srinivas has a .zip with
stripped Apache harmony code to get around this problem.
http://davanum.wordpress.com/2007/12/22/android-send-email-via-gmail-...


On Jun 23, 10:40 am, mikas <[EMAIL PROTECTED]> wrote:
> Hi,
>
> I'm still stuck with a problem and I need some help.
> The thing is when I add jaf-1_1_1 andjavamail-1_4_1 libraries to an android 
> project,
> for example test, as soon as I add these two libraries
> test.apk is deleted from /bin folder, but it happens as well,
> that as soon as I remove these two libraries, test.apk
> is back in /bin folder and I can start the emulator with
> Hello World, Test.
>
> Any suggestion would be very much appreciated.
--~--~---------~--~----~------------~-------~--~----~
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
[EMAIL PROTECTED]
Announcing the new M5 SDK!
http://android-developers.blogspot.com/2008/02/android-sdk-m5-rc14-now-available.html
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to