关于权限

04-20 22:47:12.212 15589-15589/com.wch.a360test E/AndroidRuntime: FATAL EXCEPTION: main

Process: com.wch.a360test, PID: 15589

java.lang.RuntimeException: Unable to start activity ComponentInfo{tf56.goodstaxiowner/tf56.goodstaxiowner.view.module.enter.GuideActivity}: java.lang.RuntimeException: Unable to create application tf56.goodstaxiowner.TfApplication: java.lang.SecurityException: Need BLUETOOTH permission: Neither user 10103 nor current process has android.permission.BLUETOOTH.

at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2502)

at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2562)

at android.app.ActivityThread.access$1100(ActivityThread.java:165)

at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1430)

at com.wch.a360test.Activity.CallBackHandler.handleMessage(CallBackHandler.java:32)

at android.os.Handler.dispatchMessage(Handler.java:98)

at android.os.Looper.loop(Looper.java:179)

at android.app.ActivityThread.main(ActivityThread.java:5672)

at java.lang.reflect.Method.invoke(Native Method)

at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:784)

at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:674)

Caused by: java.lang.RuntimeException: Unable to create application tf56.goodstaxiowner.TfApplication: java.lang.SecurityException: Need BLUETOOTH permission: Neither user 10103 nor current process has android.permission.BLUETOOTH.

at android.app.LoadedApk.makeApplication(LoadedApk.java:632)

at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2420)

at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2562)

at android.app.ActivityThread.access$1100(ActivityThread.java:165)

at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1430)

at com.wch.a360test.Activity.CallBackHandler.handleMessage(CallBackHandler.java:32)

at android.os.Handler.dispatchMessage(Handler.java:98)

at android.os.Looper.loop(Looper.java:179)

at android.app.ActivityThread.main(ActivityThread.java:5672)

at java.lang.reflect.Method.invoke(Native Method)

at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:784)

at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:674)

Caused by: java.lang.SecurityException: Need BLUETOOTH permission: Neither user 10103 nor current process has android.permission.BLUETOOTH.

at android.os.Parcel.readException(Parcel.java:1630)

at android.os.Parcel.readException(Parcel.java:1583)

at android.bluetooth.IBluetoothManager$Stub$Proxy.getAddress(IBluetoothManager.java:349)

at android.bluetooth.BluetoothAdapter.getAddress(BluetoothAdapter.java:986)

at com.etransfar.module.common.a.b(Unknown Source)

at com.etransfar.module.common.a.l(Unknown Source)

at com.etransfar.module.common.a.j(Unknown Source)

at tf56.goodstaxiowner.TfApplication.initBugly(Unknown Source)

at tf56.goodstaxiowner.TfApplication.onCreate(Unknown Source)

at android.app.Instrumentation.callApplicationOnCreate(Instrumentation.java:1014)

at android.app.LoadedApk.makeApplication(LoadedApk.java:629)

at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2420)

at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2562)

at android.app.ActivityThread.access$1100(ActivityThread.java:165)

at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1430)

at com.wch.a360test.Activity.CallBackHandler.handleMessage(CallBackHandler.java:32)

at android.os.Handler.dispatchMessage(Handler.java:98)

at android.os.Looper.loop(Looper.java:179)

at android.app.ActivityThread.main(ActivityThread.java:5672)

at java.lang.reflect.Method.invoke(Native Method)

at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:784)

at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:674)

你可能感兴趣的:(关于权限)