Free Support Forum - aspose.com

Aspose.Slide pdf conversion crashing on android 4.4


#1

Hi everyone,
I was trying Aspose.Slides for android via java for pdf conversion on android 4.4 but it is crashing with error

aspose slides java.lang.noclassdeffounderror: android.util.sizef

since SizeF was introduced in api level 21 it is crashing is there a way so that I can use this I would love to buy the product if my problem is solved any help on the same will be appreciated.


#2

@Digvijayrajat,

Can you please share source file along with sample application to reproduce issue. Also please share complete environment details with us so that we may help you out.


#3

Hi @Adnan.Ahmad thanks for replying, please find the sample application a source file in the following drive link you can install the app in an environment suggested below

Environment for testing

  1. android os 4.4 (KitKat API 19)

  2. ram could be 1 GB or as per availability as this issue is related to android version

How to use the sample app

  1. please download some ppt and pptx files in your phone
  2. Run sample app where you need to enter the path of the ppt file
  3. click the convert button

notes - source code is attached in the same zip.

Drive Link

sample code and app


#4

@Digvijayrajat,

I have observed the information shared and request you to please visit following documentation link for installation of Aspose.Slides for Android via Java on your end. The sample application works well and generate the output.

https://docs.aspose.com/display/slidesjava/Install+Aspose.Slides+for+Android+via+Java


#5

Hi @mudassir.fayyaz thanks for the quick response but are u sure that it works on android 4.4 (KitKat) and my objective is ppt to pdf conversion not creation of presentations.


#6

@Digvijayrajat,

The API is supported on Android platforms and the suggested steps may help you in setting up environment and configuring Jar file in your application.