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

Bad external storage path #20

Open
maniksejwal opened this issue Jul 6, 2019 · 0 comments
Open

Bad external storage path #20

maniksejwal opened this issue Jul 6, 2019 · 0 comments
Labels
crash The session was forcefully terminated due to a bug duplicate This issue or pull request already exists

Comments

@maniksejwal
Copy link
Collaborator

maniksejwal commented Jul 6, 2019

Helper.java line 210
com.memory_athlete.memoryassistant.Helper.makeDirectory

Caused by java.lang.RuntimeException
Couldn't create the directory. Path = /storage/0123-4567/Memory Assistant//Practice/
com.memory_athlete.memoryassistant.Helper.makeDirectory (Helper.java:210)
com.memory_athlete.memoryassistant.main.MainActivity.moveFiles (MainActivity.java:110)
com.memory_athlete.memoryassistant.main.MainActivity$1.run (MainActivity.java:99)
com.memory_athlete.memoryassistant.main.MainActivity.onCreate (MainActivity.java:102)
android.app.Activity.performCreate (Activity.java:6367)
android.app.Instrumentation.callActivityOnCreate (Instrumentation.java:1110)
android.app.ActivityThread.performLaunchActivity (ActivityThread.java:2404)
android.app.ActivityThread.handleLaunchActivity (ActivityThread.java:2511)
android.app.ActivityThread.access$900 (ActivityThread.java:165)
android.app.ActivityThread$H.handleMessage (ActivityThread.java:1375)
android.os.Handler.dispatchMessage (Handler.java:102)
android.os.Looper.loop (Looper.java:150)
android.app.ActivityThread.main (ActivityThread.java:5621)
java.lang.reflect.Method.invoke (Method.java)
com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run (ZygoteInit.java:794)
com.android.internal.os.ZygoteInit.main (ZygoteInit.java:684)

Bad path - /storage/0123-4567/Memory Assistant//Practice/
Should have been /storage/emulated/0/Memory Assistant//Practice/

@maniksejwal maniksejwal added the crash The session was forcefully terminated due to a bug label Jul 6, 2019
@maniksejwal maniksejwal changed the title Helper.java line 210. Failed to create directory Bad external storage path Jul 31, 2019
@maniksejwal maniksejwal added the duplicate This issue or pull request already exists label Oct 20, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
crash The session was forcefully terminated due to a bug duplicate This issue or pull request already exists
Projects
None yet
Development

No branches or pull requests

1 participant