Aspose in android studrio

i use HelloWorldAspose project as a sample

include aspose-words-1.12-android-jdk16.jar
include aspose-words-1.12-libs-android-jdk16.apk , in assets folder

while compiling this proj in android studio gradle throws following error

Error:(33, 22) error: cannot access zzF4
class file for asposewobfuscated.zzF4 not found

Thanks


Hi Tarique,


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

Please let us know if you have any more queries.