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

Free Support Forum - aspose.com

Get IllegalAccessError while using Document.class

Hi, i got exception while using Document.class from Aspose-words-1.12-android-jdk16.jar

here the log

Caused by: java.lang.IllegalAccessError: Class ref in pre-verified class resolved to unexpected implementation
at com.aspose.words.FontInfoCollection.clear(Unknown Source)
at com.aspose.words.FontInfoCollection.(Unknown Source)
at com.aspose.words.DocumentBase.(Unknown Source)
at com.aspose.words.Document.(Unknown Source)
at com.aspose.words.Document.(Unknown Source)
at com.aspose.words.Document.(Unknown Source)

any member in here have same issue ?

i get this on log too

Class resolved by unexpected DEX: Lcom/aspose/words/FontInfoCollection;(0x426816b0):0x5fb1c000 ref [Lasposewobfuscated/zzJT;] Lasposewobfuscated/zzJT;(0x42e297f8):0x622b3000
W/dalvikvm﹕ (Lcom/aspose/words/FontInfoCollection; had used a different Lasposewobfuscated/zzJT; during pre-verification)
W/dalvikvm﹕ threadid=14: thread exiting with uncaught exception (group=0x42057c08)


Thanks for your inquiry. We divided the library into following two archives:

aspose-words-1.12-android-jdk15.jar: The first one includes public API and its auxiliary methods.
aspose-words-1.12-libs-android-jdk15.apk: The second one includes third party jars, basic classes and resources.

To include Aspose.Words for Android into the project you should place “aspose-words-1.12-android-jdk16.jar” in the folder “libs” of your project, and the archive “aspose-words-1.12-libs-android-jdk16.apk” into the folder “assets". After that you need to indicate in “AndroidManifest.xml” file that you are going to use AsposeWords application as the basic one. Please see the following markup:
android:theme="@style/AppTheme" >
I hope, this helps.

Best regards,