Android: Local Storage - App crashes if using "custom locations" without installed ContentProvider-app

Created on 3 Aug 2017  路  6Comments  路  Source: cryptomator/android

Hi,

when I try to add a new "Local Store" Container the App crashes.

Is that already known?

I麓ve a Xperia Z5 compact with Custom ROM (Android 7.0)
(App Cryptomator v0.6.1 (968) started on android 7.0 / API24 using a E5823.)

confirmed bug

Most helpful comment

When I have time I could test it with different versions of the Google-App, thus "nano", "minimal", "full" and so on...

All 6 comments

Thanks for your feedback @BearTi !

What exactly did you do? Would be awesome if you send us the logfile...

When I press the "+" Button under "Local Storage" the app crashes.

I send you the LogFile with a reference to this post (#79) via E-Mail.

EDIT: When I choose a storage from the list above, it works fine...

Hmm the problem is android.content.ActivityNotFoundException: No Activity found to handle Intent { act=android.intent.action.OPEN_DOCUMENT_TREE }:
It seems as you don't have an ContentProvider-app on your system. You didn't install the Google-Apps, right?

With the 0.7.0 we will fix the app-crash and provide a message to install an ContentProvider-app.

No, I麓ve Google-Apps installed... but I think a "minimal" or "nano" version of it. Maybe that麓s the problem?

This topic is really bad documented in Android. We assumed, that Android brings an ContentProvider (DocumentProvider) out of the box, hopefully it's a problem of your Custom ROM or the "minimal"/"nano" version of the gapps. Maybe someone else can help here out?

Unfortunately I was unable to find an app, which brings a DocumentProvider with it. I dived through the code of all open source file managers I know, but did't find one which implements the DocumentProvider.

But as already mentioned: the only thing we can do for Cryptomator is to catch the exception/crash and display an message to install an app which implements an DocumentProvider 馃槥.

When I have time I could test it with different versions of the Google-App, thus "nano", "minimal", "full" and so on...

Was this page helpful?
0 / 5 - 0 ratings