We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

"Unable to execute dex" - Android

Hi,
I using Aspose.Cells for Android 5.0.0, Eclipse- Android and adt-bundle-windows-x86_64-20131030, and works fine. I changed to the version 8.1.0. but I get an error when trying to compile it:

[2014-06-16 11:49:20 - Dex Loader] Unable to execute dex: method ID not in [0, 0xffff]: 65536
[2014-06-16 11:49:20 - ViewPager] Conversion to Dalvik format failed: Unable to execute dex: method ID not in [0, 0xffff]: 65536




Can you please check. Thanks,

Eliana

Hi,


I have tested your scenario/ case using our latest version v8.1.0 in a simple Android project using ADT v4.2.2, it works absolutely fine here. I can build the project without any issue at all. I suspect the issue might not be linked with Aspose.Cells for Android, please try seeking some online help regarding your issue, e.g
http://stackoverflow.com/questions/16111048/error-unable-to-execute-dex
http://stackoverflow.com/questions/7870265/unable-to-execute-dex-multiple-dex-files-define-lcom-myapp-rarray
http://stackoverflow.com/questions/15209831/unable-to-execute-dex-method-id-not-in-0-0xffff-65536

etc.

Thank you.

Hi,
As
my project has many libraries, there was a conflict between some of these and Aspose libraries. After trying many options, I found that the only way that worked was unchecking bcprov-jdk15-146.jar
in the Order and Export tab inside the Java Build Path. Right now it works but not if it affects some of the library functions.

Thank you for your help.

Regards,
Eliana

Hi,


And for the file “bcprov-jdk15-146.jar” you excluded in the references, it is only used for encrypting/decrypting MS Excel files, so you may safely exclude the file (if you are not using AES MS Excel 2010 encryption feature in your project) and it will not hurt any functionality or feature at all.

Thank you.