Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Crashing on Nexus 6P running Android 8 #115

Closed
SkynetIsACat opened this issue Oct 18, 2017 · 1 comment
Closed

Crashing on Nexus 6P running Android 8 #115

SkynetIsACat opened this issue Oct 18, 2017 · 1 comment

Comments

@SkynetIsACat
Copy link

SkynetIsACat commented Oct 18, 2017

Results in a fatal error when trying to open the activity:

` final Intent chooserIntent = new Intent(self, DirectoryChooserActivity.class);

            final DirectoryChooserConfig config = DirectoryChooserConfig.builder()
                    .newDirectoryName("")
                    .allowReadOnlyDirectory(true)
                    .allowNewDirectoryNameModification(true)
                    .build();

            chooserIntent.putExtra(DirectoryChooserActivity.EXTRA_CONFIG, config);

            // REQUEST_DIRECTORY is a constant integer to identify the request, e.g. 0
            startActivityForResult(chooserIntent, REQUEST_DIRECTORY);`

Results in:

java.lang.NoClassDefFoundError: Failed resolution of: Lcom/gu/option/Option;

-> at net.rdrei.android.dirchooser.DirectoryChooserFragment.<init>(DirectoryChooserFragment.java:61) at net.rdrei.android.dirchooser.DirectoryChooserFragment.newInstance(DirectoryChooserFragment.java:91) at net.rdrei.android.dirchooser.DirectoryChooserActivity.onCreate(DirectoryChooserActivity.java:38)

@passy
Copy link
Owner

passy commented Oct 18, 2017

dupe #86

@passy passy closed this as completed Oct 18, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants