プロジェクト

全般

プロフィール

バグ #492

java.lang.SecurityException: Need ACCESS_COARSE_LOCATION or ACCESS_FINE_LOCATION permission to get scan results

みぞ @mizo0203 さんが約5年前に追加. 約5年前に更新.

ステータス:
完了
優先度:
通常
対象バージョン:
開始日:
2019/02/23
期日:
進捗率:

100%

予定工数:
作業時間:

説明

2019-02-23 23:23:05.614 5715-5756/com.mizo0203.BlueSprinkler W/Binder: Caught a RuntimeException from the binder stub implementation.
    java.lang.SecurityException: Need ACCESS_COARSE_LOCATION or ACCESS_FINE_LOCATION permission to get scan results
        at android.os.Parcel.createException(Parcel.java:1950)
        at android.os.Parcel.readException(Parcel.java:1918)
        at android.os.Parcel.readException(Parcel.java:1868)
        at android.bluetooth.IBluetoothGatt$Stub$Proxy.startScan(IBluetoothGatt.java:947)
        at android.bluetooth.le.BluetoothLeScanner$BleScanCallbackWrapper.onScannerRegistered(BluetoothLeScanner.java:460)
        at android.bluetooth.le.IScannerCallback$Stub.onTransact(IScannerCallback.java:57)
        at android.os.Binder.execTransact(Binder.java:731)

参考ページ: どうしてAndroid 6.0でBLEを使うのに位置情報のパーミッションが必要なワケ? - Qiita
参考ページ: hiro99ma blog: [android]位置情報許可が無いときに許可を求める

#1

みぞ @mizo0203 さんが約5年前に更新

  • ステータス新規 から 解決 に変更
  • 進捗率0 から 80 に変更

更新履歴 github|0196e9cebc54845e7cd98754f7410cb8c94591e9 で適用されました。

#2

みぞ @mizo0203 さんが約5年前に更新

  • ステータス解決 から 完了 に変更
  • 進捗率80 から 100 に変更
#3

みぞ @mizo0203 さんが約5年前に更新

  • 対象バージョンv1.0.1 にセット

他の形式にエクスポート: Atom PDF