As suggested above, JTAR ended up working for me: https://github.com/kamranzafar/jtar
How can I untar a file in an android app?
-
14-06-2023 - |
سؤال
I have a ".tar" file that my app downloads and I can't figure out how to extract it. I've tried reading it with ZipInputStream, but getNextEntry() returns null even though I can confirm through terminal that the tar file exists. I've been able to untar it manually so I know it's not an issue with the file.
Does anyone have any ideas? Thanks for the help!
المحلول
لا تنتمي إلى StackOverflow