austgl / a2dpvolume

Automatically exported from code.google.com/p/a2dpvolume
0 stars 0 forks source link

'Find Devices' button causes crash on Android 4.2 #142

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Device (phone) brand: Samsung
Device (phone) model: Galaxy Nexus (GT-I9250)
Android OS version: 4.2 (JOP40C)
App version: 2.8.11

Device (phone) brand: LG
Device (phone) model: Nexus 4 (LG-E960)
Android OS version: 4.2 (JOP40C)
App version: 2.8.11 / 2.8.12

What steps will reproduce the problem?
1. Open application
2. Tap 'Find Devices' button

What is the expected output? What do you see instead?
Bluetooth devices should be populated. Error "Unfortunately, A2DP Volume has 
stopped." is produced instead and application closes.

Please provide any additional information below.
Tried to clear data, uninstall/reinstall, clear cache -- no improvement.

Original issue reported on code.google.com by ja...@desanity.net on 19 Nov 2012 at 6:56

GoogleCodeExporter commented 9 years ago
Also just verified same behavior on Nexus 7 w/ 4.2

Device (tablet) brand: Asus
Device (tablet) model: Nexus 7 (ME370T)
Android OS version: 4.2 (JOP40C)
App version: 2.8.12

Original comment by ja...@desanity.net on 19 Nov 2012 at 7:02

GoogleCodeExporter commented 9 years ago
Thanks for reporting this.  I heard that 4.2 has many Bluetooth bugs and this 
may be the problem.  Also, I do not have a 4.2 device to test with and the 
emulator will not test Bluetooth.  Because of this, it may be a while before I 
can fix this.  I do have a friend with Galaxy Nexus so I will try to get him to 
duplicate so I can find root cause.

Original comment by JimR...@gmail.com on 21 Nov 2012 at 1:36

GoogleCodeExporter commented 9 years ago
I think this is the stack trace.  Please make sure you send error reports when 
they happen using Google Play. The report should be generated automatically.  
You just need to make sure you accept it and slick send.

java.lang.NoSuchMethodError: android.bluetooth.IBluetooth.getRemoteAlias
at a2dp.Vol.main.getBtDevices(main.java:724)
at a2dp.Vol.main.access$5(main.java:589)
at a2dp.Vol.main$6.onClick(main.java:271)
at android.view.View.performClick(View.java:4202)
at android.view.View$PerformClick.run(View.java:17340)
at android.os.Handler.handleCallback(Handler.java:725)
at android.os.Handler.dispatchMessage(Handler.java:92)
at android.os.Looper.loop(Looper.java:137)
at android.app.ActivityThread.main(ActivityThread.java:5039)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:511)
at 
com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:793)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:560)
at dalvik.system.NativeStart.main(Native Method)

Original comment by JimR...@gmail.com on 21 Nov 2012 at 1:57

GoogleCodeExporter commented 9 years ago
Please test 2.8.13 attached and report results.

Original comment by JimR...@gmail.com on 21 Nov 2012 at 1:27

Attachments:

GoogleCodeExporter commented 9 years ago
That seems to have fully resolved the issue. Thanks!

Original comment by ja...@desanity.net on 21 Nov 2012 at 2:27

GoogleCodeExporter commented 9 years ago
This issue was closed by revision 317d1cdf584a.

Original comment by JimR...@gmail.com on 21 Nov 2012 at 2:33