GithubHelp home page GithubHelp logo

定位失败 about citypicker HOT 5 CLOSED

zaaach avatar zaaach commented on July 17, 2024
定位失败

from citypicker.

Comments (5)

zaaach avatar zaaach commented on July 17, 2024

是的,需要自己去申请key

from citypicker.

wufannet avatar wufannet commented on July 17, 2024

谢谢了.建议key代码处直接注释需要 填写自己的key. 谢谢回答.

from citypicker.

JiangShuLiang avatar JiangShuLiang commented on July 17, 2024

我在manifest里填上自己的key,还是照样定位失败。

from citypicker.

JiangShuLiang avatar JiangShuLiang commented on July 17, 2024

关于定位失败:
1,尝试了在manifest里替换掉成自己的AppKey,无果,照样定位失败;
2,尝试了genymotion模拟器和真机运行,无果,照样定位失败;
3,尝试了把高德的错误信息log出来,显示错误码是2,错误信息是wifi信号不足。对照官网的错误表提供的解决方法是:重新尝试。无果,照样定位失败;
P.S:
(1)错误信息:location Error, ErrCode:2, errInfo:WIFI信息不足
(2)官网错误表地址:http://lbs.amap.com/api/android-location-sdk/guide/utilities/errorcode/#v2

最后想问作者,关于定位功能,还要哪儿是需要改动的吗?麻烦告知一下,先感谢了!
PS:看着很多个选择城市的demo,还是你这个做的最好集成。也做的很不错。感谢x3

from citypicker.

zaaach avatar zaaach commented on July 17, 2024

直接debug运行是定位失败的,需要打包签名apk才能定位成功,还有注意混淆的配置

from citypicker.

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.