Crash trying to select server or folder

Alternative Android Client for Subsonic

Moderators: daneren2005, moderators

Crash trying to select server or folder

Postby asian flavor » Thu Sep 26, 2013 9:30 pm

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!!!
asian flavor
 
Posts: 6
Joined: Tue Oct 23, 2012 11:53 pm

Re: Crash trying to select server or folder

Postby daneren2005 » Thu Sep 26, 2013 10:10 pm

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.
Developer of DSub for Android
daneren2005
 
Posts: 1709
Joined: Fri Jul 06, 2012 7:52 pm

Re: Crash trying to select server or folder

Postby asian flavor » Fri Sep 27, 2013 1:44 pm

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:
asian flavor
 
Posts: 6
Joined: Tue Oct 23, 2012 11:53 pm


Return to DSub for Android

Who is online

Users browsing this forum: No registered users and 10 guests