Paths to external app cache folderSee original GitHub issue
How do I get to the path of
Context.getExternalCacheDir() using this shell? In the lib I was currently using (org.sufficientlysecure.rootcommands), I could just do (in Kotlin):
context.externalCacheDir.absolutePath.replace("/storage/emulated/0","\$EXTERNAL_STORAGE") and it worked, with this lib it doesn’t. Is there any difference? How could I accomplish the same thing across all device models?
- Created 5 years ago
- Comments:5 (1 by maintainers)
Top GitHub Comments
I thought it did apply since there seemed to be a difference between the libraries. But in the end it was my fault, since some devices have magisk that don’t need -mm and older ones had your rooting that did require it. When I omitted -mm the cache dir wasn’t visible to the root shell. Thanks for responding!