{
"user_action": "ui error",
"request": "App crash, UI failure",
"content_language": "TR",
"service": "none",
"package": "org.schabi.newpipe",
"version": "0.13.1",
"os": "Linux Android 7.1.2 - 25",
"time": "2018-04-12 05:58",
"exceptions": [
"java.lang.RuntimeException: java.io.IOException: Permission deniedntat us.shandian.giga.get.DownloadManagerImpl$Initializer.run(DownloadManagerImpl.java:350)nCaused by: java.io.IOException: Permission deniedntat java.io.UnixFileSystem.createFileExclusively0(Native Method)ntat java.io.UnixFileSystem.createFileExclusively(UnixFileSystem.java:280)ntat java.io.File.createNewFile(File.java:948)ntat us.shandian.giga.get.DownloadManagerImpl$Initializer.run(DownloadManagerImpl.java:342)njava.io.IOException: Permission deniedntat java.io.UnixFileSystem.createFileExclusively0(Native Method)ntat java.io.UnixFileSystem.createFileExclusively(UnixFileSystem.java:280)ntat java.io.File.createNewFile(File.java:948)ntat us.shandian.giga.get.DownloadManagerImpl$Initializer.run(DownloadManagerImpl.java:342)n"
],
"user_comment": "I click ok in the download window and the application crashes."
}
Were you trying download the song in SD card ?
Is your OS marshmallow? Because I am also having the same issue
I can confirm that I have the same issue. I made a folder on my SD card to download the videos to. When I set that folder to my download location in NewPipe and tried to download some video, the app crashed.
{
"user_action": "ui error",
"request": "App crash, UI failure",
"content_language": "US",
"service": "none",
"package": "org.schabi.newpipe",
"version": "0.13.2",
"os": "Linux Android 7.0 - 24",
"time": "2018-04-14 18:48",
"exceptions": [
"java.lang.RuntimeException: java.io.IOException: Permission deniedntat us.shandian.giga.get.DownloadManagerImpl$Initializer.run(DownloadManagerImpl.java:350)nCaused by: java.io.IOException: Permission deniedntat java.io.UnixFileSystem.createFileExclusively0(Native Method)ntat java.io.UnixFileSystem.createFileExclusively(UnixFileSystem.java:280)ntat java.io.File.createNewFile(File.java:948)ntat us.shandian.giga.get.DownloadManagerImpl$Initializer.run(DownloadManagerImpl.java:342)njava.io.IOException: Permission deniedntat java.io.UnixFileSystem.createFileExclusively0(Native Method)ntat java.io.UnixFileSystem.createFileExclusively(UnixFileSystem.java:280)ntat java.io.File.createNewFile(File.java:948)ntat us.shandian.giga.get.DownloadManagerImpl$Initializer.run(DownloadManagerImpl.java:342)n"
]
the app needs the sd write permission to download, but the problem is you cannot explicitly provide the permission to the app unless the app asks for it(4.4 and above)
See #962
AAAAA we need to show a notification when the app creashes to tell users that SD card is currently not supported.
Most helpful comment
Were you trying download the song in SD card ?