如何解决在Android上通过Firefox打开PDF的问题? [英] How can I troubleshoot opening a PDF through Firefox on Android?

查看:256
本文介绍了如何解决在Android上通过Firefox打开PDF的问题?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我的网站上有一个pdf文件的链接。在Firefox或iOS上的内置pdf查看器中打开pdf时没有任何问题。

I have a link to a pdf file on my website. The pdf opens without any issues in the built-in pdf viewer on Firefox or iOS.

当我尝试通过单击Firefox中的链接来打开pdf时出现错误在Android上。单击链接后,Adobe Reader应用程序将打开并尝试下载pdf进行查看。然后我得到一个错误,并且pdf无法打开。 Adobe Reader内部的错误只是说

I get an error when I try to open the pdf by clicking the link in Firefox on Android. After clicking the link the Adobe Reader app opens and tries to download the pdf for viewing. Then I get an error and the pdf doesn't open. The error inside of Adobe Reader just says


错误。无法下载该文件。请将文件保存到
本地存储中,然后尝试打开它。

Error. The file could not be downloaded. Please save the file to your local storage and then try to open it.

如何解决此问题?我尝试在链接中使用绝对URL,从文件名中删除空格,但这些都不起作用。我还尝试使用其他程序创建pdf,以防问题出在pdf本身中,但这无济于事。我也尝试直接在浏览器URL中键入链接,然后发生同样的事情。

How can I troubleshoot this? I tried removing spaces from the file name, using absolute urls in the links, but none of that worked. I also tried creating a pdf using a different program, in case the issue was in the pdf itself, and that didn't help. I also tried typing in the link directly into the browser url and same thing happens.

在这一点上,我不知道如何在不进行某种调试的情况下进行故障排除信息。我在服务器上使用Apache。

At this point I don't know how to troubleshoot it without getting some kind of debug information. I'm using Apache on the server.

推荐答案

在过去的某个时间,您选择Adobe Reader为默认版本来下载PDF文档。不幸的是,AR不支持该选项。

At one time in the past, you have picked Adobe Reader as default when it comes to downloading PDF-Docs. Unfortunately, AR doesn't support that option.

要改回该地址,请在地址中输入 about:config 浏览器栏。搜索 browser.download.preferred.application / pdf 。在其下方应显示 Adob​​e Acrobat。重置此选项。

To change it back, Type about:config into the address bar of the browser. Search for browser.download.preferred.application/pdf. Underneath it should say "Adobe Acrobat". Reset this option.

下次下载PDF时,Firefox会询问您如何打开PDF。除了AR,选择其他任何东西。

Next time you download a PDF, Firefox will ask you how you want to open the PDF. Pick anything but AR.

这篇关于如何解决在Android上通过Firefox打开PDF的问题?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆