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

error while downloading audio #7127

Closed
ghost opened this issue Sep 20, 2021 · 9 comments
Closed

error while downloading audio #7127

ghost opened this issue Sep 20, 2021 · 9 comments

Comments

@ghost
Copy link

ghost commented Sep 20, 2021

i got this when wanted to download m4a audio of Stereo Madness soundtrack. idk why this happens

Exception

  • User Action: ui error
  • Request: ACRA report
  • Content Country: RU
  • Content Language: ru-RU
  • App Language: ru_RU
  • Service: none
  • Version: 0.21.9
  • OS: Linux Android 11 - 30
Crash log

android.content.ActivityNotFoundException: No Activity found to handle Intent { act=android.intent.action.OPEN_DOCUMENT_TREE flg=0x43 (has extras) }
	at android.app.Instrumentation.checkStartActivityResult(Instrumentation.java:2067)
	at android.app.Instrumentation.execStartActivity(Instrumentation.java:1727)
	at android.app.Activity.startActivityForResult(Activity.java:5320)
	at androidx.activity.ComponentActivity.startActivityForResult(ComponentActivity.java:597)
	at androidx.core.app.ActivityCompat.startActivityForResult(ActivityCompat.java:237)
	at androidx.activity.ComponentActivity$2.onLaunch(ComponentActivity.java:210)
	at androidx.activity.result.ActivityResultRegistry$2.launch(ActivityResultRegistry.java:167)
	at androidx.fragment.app.Fragment$9.launch(Fragment.java:3510)
	at androidx.activity.result.ActivityResultLauncher.launch(ActivityResultLauncher.java:47)
	at org.schabi.newpipe.download.DownloadDialog.launchDirectoryPicker(DownloadDialog.java:690)
	at org.schabi.newpipe.download.DownloadDialog.prepareSelectedDownload(DownloadDialog.java:747)
	at org.schabi.newpipe.download.DownloadDialog.lambda$initToolbar$1(DownloadDialog.java:359)
	at org.schabi.newpipe.download.DownloadDialog.lambda$initToolbar$1$DownloadDialog(Unknown Source:0)
	at org.schabi.newpipe.download.-$$Lambda$DownloadDialog$QfMS-FoXWFjSoHiNV7JREecQBWg.onMenuItemClick(Unknown Source:2)
	at androidx.appcompat.widget.Toolbar$1.onMenuItemClick(Toolbar.java:208)
	at androidx.appcompat.widget.ActionMenuView$MenuBuilderCallback.onMenuItemSelected(ActionMenuView.java:780)
	at androidx.appcompat.view.menu.MenuBuilder.dispatchMenuItemSelected(MenuBuilder.java:834)
	at androidx.appcompat.view.menu.MenuItemImpl.invoke(MenuItemImpl.java:158)
	at androidx.appcompat.view.menu.MenuBuilder.performItemAction(MenuBuilder.java:985)
	at androidx.appcompat.view.menu.MenuBuilder.performItemAction(MenuBuilder.java:975)
	at androidx.appcompat.widget.ActionMenuView.invokeItem(ActionMenuView.java:624)
	at androidx.appcompat.view.menu.ActionMenuItemView.onClick(ActionMenuItemView.java:151)
	at android.view.View.performClick(View.java:7448)
	at android.view.View.performClickInternal(View.java:7425)
	at android.view.View.access$3600(View.java:810)
	at android.view.View$PerformClick.run(View.java:28305)
	at android.os.Handler.handleCallback(Handler.java:938)
	at android.os.Handler.dispatchMessage(Handler.java:99)
	at android.os.Looper.loop(Looper.java:223)
	at android.app.ActivityThread.main(ActivityThread.java:7660)
	at java.lang.reflect.Method.invoke(Native Method)
	at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:592)
	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:947)


Version

0.21.9, from F-Droid repo

@litetex
Copy link
Member

litetex commented Sep 21, 2021

Duplicate of #6729

No Activity found to handle Intent { act=android.intent.action.OPEN_DOCUMENT_TREE flg=0x43 (has extras) }

Looks like you have no file-manager...
Can you check if you have one?

@litetex litetex marked this as a duplicate of #6729 Sep 21, 2021
@litetex litetex closed this as completed Sep 21, 2021
@ghost
Copy link
Author

ghost commented Sep 22, 2021

@litetex Yes, i have Material Files

@tsiflimagas
Copy link
Contributor

@SNvMK have you removed system's one?

@ghost
Copy link
Author

ghost commented Sep 22, 2021

@tsiflimagas DocumentsUI? yes

@tsiflimagas
Copy link
Contributor

tsiflimagas commented Sep 22, 2021

Then that's it, most probably. Restore that app (dirty flash your rom I'd suggest) and better don't remove it again, it's necessary for SAF as it's the only SAF provider. Idk if it's possible for a user app to serve as a SAF provider.

@ghost
Copy link
Author

ghost commented Sep 22, 2021

@tsiflimagas okay, i think i will just find this app and put to /system/priv-app. also i tried putting material files as DocumentsUI, didnt worked

@litetex
Copy link
Member

litetex commented Sep 22, 2021

@SNvMK
You can also disable SAF in the settings 😉
Maybe this helps 😄

@ghost
Copy link
Author

ghost commented Sep 25, 2021

finally got time to get documentsui apk. so i have lineageos zip file. uncompressed it, then uncompress system.new.data.br with brotli, then convert this to .img, mount it, and there it - DocumentsUI apk in /system/priv-app/DocumentsUI. Just transfer it to phone with android-file-transfer, move to root and install

@ayush19283

This comment was marked as off-topic.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants