vipersaudio / viper4android_fx

ViPER4Android FX Control Panel
245 stars 118 forks source link

Bluetooth speaker FC #39

Closed zdunex25 closed 10 years ago

zdunex25 commented 10 years ago

Viper throws FC right after I successfully connect my speaker over bluetooth.

Log: java.lang.RuntimeException: Error receiving broadcast Intent { act=android.bluetooth.device.action.ACL_CONNECTED flg=0x8000010 (has extras) } in com.vipercn.viper4android.service.HeadsetService$8@416f8388 at android.app.LoadedApk$ReceiverDispatcher$Args.run(LoadedApk.java:765) at android.os.Handler.handleCallback(Handler.java:615) at android.os.Handler.dispatchMessage(Handler.java:92) at android.os.Looper.loop(Looper.java:137) at android.app.ActivityThread.main(ActivityThread.java:4898) 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:1006) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:773) at de.robv.android.xposed.XposedBridge.main(XposedBridge.java:128) at dalvik.system.NativeStart.main(Native Method) Caused by: java.lang.NullPointerException at com.vipercn.viper4android.service.HeadsetService$8.onReceive(HeadsetService.java:523) at android.app.LoadedApk$ReceiverDispatcher$Args.run(LoadedApk.java:755) ... 10 more

vipersaudio commented 10 years ago

I think you are using an ancient v4a :) Please update to latest version :D

zdunex25 commented 10 years ago

2.3.2.6 the same:

java.lang.RuntimeException: Error receiving broadcast Intent { act=android.bluetooth.device.action.ACL_CONNECTED flg=0x8000010 (has extras) } in com.vipercn.viper4android.service.HeadsetService$8@416f8388 at android.app.LoadedApk$ReceiverDispatcher$Args.run(LoadedApk.java:765) at android.os.Handler.handleCallback(Handler.java:615) at android.os.Handler.dispatchMessage(Handler.java:92) at android.os.Looper.loop(Looper.java:137) at android.app.ActivityThread.main(ActivityThread.java:4898) 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:1006) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:773) at de.robv.android.xposed.XposedBridge.main(XposedBridge.java:128) at dalvik.system.NativeStart.main(Native Method) Caused by: java.lang.NullPointerException at com.vipercn.viper4android.service.HeadsetService$8.onReceive(HeadsetService.java:523) at android.app.LoadedApk$ReceiverDispatcher$Args.run(LoadedApk.java:755) ... 10 more

vipersaudio commented 10 years ago

Please make sure you have uninstalled the old version V4A apk. Since v2.1, the package name has been changed to com.vipercn.viper4android_v2, but in your log its still com.vipercn.viper4android. You can try to manual delete the old apk in /data/app and old apk's data in /data/data.

zdunex25 commented 10 years ago

You were right, thanks.