Giter Site home page Giter Site logo

扫描超时 about ble HOT 3 OPEN

tangxunT avatar tangxunT commented on May 23, 2024
扫描超时

from ble.

Comments (3)

tangxunT avatar tangxunT commented on May 23, 2024 2

找到原因了。
设备环境:一加手机5(OnePlus 5),Android 10。
原因:Manifest.xml中只声明了android.permission.ACCESS_COARSE_LOCATION权限,缺少android.permission.ACCESS_FINE_LOCATION权限。
解决方法:添加上android.permission.ACCESS_FINE_LOCATION就ok了。
备注:我clone你的代码,看了baseble和newapp这两个module,只是声明了ACCESS_COARSE_LOCATION权限,没有声明android.permission.ACCESS_FINE_LOCATION权限,但运行在我的手机上却没问题。新建项目按照集成文档集成后该库后,不声明android.permission.ACCESS_FINE_LOCATION却一直扫描超时,不知为何?

from ble.

Vincentqyw avatar Vincentqyw commented on May 23, 2024

相同的问题,请问您解决了吗?如果解决了,请问是如何解决的,谢谢!

from ble.

Vincentqyw avatar Vincentqyw commented on May 23, 2024

我尝试将安卓 SDK Version 改为 28 就可以了,这个项目貌似不支持新版本的安卓API

from ble.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.