My Oracle Support Banner

Downloading PDF Files from WebCenter Portal on Android App Using WebView Returns: Cannot display PDF (PDF name is of invalid format) (Doc ID 2740860.1)

Last updated on JANUARY 05, 2021

Applies to:

Oracle WebCenter Portal - Version to
Information in this document applies to any platform.


When attempting to download pdf files from WebCenter Portal on the Android App using WebView returns the below error:


Cannot display PDF (PDF name.pdf is of invalid format)


The issue can be reproduced at will with the following steps:

  1. Open WebCenter Portal page from Android App using WebView.
  2. Download a pdf file.
    Here you will see the error.
  3. Access a non WebCenter page from Android App using WebView.
    Download a pdf file via static link.

  4. You will see the PDF file downloads completely fine on Android App.





To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!

In this Document

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.