下载管理器是否正在使用ARC?

时间:2015-12-29 22:49:21

标签: android google-chrome-arc

我的应用程序依赖于DownloadManager来工作,并且我在尝试使其在ARC上运行时遇到了不好的时间。

我已启用带有元数据标记enableExternalDirectory的外部存储,应用程序在开始时要求我选择目录,但我排队的所有下载都会失败并显示文档转换为&ERROR_FILE_ERROR #34;你被搞砸了#34;。

logcat对我来说也不起作用。我启用了adb,我的adb-server连接到它,但它保持安静。我能够调试的唯一方法是使用:

plugin.shell('logcat -f /sdcard/logfile.txt');

更新 我在日志中间编写了这个致命错误:

F/DownloadManager(  212): Could not get ApplicationInfo for com.android.defconatiner
F/DownloadManager(  212): android.content.pm.PackageManager$NameNotFoundException: com.android.defcontainer
F/DownloadManager(  212):   at android.app.ApplicationPackageManager.getApplicationInfo(ApplicationPackageManager.java:281)
F/DownloadManager(  212):   at com.android.providers.downloads.DownloadProvider.onCreate(DownloadProvider.java:453)
F/DownloadManager(  212):   at android.content.ContentProvider.attachInfo(ContentProvider.java:1686)
F/DownloadManager(  212):   at android.content.ContentProvider.attachInfo(ContentProvider.java:1655)
F/DownloadManager(  212):   at android.app.ActivityThread.installProvider(ActivityThread.java:5251)
F/DownloadManager(  212):   at android.app.ActivityThread.access$3400(ActivityThread.java:153)
F/DownloadManager(  212):   at android.app.ActivityThread$ProviderInstaller.run(ActivityThread.java:4795)
F/DownloadManager(  212):   at android.os.Handler.handleCallback(Handler.java:739)
F/DownloadManager(  212):   at android.os.Handler.dispatchMessage(Handler.java:95)
F/DownloadManager(  212):   at android.os.Looper.loop(Looper.java:154)
F/DownloadManager(  212):   at android.os.HandlerThread.run(HandlerThread.java:61)

接下来是其中几个:

I/libposix_translation_static(  211): preopen: candidate: /data/data/com.android.providers.downloads/databases/downloads.db-journal
W/libposix_translation_static(  211): ASHMEM_SET_PROT_MASK: not implemented: fd=192, prot=3
W/libposix_translation_static(  211): ASHMEM_SET_PROT_MASK: not implemented: fd=192, prot=1
W/libposix_translation_static(  211): O_CLOEXEC is not supported

更新2: 显然,DownloadProvider存在问题。我将提交错误报告。

W/DownloadManager(  211): [4] Stop requested with status FILE_ERROR: fstatvfs failed: ENOSYS (Function not implemented)
D/DownloadManager(  211): [4] Finished with status FILE_ERROR

0 个答案:

没有答案