passy / android-directorychooser Goto Github PK
View Code? Open in Web Editor NEWA directory chooser library for Android.
License: Apache License 2.0
A directory chooser library for Android.
License: Apache License 2.0
Since this library is used by a lot of projects, a material design "new folder" button would be great
I am using the dirchooser in Fragment mode and every so often I get crash reports originating form the IllegalArgumentException "You must provide EXTRA_CONFIG when starting the DirectoryChooserActivity". That exception is only thrown in the Activity version and I cannot for the life of me figure out how that gets involved in he process. The crash reports do tend to come from devices with tiny screens like the Defy Mini XT320 on older Android versions, but I am stumped how to solve this.
My calling code looks like this:
public void setDownloadFolder(@SuppressWarnings("UnusedParameters") @Nullable View view){
if(!Globals.PERMISSION_STORAGE){
// this just makes sure the permission is requested and this method
// called again with the same parameters if granted
requestStoragePermissions(this, "setDownloadFolder", new Object[]{null});
return;
}
final DirectoryChooserConfig config = DirectoryChooserConfig.builder()
.newDirectoryName("EBooks")
.initialDirectory(settings.getString(Globals.DOWNLOAD_DIR,
Environment.getExternalStoragePublicDirectory(Environment.DIRECTORY_DOWNLOADS).getPath()))
.allowNewDirectoryNameModification(true)
.allowReadOnlyDirectory(false)
.build();
mDialog = DirectoryChooserFragment.newInstance(config);
mDialog.show(getFragmentManager(), null);
}
EDIT: I am using version 3.2 of the library
There are a lot of outdated packages. Let's bring it up do date, with the exception of the support lib, though, as it seems to have some weirdnesses in 21+.
I'll never learn...
Maybe I'm looking in the wrong place but the latest releases I see in maven and sonatype are 1.0 and 1.0 respectively. Are there no 2.x releases in there?
https://search.maven.org/#browse%7C-1536905800
https://oss.sonatype.org/#nexus-search;quick~net.rdrei.android.dirchooser
Warning:net.rdrei.android.dirchooser.DirectoryChooserFragment$10: can't find superclass or interface com.gu.option.UnitFunction
Warning:net.rdrei.android.dirchooser.DirectoryChooserFragment$11: can't find superclass or interface com.gu.option.UnitFunction
Warning:net.rdrei.android.dirchooser.DirectoryChooserFragment$2$1: can't find superclass or interface com.gu.option.UnitFunction
Warning:net.rdrei.android.dirchooser.DirectoryChooserFragment: can't find referenced class com.gu.option.Option
Warning:net.rdrei.android.dirchooser.DirectoryChooserFragment$10: can't find referenced class com.gu.option.UnitFunction
Warning:net.rdrei.android.dirchooser.DirectoryChooserFragment$11: can't find referenced class com.gu.option.UnitFunction
Warning:net.rdrei.android.dirchooser.DirectoryChooserFragment$2: can't find referenced class com.gu.option.Option
Warning:net.rdrei.android.dirchooser.DirectoryChooserFragment$2$1: can't find referenced class com.gu.option.UnitFunction
Warning:there were 20 unresolved references to classes or interfaces.
You may need to add missing library jars or update their versions.
If your code works fine without the missing classes, you can suppress
the warnings with '-dontwarn' options.
(http://proguard.sourceforge.net/manual/troubleshooting.html#unresolvedclass)
:app:proguardDebug FAILED
Error:Execution failed for task ':app:proguardDebug'.
java.io.IOException: Please correct the above warnings first.
http://crashes.to/s/98c7b844116
java.lang.IllegalStateException: Fragment already added: DirectoryFragment{4280c6d8 #3}
at android.support.v4.app.FragmentManagerImpl.addFragment(FragmentManager.java:1175)
at android.support.v4.app.BackStackRecord.run(BackStackRecord.java:616)
at android.support.v4.app.FragmentManagerImpl.execPendingActions(FragmentManager.java:1467)
at android.support.v4.app.FragmentManagerImpl$1.run(FragmentManager.java:440)
at android.os.Handler.handleCallback(Handler.java:615)
at android.os.Handler.dispatchMessage(Handler.java:92)
at android.os.Looper.loop(Looper.java:153)
at android.app.ActivityThread.main(ActivityThread.java:5000)
at java.lang.reflect.Method.invokeNative(Method.java)
at java.lang.reflect.Method.invoke(Method.java:511)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:821)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:584)
at dalvik.system.NativeStart.main(NativeStart.java)
Are they still using it? Anyone missing? Probably remove link to SCDL.
When I add the compile statement for pre-v11 to Gradle, I get the above error. Am I doing something wrong?
When the DirectoryChooserActivity is used, the +_button to add a new directory is not shown. But the activity requires the EXTRA_NEW_DIR_NAME intent extra to be set, otherwise it results in exceptions. I think the code responsible for this might be the following from DirectoryChooserFragment:202-204:
if (!getShowsDialog()) {
mBtnCreateFolder.setVisibility(View.GONE);
}
I.e. if the fragment is not shown as a dialog, the create folder button is hidden.
Am I missing something, or is there another way to create the folder using activity or non-dialog fragment?
The build with gradle in Android studio fails for me with the following error message:
Error:Failed to resolve: com.gu:option:1.3
It looks like the corresponding page in the maven repository is offline: http://mvnrepository.com/artifact/com.gu/option
This is what my build.gradle looks like:
repositories {
mavenCentral()
jcenter()
maven {
url "https://jitpack.io"
}
}
dependencies {
[...]
compile 'com.github.passy:Android-DirectoryChooser:v3.1'
}
If you use this library you get an error that the app theme is already defined (in my own project). To fix this, you can for example add tools:replace="android:icon, android:label, android:theme, android:name"
in your application tag in the manifest. However, this causes instability with other libraries such as com.daimajia.slider:library:1.1.5
.
Giving the error
Caused by: android.view.InflateException: Binary XML file line #83: Error inflating class com.daimajia.slider.library.SliderLayout
Is there a way to make them all work happily together?
Plugin with id 'com.neenbedankt.android-apt' not found.
How to resolve this issue? Thanks for advance!
Delete background attr , please use style="?android:attr/borderlessButtonStyle"
java.lang.NullPointerException
at net.rdrei.android.dirchooser.DirectoryChooserFragment.onSaveInstanceState(DirectoryChooserFragment.java:103)
at android.support.v4.app.Fragment.performSaveInstanceState(Fragment.java:1647)
at android.support.v4.app.FragmentManagerImpl.saveFragmentBasicState(FragmentManager.java:1610)
at android.support.v4.app.FragmentManagerImpl.saveAllState(FragmentManager.java:1678)
at android.support.v4.app.FragmentActivity.onSaveInstanceState(FragmentActivity.java:546)
at android.app.Activity.performSaveInstanceState(Activity.java:1157)
at android.app.Instrumentation.callActivityOnSaveInstanceState(Instrumentation.java:1287)
at android.app.ActivityThread.performStopActivityInner(ActivityThread.java:3211)
at android.app.ActivityThread.handleStopActivity(ActivityThread.java:3269)
at android.app.ActivityThread.access$900(ActivityThread.java:139)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1279)
at android.os.Handler.dispatchMessage(Handler.java:99)
at android.os.Looper.loop(Looper.java:156)
at android.app.ActivityThread.main(ActivityThread.java:4977)
at java.lang.reflect.Method.invokeNative(Method.java)
at java.lang.reflect.Method.invoke(Method.java:511)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:784)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:551)
at dalvik.system.NativeStart.main(NativeStart.java)
Do I have to include the full Apache License in my finale apk? or can I make a activity where it has the Apache License? Can I just include the short version thats in the readme?
I use your library. If possible add me to the list used. https://play.google.com/store/apps/details?id=com.CallVoiceRecorderFree
Since I personally don't support Android < 4.0 in my projects anymore, the recent refactor relies on "native" Fragments and the ActionBar. However, it should be fairly straightforward to use the support library and ActionBarCompat.
If someone wants to pick this up, feel free to!
Hi, I'm pretty new at Android developing (and Java for that matter) but i'm using you directory chooser in my app and I would like to modify the behaviour of the directory chooser so that
a.- Doesn't show the hidden files (starting with . (dot)) and;
b.- Doesn't show the add folder option.
Is there any way to do this without modifying the library source code (by overriding methods or something similar)?
Thanks in advance!
I am using dialog fragment and when i am using HTC Desire series phone then it shows me white font on white background in Dialog fragment.
I am seeing hundreds of lines of warnings and errors with proguard. I didnt see this with version 2.1
:
Warning: com.google.auto.value.processor.EclipseHack: can't find referenced class javax.tools.Diagnostic$Kind
Warning: com.google.auto.value.processor.EclipseHack: can't find referenced class javax.tools.Diagnostic
Warning: com.google.auto.value.processor.EclipseHack: can't find referenced class javax.lang.model.element.TypeElement
Warning: com.google.auto.value.processor.EclipseHack: can't find referenced class javax.annotation.processing.ProcessingEnvironment
Warning: com.google.auto.value.processor.EclipseHack: can't find referenced class javax.annotation.processing.ProcessingEnvironment
Warning: com.google.auto.value.processor.EclipseHack: can't find referenced class javax.tools.Diagnostic$Kind
Warning: com.google.auto.value.processor.EclipseHack: can't find referenced class javax.annotation.processing.Messager
Warning: com.google.auto.value.processor.EclipseHack: can't find referenced class javax.annotation.processing.Messager
Warning: com.google.auto.value.processor.EclipseHack: can't find referenced class javax.lang.model.element.Element
Warning: com.google.auto.value.processor.EclipseHack: can't find referenced class javax.annotation.processing.ProcessingEnvironment
Warning: com.google.auto.value.processor.EclipseHack: can't find referenced class javax.annotation.processing.ProcessingEnvironment
Warning: com.google.auto.value.processor.EclipseHack: can't find referenced class javax.annotation.processing.ProcessingEnvironment
Warning: com.google.auto.value.processor.EclipseHack: can't find referenced class javax.lang.model.element.TypeElement
Warning: com.google.auto.value.processor.EclipseHack: can't find referenced class javax.lang.model.element.TypeElement
Warning: com.google.auto.value.processor.EclipseHack: can't find referenced class javax.lang.model.element.TypeElement
Warning: com.google.auto.value.processor.EclipseHack: can't find referenced class javax.lang.model.element.TypeElement
Warning: com.google.auto.value.processor.EclipseHack: can't find referenced class javax.lang.model.element.TypeElement
Warning: com.google.auto.value.processor.EclipseHack: can't find referenced class javax.lang.model.element.TypeElement
Warning: com.google.auto.value.processor.EclipseHack$SourcePropertyOrderer: can't find referenced class javax.lang.model.element.TypeElement
Warning: com.google.auto.value.processor.EclipseHack$SourcePropertyOrderer: can't find referenced class javax.lang.model.element.TypeElement
Warning: com.google.auto.value.processor.EclipseHack$SourcePropertyOrderer: can't find referenced class javax.lang.model.element.TypeElement
Warning: com.google.auto.value.processor.EclipseHack$SourcePropertyOrderer: can't find referenced class javax.lang.model.element.TypeElement
Warning: com.google.auto.value.processor.EclipseHack$SourcePropertyOrderer: can't find referenced class javax.lang.model.element.TypeElement
Warning: com.google.auto.value.processor.EclipseHack$SourcePropertyOrderer: can't find referenced class javax.lang.model.element.TypeElement
Warning: com.google.auto.value.processor.ErrorReporter: can't find referenced class javax.tools.Diagnostic$Kind
Warning: com.google.auto.value.processor.ErrorReporter: can't find referenced class javax.tools.Diagnostic
Warning: com.google.auto.value.processor.ErrorReporter: can't find referenced class javax.annotation.processing.ProcessingEnvironment
Warning: com.google.auto.value.processor.ErrorReporter: can't find referenced class javax.annotation.processing.ProcessingEnvironment
Warning: com.google.auto.value.processor.ErrorReporter: can't find referenced class javax.tools.Diagnostic$Kind
Warning: com.google.auto.value.processor.ErrorReporter: can't find referenced class javax.annotation.processing.Messager
Warning: com.google.auto.value.processor.ErrorReporter: can't find referenced class javax.annotation.processing.Messager
Hi @passy,
compile 'net.rdrei.android.dirchooser:library:3.1@aar' not working:
Error:(52, 13) Failed to resolve: net.rdrei.android.dirchooser:library:3.1
Show in File
Show in Project Structure dialog
compile 'net.rdrei.android.dirchooser:library:2.1'
still works.
Could you please fix it, thanks!
I need the user to just select an existing folder, not create a new one. There doesn't seem to be an option for this, but please correct me if I'm wrong.
Thanks!
This happens when pressing the button with the Intent.
final Intent chooserIntent = new Intent(context, DirectoryChooserActivity.class);
final DirectoryChooserConfig chooserConfig = DirectoryChooserConfig.builder()
.newDirectoryName("Dir")
.allowReadOnlyDirectory(false)
.allowNewDirectoryNameModification(true)
.build();
chooserIntent.putExtra(DirectoryChooserActivity.EXTRA_CONFIG, chooserConfig);
startActivityForResult(chooserIntent, REQUEST_DIRECTORY);
Logcat:
08-18 17:43:11.354 27433-27433/com.javiersantos.myapp E/AndroidRuntime﹕ FATAL EXCEPTION: main
Process: com.javiersantos.myapp, PID: 27433
java.lang.NoClassDefFoundError: Failed resolution of: Lcom/gu/option/Option;
at net.rdrei.android.dirchooser.DirectoryChooserFragment.<init>(DirectoryChooserFragment.java:60)
at net.rdrei.android.dirchooser.DirectoryChooserFragment.newInstance(DirectoryChooserFragment.java:90)
at net.rdrei.android.dirchooser.DirectoryChooserActivity.onCreate(DirectoryChooserActivity.java:38)
at android.app.Activity.performCreate(Activity.java:5990)
at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1106)
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2309)
at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2418)
at android.app.ActivityThread.access$900(ActivityThread.java:154)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1321)
at android.os.Handler.dispatchMessage(Handler.java:102)
at android.os.Looper.loop(Looper.java:135)
at android.app.ActivityThread.main(ActivityThread.java:5289)
at java.lang.reflect.Method.invoke(Native Method)
at java.lang.reflect.Method.invoke(Method.java:372)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:904)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:699)
Caused by: java.lang.ClassNotFoundException: Didn't find class "com.gu.option.Option" on path: DexPathList[[zip file "/data/app/com.javiersantos.myapp-2/base.apk"],nativeLibraryDirectories=[/vendor/lib, /system/lib]]
at dalvik.system.BaseDexClassLoader.findClass(BaseDexClassLoader.java:56)
at java.lang.ClassLoader.loadClass(ClassLoader.java:511)
at java.lang.ClassLoader.loadClass(ClassLoader.java:469)
at net.rdrei.android.dirchooser.DirectoryChooserFragment.<init>(DirectoryChooserFragment.java:60)
at net.rdrei.android.dirchooser.DirectoryChooserFragment.newInstance(DirectoryChooserFragment.java:90)
at net.rdrei.android.dirchooser.DirectoryChooserActivity.onCreate(DirectoryChooserActivity.java:38)
at android.app.Activity.performCreate(Activity.java:5990)
at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1106)
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2309)
at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2418)
at android.app.ActivityThread.access$900(ActivityThread.java:154)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1321)
at android.os.Handler.dispatchMessage(Handler.java:102)
at android.os.Looper.loop(Looper.java:135)
at android.app.ActivityThread.main(ActivityThread.java:5289)
at java.lang.reflect.Method.invoke(Native Method)
at java.lang.reflect.Method.invoke(Method.java:372)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:904)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:699)
Suppressed: java.lang.ClassNotFoundException: com.gu.option.Option
at java.lang.Class.classForName(Native Method)
at java.lang.BootClassLoader.findClass(ClassLoader.java:781)
at java.lang.BootClassLoader.loadClass(ClassLoader.java:841)
at java.lang.ClassLoader.loadClass(ClassLoader.java:504)
... 17 more
Caused by: java.lang.NoClassDefFoundError: Class not found using the boot class loader; no stack available
Hi,
I want to use pre-v11 version of this lib.
I have a problem with my gradle sync:
Error:Artifact 'library.aar (net.rdrei.android.dirchooser:library:1.0-pre-v11)' not found.
Searched in the following locations:
https://jcenter.bintray.com/net/rdrei/android/dirchooser/library/1.0-pre-v11/library-1.0-pre-v11.aar
When I put gradle link to normal version (11+) it works fine.
"Enhancement" : Directory chooser dialog (DirectoryChooserFragment) is very less while using it in 'landscape' mode.
The README.md is the same for the pre-v7 branch and says it's the version that only supports v11+ and has a link for the pre-v7 branch (itself).
Based off #86, since I can't use @aar
, I am using compile 'net.rdrei.android.dirchooser:library:3.2'
without the @aar
. I get the following error, see guardian/Option#2:
$ gradle runDebug
Starting a new Gradle Daemon for this build (subsequent builds will be faster).
Configuration on demand is an incubating feature.
FAILURE: Build failed with an exception.
* What went wrong:
A problem occurred configuring root project '<>'.
> Could not resolve all dependencies for configuration ':_debugCompile'.
> Could not find com.gu:option:1.3.
Searched in the following locations:
https://plugins.gradle.org/m2/com/gu/option/1.3/option-1.3.pom
https://plugins.gradle.org/m2/com/gu/option/1.3/option-1.3.jar
https://jitpack.io/com/gu/option/1.3/option-1.3.pom
https://jitpack.io/com/gu/option/1.3/option-1.3.jar
file:/<>/.m2/repository/com/gu/option/1.3/option-1.3.pom
file:/<>/.m2/repository/com/gu/option/1.3/option-1.3.jar
file:/<>/android-sdk/extras/android/m2repository/com/gu/option/1.3/option-1.3.pom
file:/<>/android-sdk/extras/android/m2repository/com/gu/option/1.3/option-1.3.jar
file:/<>/android-sdk/extras/google/m2repository/com/gu/option/1.3/option-1.3.pom
file:/<>/android-sdk/extras/google/m2repository/com/gu/option/1.3/option-1.3.jar
Required by:
:<>:unspecified > net.rdrei.android.dirchooser:library:3.2
* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.
BUILD FAILED
Total time: 8.188 secs
I am forced to add maven { url 'http://guardian.github.com/maven/repo-releases' }
in repositories
.
Hi,
I just made a github account to report this issue. It can be easily reproduced.
I guess I'll have to host them myself.
Hey, it'd be nice to have the activity receive a string extra in the intent to indicate what directory to show initially (instead of Environment.getExternalStorageDirectory())
I was thinking something like this:
String initialDirectoryPath = getIntent().getStringExtra(EXTRA_INITIAL_DIRECTORY);
File initialDir = (initialDirectoryPath != null && isValidFile(new File(initialDirectoryPath))) ? new File(initialDirectoryPath) : Environment.getExternalStorageDirectory();
changeDirectory(initialDir);
When using compile 'net.rdrei.android.dirchooser:library:3.2@aar', remove the theme in the application manifest. Only use theme for the activity.
:processDebugManifest
/<>/AndroidManifest.xml:21:9-40 Error:
Attribute application@theme value=(@style/AppTheme) from AndroidManifest.xml:21:9-40
is also present at [net.rdrei.android.dirchooser:library:3.2] AndroidManifest.xml:9:18-62 value=(@style/DirectoryChooserTheme).
Suggestion: add 'tools:replace="android:theme"' to <application> element at AndroidManifest.xml:18:5-65:19 to override.
See http://g.co/androidstudio/manifest-merger for more information about the manifest merger.
:processDebugManifest FAILED
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':processDebugManifest'.
> Manifest merger failed : Attribute application@theme value=(@style/AppTheme) from AndroidManifest.xml:21:9-40
is also present at [net.rdrei.android.dirchooser:library:3.2] AndroidManifest.xml:9:18-62 value=(@style/DirectoryChooserTheme).
Suggestion: add 'tools:replace="android:theme"' to <application> element at AndroidManifest.xml:18:5-65:19 to override.
* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.
BUILD FAILED
Total time: 0.8 secs
Hello,
I tried including this library as a Maven dependency but I get a missing artifact error. Both for 1.0-pre-v11 and 2.0.
I'm using the pom.xml snippets provided on the project front page.
Any ideas?
Do I need to add a specific repository perhaps?
This issue exists on my Moto X Play running Android 6.0, specifically in the Snapprefs xposed module (http://forum.xda-developers.com/xposed/modules/app-snapprefs-ultimate-snapchat-utility-t2947254).
Clicking the "up" button while at the internal storage root directory does not advance any further up. I was attempting to access a folder on the SD card. Other apps have no issue reading, writing, or accessing the SD card, so I doubt the problem relates to read/write permissions.
The developer (MaaarZ) said he cannot fix it as the library isn't written by him and suggested I ask you.
Any help would be appreciated, thanks.
If there are different directory chooser used in an activity, then there is no way to tell which file chooser is calling in the callbacks, which is forced upon the Activity to implement.
one way to counter this is to allow setting the listener to anything other than activity, and let the users take care of the configuration changes to set the listener back to what it was before the change.
Error:Execution failed for task ':app:processDebugManifest'.
Manifest merger failed : Attribute application@theme value=(@style/AppTheme) from AndroidManifest.xml:18:9
is also present at net.rdrei.android.dirchooser:library:3.2:9:18 value=(@style/DirectoryChooserTheme)
Suggestion: add 'tools:replace="android:theme"' to element at AndroidManifest.xml:14:5 to override
I want to custom this project, but can not find AutoParcel_DirectoryChooserConfig
. What should I do?
Preq for #7
Using the API v19, together with the support library v7 is possible to use the 'ActionBar' in a device with API v7+ ( Is a tip ):
http://developer.android.com/reference/android/support/v7/app/ActionBarActivity.html
Target API 22 and Add Material Design
Hi! @passy
I'm trying to use the library (2.1 version).
All went OK but I'm hitting the following problem: The TextView showing the selected folder is not been populated and refreshed on my app.
Could this be because my theme is not the native Holo? I'm using the AppCompat theme to support legacy Android versions.
android:theme="@style/Theme.AppCompat"
Or maybe it is populated but because I'm using a dark AppCompat theme the text is there but not passed to light color?
Thanks for any advice you could give to me.
Martin
Subj. Activity show empty list.
I am trying to use DirectoryChooser in my app which requires Root. Unfortunately, it does not seem to allow me to choose directions that are RO
When using compile 'net.rdrei.android.dirchooser:library:3.2@aar'
, I get the following error:
04-09 22:50:20.638 11862 11862 E AndroidRuntime: Process: <>, PID: 11862
04-09 22:50:20.638 11862 11862 E AndroidRuntime: java.lang.NoClassDefFoundError: Failed resolution of: Lcom/gu/option/Option;
04-09 22:50:20.638 11862 11862 E AndroidRuntime: at net.rdrei.android.dirchooser.DirectoryChooserFragment.<init>(DirectoryChooserFragment.java:61)
04-09 22:50:20.638 11862 11862 E AndroidRuntime: at net.rdrei.android.dirchooser.DirectoryChooserFragment.newInstance(DirectoryChooserFragment.java:91)
04-09 22:50:20.638 11862 11862 E AndroidRuntime: at net.rdrei.android.dirchooser.DirectoryChooserActivity.onCreate(DirectoryChooserActivity.java:38)
04-09 22:50:20.638 11862 11862 E AndroidRuntime: at android.app.Activity.performCreate(Activity.java:6570)
04-09 22:50:20.638 11862 11862 E AndroidRuntime: at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1107)
04-09 22:50:20.638 11862 11862 E AndroidRuntime: at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2534)
04-09 22:50:20.638 11862 11862 E AndroidRuntime: at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2641)
04-09 22:50:20.638 11862 11862 E AndroidRuntime: at android.app.ActivityThread.-wrap12(ActivityThread.java)
04-09 22:50:20.638 11862 11862 E AndroidRuntime: at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1398)
04-09 22:50:20.638 11862 11862 E AndroidRuntime: at android.os.Handler.dispatchMessage(Handler.java:102)
04-09 22:50:20.638 11862 11862 E AndroidRuntime: at android.os.Looper.loop(Looper.java:148)
04-09 22:50:20.638 11862 11862 E AndroidRuntime: at android.app.ActivityThread.main(ActivityThread.java:5849)
04-09 22:50:20.638 11862 11862 E AndroidRuntime: at java.lang.reflect.Method.invoke(Native Method)
04-09 22:50:20.638 11862 11862 E AndroidRuntime: at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:763)
04-09 22:50:20.638 11862 11862 E AndroidRuntime: at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:653)
04-09 22:50:20.638 11862 11862 E AndroidRuntime: Caused by: java.lang.ClassNotFoundException: Didn't find class "com.gu.option.Option" on path: DexPathList[[zip file "/data/app/<>-2/base.apk"],nativeLibraryDirectories=[/data/app/<>-2/lib/arm, /system/lib, /vendor/lib]]
04-09 22:50:20.638 11862 11862 E AndroidRuntime: at dalvik.system.BaseDexClassLoader.findClass(BaseDexClassLoader.java:94)
04-09 22:50:20.638 11862 11862 E AndroidRuntime: at java.lang.ClassLoader.loadClass(ClassLoader.java:379)
04-09 22:50:20.638 11862 11862 E AndroidRuntime: at java.lang.ClassLoader.loadClass(ClassLoader.java:311)
04-09 22:50:20.638 11862 11862 E AndroidRuntime: ... 15 more
04-09 22:50:20.641 23023 23744 W ActivityManager: Force finishing activity <>/net.rdrei.android.dirchooser.DirectoryChooserActivity
I have to use compile 'net.rdrei.android.dirchooser:library:3.2
instead.
Should also be ported to gradle for this, including the example. Could be fun!
Instead of findbugs
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.