Page 1 of 1

Crash trying to select server or folder

PostPosted: Thu Sep 26, 2013 9:30 pm
by asian flavor
I am having a crash in DSUB (4.0.6 - 4.1.4) on my phone when clicking on Select server or Select folder. Here's a logcat where it's showing some missing methods:

Code: Select all
I/dalvikvm( 3658): Failed resolving Lgithub/daneren2005/dsub/util/compat/RemoteControlClientICS$1; interface 119 'Landroid/media/RemoteControlClient$OnGetPlaybackPositionListener;'

W/dalvikvm( 3658): Link of class 'Lgithub/daneren2005/dsub/util/compat/RemoteControlClientICS$1;' failed

E/dalvikvm( 3658): Could not find class 'github.daneren2005.dsub.util.compat.RemoteControlClientICS$1', referenced from method github.daneren2005.dsub.util.compat.RemoteControlClientICS.register

W/dalvikvm( 3658): VFY: unable to resolve new-instance 1507 (Lgithub/daneren2005/dsub/util/compat/RemoteControlClientICS$1;) in Lgithub/daneren2005/dsub/util/compat/RemoteControlClientICS;

D/dalvikvm( 3658): VFY: replacing opcode 0x22 at 0x0049

I/dalvikvm( 3658): Could not find method android.media.RemoteControlClient.setPlaybackState, referenced from method github.daneren2005.dsub.util.compat.RemoteControlClientICS.setPlaybackState

W/dalvikvm( 3658): VFY: unable to resolve virtual method 621: Landroid/media/RemoteControlClient;.setPlaybackState (IJF)V

D/dalvikvm( 3658): VFY: replacing opcode 0x6e at 0x0019

I/ViPER4Android( 1011): mAudioSessionReceiver::onReceive()

I/ViPER4Android( 1011): New audio session: 69

I/ViPER4Android( 1011): Only global effect allowed.

I/HeadsetService( 1401): New audio session: 69

I/dalvikvm( 3658): Failed resolving Lgithub/daneren2005/dsub/util/compat/RemoteControlClientICS$1; interface 119 'Landroid/media/RemoteControlClient$OnGetPlaybackPositionListener;'

W/dalvikvm( 3658): Link of class 'Lgithub/daneren2005/dsub/util/compat/RemoteControlClientICS$1;' failed

D/dalvikvm( 3658): DexOpt: unable to opt direct call 0x2ee7 at 0x4b in Lgithub/daneren2005/dsub/util/compat/RemoteControlClientICS;.register

I/dalvikvm( 3658): Failed resolving Lgithub/daneren2005/dsub/util/compat/RemoteControlClientICS$2; interface 120 'Landroid/media/RemoteControlClient$OnPlaybackPositionUpdateListener;'

W/dalvikvm( 3658): Link of class 'Lgithub/daneren2005/dsub/util/compat/RemoteControlClientICS$2;' failed

D/dalvikvm( 3658): DexOpt: unable to opt direct call 0x2ee9 at 0x55 in Lgithub/daneren2005/dsub/util/compat/RemoteControlClientICS;.register


My phone is D2VZW Galaxy S3 running MIUI v5 4.2.2. I am running KT747 kernel that I modified for MIUI. The ROM is based on CM 10.1.3, build 9/23. I was going to decompile DSUB to see if those missing methods were there, but I got caught up at work. Any help would be excellent! Thanks for this great app for my Madsonic server!!!

Re: Crash trying to select server or folder

PostPosted: Thu Sep 26, 2013 10:10 pm
by daneren2005
It looks like the ROM you are using is claiming to be a certain version of Android without actually implementing all of the features said version contains. I have a fallback for the RemoteControlClient for older versions of Android, but it goes off of version.

Re: Crash trying to select server or folder

PostPosted: Fri Sep 27, 2013 1:44 pm
by asian flavor
Gotcha. I started seeing this issue after we had started to rebase the MIUI ROM to a newer version of CM 10.1. I having another issues with another media app since this new rebase. Thanks for your help and app! :mrgreen: