-
Notifications
You must be signed in to change notification settings - Fork 70
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
Failed to create the directory for tapes. Is your sdcard directory read-only? #42
Comments
I spent quite a lot of time looking at this yesterday. Even after |
Very weird. I haven't seen this before, but will try on a physical Pixel device. |
I have an update on this. It seems that you have to run this via gradle, or it doesn't work. I was able to get the sample to work via ./gradlew :app:cDAT -Pandroid.testInstrumentationRunnerArguments.class=com.example.MyTestClass While it's great I got it to run, what's not so great is not being able to simply run the test class via the IDE, or via the |
I still received the error message with cDAT from the command line. |
|
After reviewing https://developer.android.com/guide/topics/data/data-storage.html#filesExternal I did some testing. Using Using At least, mkdirs works this way. |
I did a test using a replacement for AndroidTapeRoot (workaround to allow that here #64 ) and this successfully started writing files:
|
Getting the message:
on my Nexus 6P, and the Pixel. I tried to debug, the relevant source is in
AndroidTapeRoot.kt
My SD card is writeable.
The text was updated successfully, but these errors were encountered: