0
PdfDocument document = new PdfDocument();

Giving Exception in Android API 18 version 4.3, but it is working in higher version of android. Please give me suggestion to solve this.

Ébe Isaac
  • 11,563
  • 17
  • 64
  • 97
Srinivas Ch
  • 1,202
  • 2
  • 19
  • 34
  • can you post some more details like code and logcat – Nitesh Dec 10 '16 at 08:28
  • It is not creating PdfDocument object. it is throwing exception in the above mentioned. But it is working in higher version of android. – Srinivas Ch Dec 10 '16 at 08:37
  • get idea to solve this from SO http://stackoverflow.com/questions/34567503/java-lang-noclassdeffounderror-issue-when-using-android-support-design-navigatio – Vishal Senjaliya Dec 10 '16 at 09:46
  • 2
    PdfDocument class was added in API 19: http://stackoverflow.com/questions/38527965/back-porting-can-use-pdfdocument-api-19-in-jellybean-api-16 – EpicPandaForce Dec 10 '16 at 18:45

0 Answers0