Comments (3)
是不是因为你这个key有问题导致的呢,纯安卓小白,想知道怎么申请替换自己的key
from simplicityweather.
之前因为把 key 暴露有人恶意刷直接导致我被封号,费了半天劲才解封,所以就把 key 跟注释掉了,你可以到高德上自己注册开发者账号,添加应用后替换项目中的 key 就好了
const String cityBaseUrl = "https://restapi.amap.com/v3/config/district?subdistrict=1&key=请使用自己的key&keywords=";
const String geoBaseUrl = "https://restapi.amap.com/v3/geocode/regeo?key=请使用自己的key&location=";
from simplicityweather.
非常感谢啊,原来是用自己的key就好了,感谢哈
from simplicityweather.
Related Issues (11)
- 项目怎么跑起来呢 HOT 1
- 没有开发桌面小部件吗 HOT 1
- 这个报错怎么解决呢?
- Flutter版本升级问题
- mac 跑不起来 HOT 2
- 疑惑:自动生成的代码 HOT 1
- 界面一直 loadding, 日志如下 HOT 20
- 还有一个问题,就是那个key替换完以后 定位是可以了,但是添加新城市的时候就都提示失败,是还有其他地方要替换的吗,就替换了 cityBaseUrl、geoBaseUrl、com.amap.api.v2.apikey这三个地方 HOT 4
- 在什么地方重新获取定位呢,我发现换个地区定位还是不变撒 HOT 1
- - HOT 1
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 simplicityweather.