Need to see if your shared folder is taking up space on your dropbox 👨‍💻? Find out how to check here.

Forum Discussion

moftot's avatar
moftot
Explorer | Level 4
3 years ago

Latest Android app breaks viewing log files

Latest Android app 320.2.10 breaks viewing log files (files with .log extension).

 

It now shows the following error message instead of launching the default app set (in my case Log File Viewer) or asking the user which app should be used for viewing:

 

"Couldn't open <filename.log>

 

Please download an app that supports this kind of file or try opening it on a computer to make edits."

 

Please fix.

22 Replies

Replies have been turned off for this discussion
  • moftot's avatar
    moftot
    Explorer | Level 4
    3 years ago

    But I noticed this major change in behavior after upgrading to Dropbox 320, not after upgrading the OS so not sure how your explanation could apply.

     

    Also not sure how MIME type comes into play. As I understand it, the Dropbox API doesn't support setting MIME type per file, so how do you determine the MIME type by file extension, by guessing? I don't understand what you mean by log files with incorrect MIME type? It's a text file, hence not possible to store MIME type in the file itself.

     

    Here's what I see:

     

    Dropbox 324.1.2 Android 12

     

    1.1 Failure (should give me the opportunity to use Log Viewer or Dropbox Text Editor)

     

    .bak
    .cache
    .conf
    .deb
    .downloaded

     

    1.2 Success

     

    .ini
    .json
    .m3u (had to reselect which app, had already done this prior to 320.2.10, not sure why I had to do that again)
    .properties

     

    1.3 Partial Success (opens in Dropbox Text Editor, doesn't allow to use Log Viewer or another relevant app)

     

    .log
    .sh
    .txt
    .xml

     

    1.4 Inconsistent Behavior (opens in one viewer when "clicked", opens in another viewer via Open with..., yet doesn't allow selection of which app)

     

    .css
    .html

     

    2. Binary

    2.1 Failure (don't have viewers installed for these, so this is to be expected)

     

    .db
    .jar

     

    2.2 Success

     

    .ico
    .png
    .xlsx

  • rharter_dbx's avatar
    rharter_dbx
    Icon for Dropbox Engineer rankDropbox Engineer
    3 years ago

    The reason that you saw this after upgrading the Dropbox app is because we constantly have to upgrade the app to keep it up to date with new restrictions and policies put in place by the Android OS. So while you didn't upgrade your OS, the legacy way we were checking for apps that could open files was no longer supported on newer OS versions, so we had to update how we do things to ensure that it works for everyone.

     

    As I mentioned, I've started discussions for this internally to look into how we can try to make this work more like it used to (while still being compatible with new Android versions).

About View, download, and export

Node avatar for View, download, and export
Need support with viewing, downloading, and exporting files and folders from your Dropbox account? Find help from the Dropbox Community.

The Dropbox Community team is active from Monday to Friday. We try to respond to you as soon as we can, usually within 2 hours.

If you need more help you can view your support options (expected response time for an email or ticket is 24 hours), or contact us on X, Facebook or Instagram.

For more info on available support options for your Dropbox plan, see this article.

If you found the answer to your question in this Community thread, please 'like' the post to say thanks and to let us know it was useful!