百度地图只有网格 Authentication Error errorcode: -1 uid: -1 appid -1 msg: Current network is not available.
来源:互联网 发布:数据清洗入门与实践 编辑:程序博客网 时间:2024/05/10 14:17
在百度地图运行时, 只出现网格,错误日志是 Authentication Error errorcode: -1 uid: -1 appid -1 msg: Current network is not available.
我的错误原因是因为在manifest里不小心把百度提供的权限位置写到了<application>里,其实正确的位置是
<?xml version="1.0" encoding="utf-8"?><manifest xmlns:android="http://schemas.android.com/apk/res/android" package="com.example.mycarmap"> <!-- 百度API所需权限 --> <uses-permission android:name="android.permission.GET_ACCOUNTS" /> <uses-permission android:name="android.permission.USE_CREDENTIALS" /> <uses-permission android:name="android.permission.MANAGE_ACCOUNTS" /> <uses-permission android:name="android.permission.AUTHENTICATE_ACCOUNTS" /> <uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" /> <uses-permission android:name="android.permission.INTERNET" /> <uses-permission android:name="com.android.launcher.permission.READ_SETTINGS" /> <uses-permission android:name="android.permission.CHANGE_WIFI_STATE" /> <uses-permission android:name="android.permission.ACCESS_WIFI_STATE" /> <uses-permission android:name="android.permission.READ_PHONE_STATE" /> <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" /> <uses-permission android:name="android.permission.BROADCAST_STICKY" /> <uses-permission android:name="android.permission.WRITE_SETTINGS" /> <uses-permission android:name="android.permission.READ_PHONE_STATE" /> <application android:allowBackup="true" android:icon="@mipmap/ic_launcher" android:label="@string/app_name" android:supportsRtl="true" android:theme="@style/AppTheme"> <meta-data android:name="com.baidu.lbsapi.API_KEY" android:value="fkZzZH4LiLiZmtQVrVx6T7OuX932I" /> <activity android:name=".MainActivity"> <intent-filter> <action android:name="android.intent.action.MAIN" /> <category android:name="android.intent.category.LAUNCHER" /> </intent-filter> </activity> </application></manifest>
2 0
- 百度地图只有网格 Authentication Error errorcode: -1 uid: -1 appid -1 msg: Current network is not available.
- 百度地图:Authentication Error errorcode: 200 uid: -1 appid -1 msg: APP不存在
- 百度地图 Authentication Error errorcode: 230 uid: -1 appid -1 msg: APP Scode码校验失败
- 百度地图mapview出来只有方格子没地图Authentication Error errorcode: 230 uid: -1 appid -1 msg: APP Scode码校验失败
- 百度地图230错误 : Authentication Error errorcode: 230 uid: -1 appid -1 msg: APP Scode码校验失败
- 百度地图-Authentication Error errorcode: 230 uid: -1 appid -1 msg: APP Scode码校验失败
- 百度地图开发遇到错误:/baidumapsdk: Authentication Error errorcode: 230 uid: -1 appid -1 msg: APP Scode码校验失败
- 使用百度地图报错:Authentication Error errorcode: 230 uid: -1 appid -1 msg: APP Scode码校验失败
- 关于百度地图验证失败Authentication Error errorcode: -1 uid: -1 appid -1
- 关于使用百度地图安卓SDK的过程中出现“Authentication Error errorcode: 230 uid: -1 appid -1 msg: APP Scode码校验失败”的一个解决方法
- 百度地图appkey验证错误,错误码Authentication Error errorcode: 230 uid: -1 appid -1 msg: APP Scode码校验失败
- Authentication Error errorcode: 230 uid: -1 appid -1 msg: APP Scode码校验失败
- Authentication Error errorcode: 230 uid: -1 appid -1 msg: APP Scode码校验失败
- baidumapsdk: Authentication Error errorcode: 230 uid: -1 appid -1 msg: APP Scode码校验失败
- Authentication Error errorcode: 230 uid: -1 appid -1 msg: APP Scode码校验失败 的解决方法
- Android:Authentication Error errorcode: 230 uid: -1 appid -1 msg: APP Scode码校验失败
- baidumapsdk错误“”Authentication Error errorcode: 102 uid: null appid -1 msg: IP/SN/SCODE/REFERER Illeg
- 【BaiduMapSDK系列】baidumapsdk: Authentication Error errorcode: 230 uid: -1 appid -1 msg: APP Scode码校验失败
- NYOJ 整理图书(动态规划)
- 连通性总结
- Android应用程序安装过程源代码分析
- 说什么好呢
- oracle创建自增表
- 百度地图只有网格 Authentication Error errorcode: -1 uid: -1 appid -1 msg: Current network is not available.
- MarkDown常用小结
- xcodebuild自动化打包失败,返回65
- Shiro基础
- 对List中的某个属性进行排序
- 多线程-生产者消费者模式(1)
- 有关推送
- C#视频播放器
- C# 自定义控件,自定义属性,自定义事件