yangwulin / backport-android-bluetooth

Automatically exported from code.google.com/p/backport-android-bluetooth
0 stars 0 forks source link

BluetoothAdapter.getDefaultAdapter() causes uncaught Exception on Samsung Behold II #18

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. BluetoothAdapter.getDefaultAdapter() causes unCaught Exception on Samsung 
Behold II
2.
3.

What is the expected output? What do you see instead?

Expect instance of BluetoothAdapter to be returned

What version of the product are you using? On what operating system?
jar version 2.2.2

Please provide any additional information below.
E/dalvikvm(  693): Could not find method 
android.bluetooth.IBluetoothDevice.enable, referenced from method 
backport.android.bluetooth.BluetoothAdapter.enable
W/dalvikvm(  693): VFY: unable to resolve interface method 521: 
Landroid/bluetooth/IBluetoothDevice;.enable ()Z
W/dalvikvm(  693): VFY:  rejecting opcode 0x72 at 0x0002
W/dalvikvm(  693): VFY:  rejected 
Lbackport/android/bluetooth/BluetoothAdapter;.enable ()Z
W/dalvikvm(  693): Verifier rejected class 
Lbackport/android/bluetooth/BluetoothAdapter;
D/AndroidRuntime(  693): Shutting down VM
W/dalvikvm(  693): threadid=3: thread exiting with uncaught exception 
(group=0x4001da08)
E/AndroidRuntime(  693): Uncaught handler: thread main exiting due to uncaught 
exception
E/AndroidRuntime(  693): java.lang.VerifyError: 
backport.android.bluetooth.BluetoothAdapter
E/AndroidRuntime(  693):        at 
airsMobile.SimCab.SimCabActivity$initBluetooth.run(SimCabActivity.java:2635)
E/AndroidRuntime(  693):        at 
android.os.Handler.handleCallback(Handler.java:587)
E/AndroidRuntime(  693):        at 
android.os.Handler.dispatchMessage(Handler.java:92)
E/AndroidRuntime(  693):        at android.os.Looper.loop(Looper.java:123)
E/AndroidRuntime(  693):        at 
android.app.ActivityThread.main(ActivityThread.java:4203)
E/AndroidRuntime(  693):        at java.lang.reflect.Method.invokeNative(Native 
Method)
E/AndroidRuntime(  693):        at 
java.lang.reflect.Method.invoke(Method.java:521)
E/AndroidRuntime(  693):        at 
com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:791)
E/AndroidRuntime(  693):        at 
com.android.internal.os.ZygoteInit.main(ZygoteInit.java:549)
E/AndroidRuntime(  693):        at dalvik.system.NativeStart.main(Native Method)
I/Process (   88): Sending signal. PID: 693 SIG: 3
I/dalvikvm(  693): threadid=7: reacting to signal 3
E/wpa_supplicant(  123): wpa_driver_priv_driver_cmd RSSI len = 4096
E/wpa_supplicant(  123): wpa_driver_priv_driver_cmd DCHome rssi -61  len = 16, 
16
E/wpa_supplicant(  123): wpa_driver_priv_driver_cmd LINKSPEED len = 4096
E/wpa_supplicant(  123): wpa_driver_priv_driver_cmd LinkSpeed 54 len = 12, 12

Original issue reported on code.google.com by olub...@gmail.com on 30 Apr 2011 at 5:27