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

Free Support Forum - aspose.com

Asposewords android Unable to execute dex: GC overhead limit exceeded

Hello , i have use asposewords for my android application , but i have a problem when debugging in my device, that error show message below :
“Unable to execute dex: GC overhead limit exceeded” , it so long process then result it.
please… how to resolve my problem?

Hi there,


Thanks for your inquiry. We have now divided the library into following two archives. For example:

  • 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-jdk15.jar” in the folder “libs” of your
project, and the archive “aspose-words-1.12-libs-android-jdk15.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:
<application
android:allowBackup=“true”
android:icon="@drawable/ic_launcher"
android:name=“com.aspose.words.AsposeWordsApplication”
android:label="@string/app_name"
android:theme="@style/AppTheme" >
<activity

Moreover, I suggest you please increase the heap size of Android device. Hope this helps you.