Comments (5)
是的,需要自己去申请key
from citypicker.
谢谢了.建议key代码处直接注释需要 填写自己的key. 谢谢回答.
from citypicker.
我在manifest里填上自己的key,还是照样定位失败。
from citypicker.
关于定位失败:
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.
直接debug运行是定位失败的,需要打包签名apk才能定位成功,还有注意混淆的配置
from citypicker.
Related Issues (20)
- 根据定位获取到省市,但是城市编码怎么获取的
- 状态栏透明,能看到覆盖的页面沉浸式状态的内容 HOT 1
- 在fragment中使用会闪退 HOT 2
- 城市信息没有位置信息 HOT 1
- 能否支持多选功能
- 在热门区域上面是否可以添加选择的历史记录 HOT 2
- 修改状态栏颜色
- 您好在activity中使用 但是报了库里面的错误能帮忙看下吗 HOT 1
- 打开城市选择列表时比较慢 HOT 2
- 搜不到**啊?为啥能搜到台北?什么操作? HOT 2
- 列表联动
- 我在fragment,点击显示城市选择后,点击搜索,出现软键盘,取消后,fragment出现软键盘 HOT 7
- 玩完 HOT 3
- 一个ActivityGroup套4个activity,在其中的一个HomeActivity加入你的库和默认主题,一进来就崩溃
- 内存泄漏 HOT 1
- 数据可以自己插入吗 HOT 2
- android.view.InflateException: Binary XML file line #7: Binary XML file line #12: Error inflating class EditText HOT 2
- 我想去掉定位城市那一行,请问应该怎么去掉?谢谢
- 可否设计成在xml中使用
- 可以去掉定位模块吗? HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from citypicker.