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

Play issue #111

Open
gopalrokad opened this issue Oct 3, 2024 · 0 comments
Open

Play issue #111

gopalrokad opened this issue Oct 3, 2024 · 0 comments

Comments

@gopalrokad
Copy link

  App version: 0.1.6 (ac95c8d)

Android version: 14 (34)
Device brand: iQOO
Device manufacturer: vivo
Device model: I2304 (I2304)
MPV version: v0.38.0-743-gad7976c33e
ffmpeg version: 0b6d7cd9d9
libplacebo version: v7.349.0 (v7.349.0-9-gefb89342)

  Exception:
  java.lang.RuntimeException: Unable to start activity ComponentInfo{live.mehiz.mpvkt/live.mehiz.mpvkt.ui.player.PlayerActivity}: java.lang.SecurityException: com.android.externalstorage has no access to content://media/external_primary/video/media/1000017414
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:4284)
at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:4432)
at android.app.servertransaction.LaunchActivityItem.execute(LaunchActivityItem.java:103)
at android.app.servertransaction.TransactionExecutor.executeCallbacks(TransactionExecutor.java:139)
at android.app.servertransaction.TransactionExecutor.execute(TransactionExecutor.java:96)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2829)
at android.os.Handler.dispatchMessage(Handler.java:108)
at android.os.Looper.loopOnce(Looper.java:226)
at android.os.Looper.loop(Looper.java:328)
at android.app.ActivityThread.main(ActivityThread.java:9190)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:586)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1099)

Caused by: java.lang.SecurityException: com.android.externalstorage has no access to content://media/external_primary/video/media/1000017414
at android.os.Parcel.createExceptionOrNull(Parcel.java:3071)
at android.os.Parcel.createException(Parcel.java:3055)
at android.os.Parcel.readException(Parcel.java:3038)
at android.database.DatabaseUtils.readExceptionFromParcel(DatabaseUtils.java:190)
at android.database.DatabaseUtils.readExceptionWithFileNotFoundExceptionFromParcel(DatabaseUtils.java:153)
at android.content.ContentProviderProxy.openTypedAssetFile(ContentProviderNative.java:814)
at android.content.ContentResolver.openTypedAssetFileDescriptor(ContentResolver.java:2077)
at android.content.ContentResolver.openAssetFileDescriptor(ContentResolver.java:1892)
at android.content.ContentResolver.openFileDescriptor(ContentResolver.java:1723)
at android.content.ContentResolver.openFileDescriptor(ContentResolver.java:1669)
at live.mehiz.mpvkt.ui.player.PlayerUtilsKt.openContentFd(SourceFile:12)
at live.mehiz.mpvkt.ui.player.PlayerUtilsKt.resolveUri(SourceFile:31)
at live.mehiz.mpvkt.ui.player.PlayerActivity.getPlayableUri(SourceFile:38)
at live.mehiz.mpvkt.ui.player.PlayerActivity.onCreate(SourceFile:417)
at android.app.Activity.performCreate(Activity.java:8936)
at android.app.Activity.performCreate(Activity.java:8900)
at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1456)
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:4260)
... 12 more

  Logcat:
  --------- beginning of main

10-03 11:19:16.392 25311 25311 I ive.mehiz.mpvkt: Using CollectorTypeCMC GC.
10-03 11:19:16.397 25311 25311 E ive.mehiz.mpvkt: Not starting debugger since process cannot load the jdwp agent.
10-03 11:19:16.429 25311 25311 W ziparchive: Unable to open '/data/app/~~A7fYizxVzzjQTgUgDxiEww==/live.mehiz.mpvkt--ylYXDOR71NY7BBdK1_4jg==/split_config.arm64_v8a.dm': No such file or directory
10-03 11:19:16.429 25311 25311 W ziparchive: Unable to open '/data/app/~~A7fYizxVzzjQTgUgDxiEww==/live.mehiz.mpvkt--ylYXDOR71NY7BBdK1_4jg==/split_config.arm64_v8a.dm': No such file or directory
10-03 11:19:16.429 25311 25311 W ive.mehiz.mpvkt: Entry not found
10-03 11:19:16.430 25311 25311 W ziparchive: Unable to open '/data/app/~~A7fYizxVzzjQTgUgDxiEww==/live.mehiz.mpvkt--ylYXDOR71NY7BBdK1_4jg==/split_config.en.dm': No such file or directory
10-03 11:19:16.430 25311 25311 W ziparchive: Unable to open '/data/app/~~A7fYizxVzzjQTgUgDxiEww==/live.mehiz.mpvkt--ylYXDOR71NY7BBdK1_4jg==/split_config.en.dm': No such file or directory
10-03 11:19:16.430 25311 25311 W ive.mehiz.mpvkt: Entry not found
10-03 11:19:16.430 25311 25311 W ziparchive: Unable to open '/data/app/~~A7fYizxVzzjQTgUgDxiEww==/live.mehiz.mpvkt--ylYXDOR71NY7BBdK1_4jg==/split_config.xxhdpi.dm': No such file or directory
10-03 11:19:16.430 25311 25311 W ziparchive: Unable to open '/data/app/~~A7fYizxVzzjQTgUgDxiEww==/live.mehiz.mpvkt--ylYXDOR71NY7BBdK1_4jg==/split_config.xxhdpi.dm': No such file or directory
10-03 11:19:16.430 25311 25311 W ive.mehiz.mpvkt: Entry not found
10-03 11:19:16.511 25311 28647 I AdrenoGLES-0: QUALCOMM build : 7cb28f9a06, I03a4122035
10-03 11:19:16.511 25311 28647 I AdrenoGLES-0: Build Date : 10/31/23
10-03 11:19:16.511 25311 28647 I AdrenoGLES-0: OpenGL ES Shader Compiler Version: E************
10-03 11:19:16.511 25311 28647 I AdrenoGLES-0: Local Branch :
10-03 11:19:16.511 25311 28647 I AdrenoGLES-0: Remote Branch : refs/tags/AU_LINUX_ANDROID_LA.VENDOR.*********.00.00.855.659
10-03 11:19:16.511 25311 28647 I AdrenoGLES-0: Remote Branch : NONE
10-03 11:19:16.511 25311 28647 I AdrenoGLES-0: Reconstruct Branch : NOTHING
10-03 11:19:16.511 25311 28647 I AdrenoGLES-0: Build Config : S P 14.1.4 AArch64
10-03 11:19:16.511 25311 28647 I AdrenoGLES-0: Driver Path : /vendor/lib64/egl/libGLESv2_adreno.so
10-03 11:19:16.511 25311 28647 I AdrenoGLES-0: Driver Version : 0676.49
10-03 11:19:16.514 25311 28647 I AdrenoGLES-0: PFP: 0x01740168, ME: 0x00000000
10-03 11:19:16.521 25311 28647 I AdrenoUtils: ReadGpuID:407: Reading chip ID through GSL
10-03 11:19:16.524 25311 28647 E OpenGLRenderer: Unable to match the desired swap behavior.
10-03 11:19:19.306 25311 28647 E OpenGLRenderer: Unable to match the desired swap behavior.
10-03 11:19:19.353 25311 25311 W mpv : Copied asset file: subfont.ttf
10-03 11:19:19.354 25311 25311 W mpv : Copied asset file: cacert.pem
10-03 11:19:19.355 25311 25311 W DocumentFile: Failed query: java.lang.NullPointerException: Attempt to invoke interface method 'int android.database.Cursor.getCount()' on a null object reference
10-03 11:19:19.355 25311 25311 E PlayerActivity: Couldn't copy mpv configuration files: User hasn't set any mpvConfig directory
10-03 11:19:19.356 25311 28901 W DocumentFile: Failed query: java.lang.NullPointerException: Attempt to invoke interface method 'int android.database.Cursor.getCount()' on a null object reference
10-03 11:19:19.356 25311 28901 E PlayerActivity: Couldn't copy fonts to application directory: User hasn't set any fonts directory
--------- beginning of crash
10-03 11:19:19.383 25311 25311 E AndroidRuntime: FATAL EXCEPTION: main
10-03 11:19:19.383 25311 25311 E AndroidRuntime: Process: live.mehiz.mpvkt, PID: 25311
10-03 11:19:19.383 25311 25311 E AndroidRuntime: java.lang.RuntimeException: Unable to start activity ComponentInfo{live.mehiz.mpvkt/live.mehiz.mpvkt.ui.player.PlayerActivity}: java.lang.SecurityException: com.android.externalstorage has no access to content://media/external_primary/video/media/1000017414
10-03 11:19:19.383 25311 25311 E AndroidRuntime: at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:4284)
10-03 11:19:19.383 25311 25311 E AndroidRuntime: at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:4432)
10-03 11:19:19.383 25311 25311 E AndroidRuntime: at android.app.servertransaction.LaunchActivityItem.execute(LaunchActivityItem.java:103)
10-03 11:19:19.383 25311 25311 E AndroidRuntime: at android.app.servertransaction.TransactionExecutor.executeCallbacks(TransactionExecutor.java:139)
10-03 11:19:19.383 25311 25311 E AndroidRuntime: at android.app.servertransaction.TransactionExecutor.execute(TransactionExecutor.java:96)
10-03 11:19:19.383 25311 25311 E AndroidRuntime: at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2829)
10-03 11:19:19.383 25311 25311 E AndroidRuntime: at android.os.Handler.dispatchMessage(Handler.java:108)
10-03 11:19:19.383 25311 25311 E AndroidRuntime: at android.os.Looper.loopOnce(Looper.java:226)
10-03 11:19:19.383 25311 25311 E AndroidRuntime: at android.os.Looper.loop(Looper.java:328)
10-03 11:19:19.383 25311 25311 E AndroidRuntime: at android.app.ActivityThread.main(ActivityThread.java:9190)
10-03 11:19:19.383 25311 25311 E AndroidRuntime: at java.lang.reflect.Method.invoke(Native Method)
10-03 11:19:19.383 25311 25311 E AndroidRuntime: at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:586)
10-03 11:19:19.383 25311 25311 E AndroidRuntime: at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1099)
10-03 11:19:19.383 25311 25311 E AndroidRuntime: Caused by: java.lang.SecurityException: com.android.externalstorage has no access to content://media/external_primary/video/media/1000017414
10-03 11:19:19.383 25311 25311 E AndroidRuntime: at android.os.Parcel.createExceptionOrNull(Parcel.java:3071)
10-03 11:19:19.383 25311 25311 E AndroidRuntime: at android.os.Parcel.createException(Parcel.java:3055)
10-03 11:19:19.383 25311 25311 E AndroidRuntime: at android.os.Parcel.readException(Parcel.java:3038)
10-03 11:19:19.383 25311 25311 E AndroidRuntime: at android.database.DatabaseUtils.readExceptionFromParcel(DatabaseUtils.java:190)
10-03 11:19:19.383 25311 25311 E AndroidRuntime: at android.database.DatabaseUtils.readExceptionWithFileNotFoundExceptionFromParcel(DatabaseUtils.java:153)
10-03 11:19:19.383 25311 25311 E AndroidRuntime: at android.content.ContentProviderProxy.openTypedAssetFile(ContentProviderNative.java:814)
10-03 11:19:19.383 25311 25311 E AndroidRuntime: at android.content.ContentResolver.openTypedAssetFileDescriptor(ContentResolver.java:2077)
10-03 11:19:19.383 25311 25311 E AndroidRuntime: at android.content.ContentResolver.openAssetFileDescriptor(ContentResolver.java:1892)
10-03 11:19:19.383 25311 25311 E AndroidRuntime: at android.content.ContentResolver.openFileDescriptor(ContentResolver.java:1723)
10-03 11:19:19.383 25311 25311 E AndroidRuntime: at android.content.ContentResolver.openFileDescriptor(ContentResolver.java:1669)
10-03 11:19:19.383 25311 25311 E AndroidRuntime: at live.mehiz.mpvkt.ui.player.PlayerUtilsKt.openContentFd(SourceFile:12)
10-03 11:19:19.383 25311 25311 E AndroidRuntime: at live.mehiz.mpvkt.ui.player.PlayerUtilsKt.resolveUri(SourceFile:31)
10-03 11:19:19.383 25311 25311 E AndroidRuntime: at live.mehiz.mpvkt.ui.player.PlayerActivity.getPlayableUri(SourceFile:38)
10-03 11:19:19.383 25311 25311 E AndroidRuntime: at live.mehiz.mpvkt.ui.player.PlayerActivity.onCreate(SourceFile:417)
10-03 11:19:19.383 25311 25311 E AndroidRuntime: at android.app.Activity.performCreate(Activity.java:8936)
10-03 11:19:19.383 25311 25311 E AndroidRuntime: at android.app.Activity.performCreate(Activity.java:8900)
10-03 11:19:19.383 25311 25311 E AndroidRuntime: at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1456)
10-03 11:19:19.383 25311 25311 E AndroidRuntime: at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:4260)
10-03 11:19:19.383 25311 25311 E AndroidRuntime: ... 12 more
10-03 11:19:19.394 25311 25311 I ive.mehiz.mpvkt: System.exit called, status: 0
10-03 11:19:19.394 25311 25311 I AndroidRuntime: VM exiting with result code 0, cleanup skipped.
10-03 11:19:19.421 26166 26166 I ive.mehiz.mpvkt: Using CollectorTypeCMC GC.
10-03 11:19:19.423 26166 26166 E ive.mehiz.mpvkt: Not starting debugger since process cannot load the jdwp agent.
10-03 11:19:19.439 26166 26166 W ziparchive: Unable to open '/data/app/~~A7fYizxVzzjQTgUgDxiEww==/live.mehiz.mpvkt--ylYXDOR71NY7BBdK1_4jg==/split_config.arm64_v8a.dm': No such file or directory
10-03 11:19:19.439 26166 26166 W ziparchive: Unable to open '/data/app/~~A7fYizxVzzjQTgUgDxiEww==/live.mehiz.mpvkt--ylYXDOR71NY7BBdK1_4jg==/split_config.arm64_v8a.dm': No such file or directory
10-03 11:19:19.439 26166 26166 W ive.mehiz.mpvkt: Entry not found
10-03 11:19:19.439 26166 26166 W ziparchive: Unable to open '/data/app/~~A7fYizxVzzjQTgUgDxiEww==/live.mehiz.mpvkt--ylYXDOR71NY7BBdK1_4jg==/split_config.en.dm': No such file or directory
10-03 11:19:19.439 26166 26166 W ziparchive: Unable to open '/data/app/~~A7fYizxVzzjQTgUgDxiEww==/live.mehiz.mpvkt--ylYXDOR71NY7BBdK1_4jg==/split_config.en.dm': No such file or directory
10-03 11:19:19.439 26166 26166 W ive.mehiz.mpvkt: Entry not found
10-03 11:19:19.439 26166 26166 W ziparchive: Unable to open '/data/app/~~A7fYizxVzzjQTgUgDxiEww==/live.mehiz.mpvkt--ylYXDOR71NY7BBdK1_4jg==/split_config.xxhdpi.dm': No such file or directory
10-03 11:19:19.439 26166 26166 W ziparchive: Unable to open '/data/app/~~A7fYizxVzzjQTgUgDxiEww==/live.mehiz.mpvkt--ylYXDOR71NY7BBdK1_4jg==/split_config.xxhdpi.dm': No such file or directory
10-03 11:19:19.439 26166 26166 W ive.mehiz.mpvkt: Entry not found

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

1 participant