Crash by using "Send Encrypted Mail"of demo project

14 views
Skip to first unread message

Sargis Simonyan

unread,
Jun 13, 2017, 6:58:09 AM6/13/17
to DidiSoft Forum
Hi Peter,
I am testing sending of encrypted emails on android devices with supplied demo and getting this crash:

06-13 14:46:28.195: E/AndroidRuntime(10762): Caused by: java.lang.ClassNotFoundException: Didn't find class "javax.mail.Session" on path: DexPathList[[zip file "/data/app/com.didisoft.android-1/base.apk"],nativeLibraryDirectories=[/data/app/com.didisoft.android-1/lib/arm, /vendor/lib, /system/lib]]

I am using the last downloaded library 1.3.20 and the testing routine is simple. After starting I am using the "Send encrypted email option and filling the screen as it is shown in attached screenshot. Params of my server are hardcoded, though it is not important since the crash point is apparently elsewhere.

There are also other problems which I will report as other posts, but possibly they are bound with this one.

Thanks in advance for your attention!
device-2017-06-13-144614.png

DidiSoft Support

unread,
Jun 13, 2017, 7:55:32 AM6/13/17
to didisof...@googlegroups.com, Sargis Simonyan
Hi Sargis,

The exception is self explanatory:
Didn't find class "javax.mail.Session"

This class is located in mail.jar in [OpenPGP_Android_Production_1.3.zip]\Library\Mail

Did you included this JAR in your app?

Kind Regards
Peter Kalef
Technical Support
DidiSoft Inc | Toll free (USA and Canada): 866-253-7568 | International: +1-501-313-0397 | Fax: +1-501-313-0397 | Web: www.didisoft.com
On 13.06.2017 1:58 PM, Sargis Simonyan wrote:

Sargis Simonyan

unread,
Jun 13, 2017, 8:00:08 AM6/13/17
to DidiSoft Forum, sarg...@gmail.com, sup...@didisoft.com
Hi Peter,

yes sure, that is the matter that I wrote here :)

There are some problems in integration. I tried a lot with integration in android studio and there were also many conflicts. Though problems wasn't not strictly bound with your library. I am on integration of your modules in k-9 mail, so conflicts are between their code and your pgp module. I will work on them more and if some problems will be impossible to solve will open a new post. but in this case it seems to there is an apparent problem.
Reply all
Reply to author
Forward
0 new messages