Android 百度地图 错误230 uid: -1 appid -1 msg: APP Scode码校验失败

这个错误其实就是API_KEY不正确了,我的解决办法是重新申请一个,大笑,API_KEY在AndroidManifest.xml

如下:

 <meta-data
            android:name="com.baidu.lbsapi.API_KEY"
            android:value="39t5SNsn2kq2jQegi9iH7hzc" />

即按照百度地图教程重新申请一个。


包名:


数字签名:eclipse->windows->Preference,下图红框部分。



以上就是解决过程,希望会有帮助。


C01120/foundation/BMS: caller not shell 11-19 08:10:14.284 1590 58510 I C05A01/foundation/ATM: [GetKernelPermissions:782]TokenID=537231906. 11-19 08:10:14.285 3049 3049 I A01A00/com.ohos.sceneboard/SYS_UI: StatusBarBackground: aboutToAppear StatusBarBackground 11-19 08:10:14.285 1590 58510 I C01311/foundation/AppMS: [AMSI4249]apl: normal, com.huawei.hmos.screenrecorder, startFlags: 2048, u: 100 11-19 08:10:14.285 1590 58510 I C01300/foundation/AAFwk: [task_handler_wrap56]Invalid status 11-19 08:10:14.285 1590 58510 I C02C11/foundation/APPSPAWN_CLIENT: [appspawn_client.c:436]AppSpawnClientSendMsg reqId: 6315 msgLen: 2020 fd: 121 com.huawei.hmos.screenrecorder 11-19 08:10:14.285 589 589 I C02C11/appspawn/APPSPAWN: [appspawn_service.c:442]connectionId:2 buffLen:2020 11-19 08:10:14.285 589 589 I C02C11/appspawn/APPSPAWN: [appspawn_service.c:1780]Recv message header magic 0xef201234 type 0 id 6261 len 2020 com.huawei.hmos.screenrecorder 11-19 08:10:14.285 589 589 W C02C11/appspawn/APPSPAWN: [sandbox_shared_mount.cpp:199]umount2 /mnt/sandbox/100/com.huawei.hmos.screenrecorder/data/storage/el1/bundle failed, errno 22 11-19 08:10:14.285 589 589 I C02C11/appspawn/APPSPAWN: mount path /mnt/sandbox/100/com.huawei.hmos.screenrecorder/data/storage/el1/bundle to shared success 11-19 08:10:14.285 589 589 I C02C11/appspawn/APPSPAWN: lockStatus 100 0 11-19 08:10:14.285 589 589 I C02C11/appspawn/APPSPAWN: AppSpawn msgId:6261 msgLen:2020 tlvCount:6 processName:com.huawei.hmos.screenrecorder 11-19 08:10:14.285 589 589 I C02C11/appspawn/APPSPAWN: com.huawei.hmos.screenrecorder 0 App flags:0x800 11-19 08:10:14.285 589 589 I C02C11/appspawn/APPSPAWN: com.huawei.hmos.screenrecorder 1 App flags:0x4 11-19 08:10:14.285 589 589 I C02C11/appspawn/APPSPAWN: com.huawei.hmos.screenrecorder 0 App permission bits flags:0x0 11-19 08:10:14.285 589 589 I C02C11/appspawn/APPSPAWN: com.huawei.hmos.screenrecorder 1 App permission bits flags:0x0 11-19 08:10:14.285 589 589 I C02C11/appspawn/APPSPAWN: uid:20020157 gid:20020157 count:1 11-19 08:10:14.285 589 589 I C02C11/appspawn/APPSPAWN: App BundleName:com.huawei.hmos.screenrecorder index:0 11-19 08:10:14.285 589 589 I C02C11/appspawn/APPSPAWN: apl:normal 0x1 11-19 08:10:14.286 3049 3049 I C03942/com.ohos.sceneboard/AceTextClock: [(100000:100000:scope)] Clock is visible and clock starts running 11-19 08:10:14.286 3049 3049 I C03942/com.ohos.sceneboard/AceTextClock: [(100000:100000:scope)] Clock is visible and clock starts running 11-19 08:10:14.286 58527 58527 I C02C11/appspawn/APPSPAWN: AppSpawnChild id 6260 flags:0x8 11-19 08:10:14.286 58527 58527 I C02C02/PARAM: [param_request.c:326]ResetParamSecurityLabel Fd:19 11-19 08:10:14.287 58527 58527 I C02D33/com.huawei.hmos.screenrecorder/HitraceOption: FilterAppTrace com.huawei.hmos.screenrecorder 58527 11-19 08:10:14.287 3049 3049 I A01A00/com.ohos.sceneboard/SYS_UI: GroupBackgroundEffect --> aboutToAppear GroupBackgroundEffect left_group 11-19 08:10:14.288 3049 3049 I A01A00/com.ohos.sceneboard/SYS_UI: GroupBackgroundEffect --> LightNess: 100 colorStr: #FFFFFFFF 11-19 08:10:14.288 3049 3049 I A01A00/com.ohos.sceneboard/SYS_UI: StatusBarHeightVm: preSetShowHeight setName: GroupBackgroundEffect newHeight: 58 changeHotArea: false 11-19 08:10:14.288 3049 3049 I A01A00/com.ohos.sceneboard/SYS_UI: StatusBarHeightVm: checkHeightChange: cacheUseHeight 58 maxHeight 58 maxHotArea: 39 11-19 08:10:14.289 3049 3049 I A01A00/com.ohos.sceneboard/SYS_UI: StatusBarBridgeView: change bar statusBarType: from 2 to 2 11-19 08:10:14.289 3049 3049 I C03F01/com.ohos.sceneboard/NAPI: taskpool:: Task PerformTask End: 2382625920 11-19 08:10:14.289 3049 58473 I C02B61/com.ohos.sceneboard/ImageCode: ImageSource::UpdateXmageCoordinatesFromExif cost 15 us 11-19 08:10:14.289 3049 3049 I A01B00/com.ohos.sceneboard/SCB: TaskpoolUtil: task sequenceExecute 11-19 08:10:14.289 3049 3049 I A01B00/com.ohos.sceneboard/SCB: TaskpoolUtil: task sequenceExecute finally 11-19 08:10:14.290 3049 3049 I A01B04/com.ohos.sceneboard/CC: Ctrl.IOTMainPage: error get iotRoot 100001 11-19 08:10:14.291 3049 58473 I C02B61/com.ohos.sceneboard/ImageSource: CreatePixelMap success, id:1763511014289715,dSize:560,232,sSize:560,232,dHdr:1,sHdr:1,memType:2,cost 1335 us 11-19 08:10:14.292 6033 22122 W C01401/anco_service_broker/Bufferqueue: <buffer_utils.cpp:141-ReadSurfaceBufferImpl>: sequence is invalid: 395421001 11-19 08:10:14.292 6033 22122 W C01401/anco_service_broker/Bufferqueue: <surface_buffer_impl.cpp:182-SurfaceBufferImpl>: SurfaceBufferImpl error, sequence is exist, seq: 395421001 11-19 08:10:14.293 3049 3049 I C03942/com.ohos.sceneboard/AceTextClock: [(100000:100000:scope)] Clock is in the visible area and clock starts running 11-19 08:10:14.293 3049 3049 I C03942/com.ohos.sceneboard/AceTextClock: [(100000:100000:scope)] Clock is in the visible area and clock starts running 11-19 08:10:14.300 58527 58527 I C02C11/com.huawei.hmos.screenrecorder/APPSPAWN: errno:2 bind mount /system/data to /mnt/sandbox/100/com.huawei.hmos.screenrecorder/system/data 11-19 08:10:14.301 58527 58527 I C02C11/com.huawei.hmos.screenrecorder/APPSPAWN: file /mnt/sandbox/100/com.huawei.hmos.screenrecorder/data/service/el1/public/hosts_user/hosts already exist 11-19 08:10:14.301 58527 58527 I C02C11/com.huawei.hmos.screenrecorder/APPSPAWN: errno:2 bind mount /system/etc/hosts to /mnt/sandbox/100/com.huawei.hmos.screenrecorder/data/service/el1/public/hosts_user/hosts 11-19 08:10:14.301 58527 58527 I C02C11/com.huawei.hmos.screenrecorder/APPSPAWN: errno:2 bind mount /vendor/lib to /mnt/sandbox/100/com.huawei.hmos.screenrecorder/vendor/lib 11-19 08:10:14.305 58527 58527 I C02C11/com.huawei.hmos.screenrecorder/APPSPAWN: errno:2 bind mount /data/app/el1/public/aot_compiler/ark_cache/com.huawei.hmos.screenrecorder to /mnt/sandbox/100/com.huawei.hmos.screenrecorder/data/storage/ark-cache 11-19 08:10:14.305 58527 58527 I C02C11/com.huawei.hmos.screenrecorder/APPSPAWN: check dir /data/app/el1/public/aot_compiler/ark_cache/com.huawei.hmos.screenrecorder failed,strerror:No such file or directory 11-19 08:10:14.306 58527 58527 I C02C11/com.huawei.hmos.screenrecorder/APPSPAWN: errno:13 private mount to /mnt/sandbox/100/com.huawei.hmos.screenrecorder/data/service/el0/public/for-all-app '524288' failed 11-19 08:10:14.306 6033 22122 W C01401/anco_service_broker/Bufferqueue: <buffer_utils.cpp:141-ReadSurfaceBufferImpl>: sequence is invalid: 395421005 11-19 08:10:14.306 6033 22122 W C01401/anco_service_broker/Bufferqueue: <surface_buffer_impl.cpp:182-SurfaceBufferImpl>: SurfaceBufferImpl error, sequence is exist, seq: 395421005 11-19 08:10:14.308 58527 58527 I C02C11/com.huawei.hmos.screenrecorder/APPSPAWN: errno:2 bind mount /chip_prod/etc/passthrough to /mnt/sandbox/100/com.huawei.hmos.screenrecorder/chip_prod/etc/passthrough 11-19 08:10:14.309 58527 58527 I C02C11/com.huawei.hmos.screenrecorder/APPSPAWN: errno:13 private mount to /mnt/sandbox/100/com.huawei.hmos.screenrecorder/vendor/etc/vulkan '524288' failed 11-19 08:10:14.310 58527 58527 I C02C11/com.huawei.hmos.screenrecorder/APPSPAWN: errno:2 bind mount /vendor/etc/silk to /mnt/sandbox/100/com.huawei.hmos.screenrecorder/vendor/etc/silk 11-19 08:10:14.310 58527 58527 I C02C11/com.huawei.hmos.screenrecorder/APPSPAWN: errno:2 bind mount /system/asan/lib64 to /mnt/sandbox/100/com.huawei.hmos.screenrecorder/system/asan/lib64 11-19 08:10:14.310 58527 58527 I C02C11/com.huawei.hmos.screenrecorder/APPSPAWN: errno:2 bind mount /vendor/asan/lib64 to /mnt/sandbox/100/com.huawei.hmos.screenrecorder/vendor/asan/lib64 11-19 08:10:14.310 58527 58527 I C02C11/com.huawei.hmos.screenrecorder/APPSPAWN: errno:13 private mount to /mnt/sandbox/100/com.huawei.hmos.screenrecorder/chip_prod/lib64/passthrough '524288' failed 11-19 08:10:14.311 58527 58527 I C02C11/com.huawei.hmos.screenrecorder/APPSPAWN: errno:2 bind mount /system/app/ohos.global.systemres to /mnt/sandbox/100/com.huawei.hmos.screenrecorder/data/global/systemResources 11-19 08:10:14.312 58527 58527 I C02C11/com.huawei.hmos.screenrecorder/APPSPAWN: errno:2 bind mount /data/preload/app to /mnt/sandbox/100/com.huawei.hmos.screenrecorder/data/preload/app 11-19 08:10:14.316 58527 58527 I C02C11/com.huawei.hmos.screenrecorder/APPSPAWN: path /storage/Users/currentUser/Download/com.huawei.hmos.screenrecorder mode 0x3 11-19 08:10:14.316 58527 58527 E C05A06/com.huawei.hmos.screenrecorder/CODE_SIGN: [XpmIoctl]:Ioctl cmd 40087803 failed: Invalid argument (ignore) 11-19 08:10:14.317 58527 58527 E C05A03/com.huawei.hmos.screenrecorder/Selinux: Read /version/etc/selinux/product_config failed, errno: No such file or directory 11-19 08:10:14.321 58527 58527 I C05A05/com.huawei.hmos.screenrecorder/SecCompEnhanceClient: [RegisterCheckCallback]Register secComp: sessionId=4060566908, seqNum=******018. 11-19 08:10:14.323 968 968 I C05A01/accesstoken_service/ATM: [RegisterSecCompEnhance:1695]Pid: 0 11-19 08:10:14.323 968 968 I C05A01/accesstoken_service/ATM: [RegisterSecCompEnhance:123]Register sec comp enhance success, pid 58527, total 57. 11-19 08:10:14.323 58527 58527 I C02D0B/com.huawei.hmos.screenrecorder/HICHECKER: hichecker param is empty. 11-19 08:10:14.323 58527 58527 I C04500/com.huawei.hmos.screenrecorder/webview: SelectWebcoreBeforeProcessRun: SelectWebcoreBeforeProcessRun for app com.huawei.hmos.screenrecorder. 11-19 08:10:14.323 58527 58527 I C02C11/com.huawei.hmos.screenrecorder/APPSPAWN: ClearEnvAndReturnSuccess 4 11-19 08:10:14.323 58527 58527 I C01317/com.huawei.hmos.screenrecorder/AppKit: [MAINTHD3020]mainthread start, pid:58527 11-19 08:10:14.323 589 589 I C02C11/appspawn/APPSPAWN: [appspawn_service.c:1053]Child process com.huawei.hmos.screenrecorder success pid 58527 appId: 6260 result: 0 11-19 08:10:14.323 589 589 I C02C11/appspawn/APPSPAWN: [appspawn_appmgr.c:169]Add com.huawei.hmos.screenrecorder, pid=58527 success 11-19 08:10:14.323 589 589 I C02C11/appspawn/APPSPAWN: [appspawn_service.c:602]watch app process pid 58527, pidFd 82 11-19 08:10:14.324 589 589 I C02C11/appspawn/APPSPAWN: [appspawn_service.c:266]SendMessageComplete connectionId: 2 result 0 app com.huawei.hmos.screenrecorder pid 58527 11-19 08:10:14.324 1590 58510 I C02C11/foundation/APPSPAWN_CLIENT: [appspawn_client.c:444]AppSpawnClientSendMsg reqId: 6315 fd: 121 end result: 0x0 pid: 58527 11-19 08:10:14.324 1590 58510 I C01311/foundation/AppMS: [ASC633]pid58527 11-19 08:10:14.324 1590 58510 I C01311/foundation/AppMS: [AMSI4472]spawned pname: com.huawei.hmos.screenrecorder pid: 58527 11-19 08:10:14.324 1707 1914 I C02B91/av_session/AVSession: [HandleAppStateChanged]uid=20020157|pid=58527|state=0 11-19 08:10:14.324 754 47091 I C02B87/audio_server/AudioServiceAppStateListener: [OnAppStateChanged]app state changed, bundleName=com.huawei.hmos.screenrecorder uid=20020157 pid=58527 state=0 11-19 08:10:14.325 1590 58510 W C01336/foundation/AMS: [resident_process_manager269]rdbResult: 5 11-19 08:10:14.325 754 47091 W C02B8B/audio_server/DfxMsgManager: [CheckCanAddAppInfo]skip system app dfx msg.., appuid=20020157 11-19 08:10:14.325 58527 58527 I C01317/com.huawei.hmos.screenrecorder/AppKit: [MAINTHD416]attach 11-19 08:10:14.326 1590 58510 I C01311/foundation/AppMS: [AMSI1461]attach com.huawei.hmos.screenrecorder pid:58527 11-19 08:10:14.326 1590 58510 I C01311/foundation/AppMS: [ARR538]Launch pending abilities. 11-19 08:10:14.327 904 58432 I C0470A/resource_schedule_service/GameServicePerf: [a92abb0ae64fba7 0 0][(DispatchResource:233)]GameServiceScenePlugin recv event: type=1 value=0 payload=<private> 11-19 08:10:14.327 754 47091 I C02B87/audio_server/AudioServiceAppStateListener: [OnAppStateChanged]app state changed, bundleName=com.huawei.hmos.screenrecorder uid=20020157 pid=58527 state=99 11-19 08:10:14.327 1707 1914 I C02B91/av_session/AVSession: [HandleAppStateChanged]uid=20020157|pid=58527|state=99 11-19 08:10:14.327 1590 58495 I C01311/foundation/AppMS: [ASOM649]b:com.huawei.hmos.screenrecorder pid:58527 u:20020157 pt:1 et:3 pName:com.huawei.hmos.screenrecorder ru:-1 tMode:0 cPid:3049 cU:20020018 11-19 08:10:14.327 904 58489 I C01735/resource_schedule_service/LOWPOWER_MANAGER: [a92abb0ae64fba7 0 0][IsContainerFrontApp:496] anco app is visible 11-19 08:10:14.327 904 58436 I C0470A/resource_schedule_service/GameServicePerf: [a92abc0ae650016 0 0][(DispatchResource:233)]GameServiceScenePlugin recv event: type=4 value=0 payload=<private> 11-19 08:10:14.327 904 58436 I C01702/resource_schedule_service/CgroupEventHandler: [a92abc0ae650016 0 0]HandleProcessCreated : 20020157, 58527, 0, 1, com.huawei.hmos.screenrecorder, 3 11-19 08:10:14.327 904 58436 I C01702/resource_schedule_service/CgroupAdjuster: [a92abc0ae650016 0 0]AdjustProcessGroup for 58527, source : 3 11-19 08:10:14.328 904 58433 I C01703/resource_schedule_service/socperf: [a92abc0ae650016 0 0][HandleProcessStateChange]: SocPerfPluginExt::ProcessStateChange value=0 type=1 pid=58527 11-19 08:10:14.328 904 58378 I C01731/resource_schedule_service/SUSPEND_MSG: [a92abc0ae650016 0 0]20020157_com.huawei.hmos.screenrecorder_58527 create, type:1_3_0 11-19 08:10:14.328 904 58434 I C01702/resource_schedule_service/CgroupAdjuster: [a92abc0ae650016 0 0]ApplyProcessGroup Set 58527's cgroup from 255 to 0. 11-19 08:10:14.328 904 6040 I C01735/resource_schedule_service/LOWPOWER_MANAGER: [a92abb0ae64fba7 0 0][ProcessEvent:36] event 1 process 11-19 08:10:14.328 771 771 I C01707/concurrent_task_service/CONCUR: [a92abb0ae64fba7 0 0][ProcMgr] app 58527 start, 2AAA size()=52 11-19 08:10:14.328 904 1156 I C01718/resource_schedule_service/StandbyService: [OnProcessStatusChanged:922] process status change, uid: 20020157, pid: 58527, name: com.huawei.hmos.screenrecorder, alive: 1 11-19 08:10:14.328 904 58376 I C01704/resource_schedule_service/TagSched: [a92abc0ae650016 0 0][SetQosRealtimeTask]ThreadModifyQos,setQos 58527 tid[58527], qos[7] 11-19 08:10:14.329 904 58379 I C01705/resource_schedule_service/IOLIMIT: [a92abc0ae650016 0 0][(CheckIsRemoveAndSystem):399] com.huawei.hmos.screenrecorder is system app 11-19 08:10:14.330 904 1166 I C01713/resource_schedule_service/SUSPEND_MANAGER: [a92abc0ae650016 0 0]add freeze unit: 20020157_com.huawei.hmos.screenrecorder, C_[(0,0,0,0,1)], T_0, R_0, S_0, pT_0, eT_3, cC_0, [58527_0_0][] 11-19 08:10:14.330 904 1166 I C01731/resource_schedule_service/SUSPEND_MSG: [a92abc0ae650016 0 0]pid:58527, detectStatus:1, timeoutDuration:11000 11-19 08:10:14.330 6033 22122 W C01401/anco_service_broker/Bufferqueue: <buffer_utils.cpp:141-ReadSurfaceBufferImpl>: sequence is invalid: 395421002 11-19 08:10:14.330 6033 22122 W C01401/anco_service_broker/Bufferqueue: <surface_buffer_impl.cpp:182-SurfaceBufferImpl>: SurfaceBufferImpl error, sequence is exist, seq: 395421002 11-19 08:10:14.331 58527 58527 E C01317/com.huawei.hmos.screenrecorder/AppKit: [MAINTHD3855]developer Mode false 11-19 08:10:14.331 58527 58619 I C01317/com.huawei.hmos.screenrecorder/AppKit: [MAINTHD810]ScheduleLaunchAbility called, ability com.huawei.hmos.screenrecorder.ServiceExtAbility, type is 5. 11-19 08:10:14.331 838 56758 I C02699/memmgrservice/MM: OnProcessCreated 20020157,58527,com.huawei.hmos.screenrecorder,com.huawei.hmos.screenrecorder,0,0,1,0 11-19 08:10:14.331 838 58427 I C02699/memmgrservice/MM: UpdatePriorityLocked CRE: 58527, 20020157, 200, [], 00000 11-19 08:10:14.332 974 58419 I C015B5/netmanager/NetMgrEnhanced: OnAppStarted appName:com.huawei.hmos.screenrecorder uid:20020157 pid:58527 state:0 11-19 08:10:14.332 974 58419 I C015B5/netmanager/NetMgrEnhanced: NotifyAbilityStateChanged:uid=2******7, pid=58527, state=0, abilityName=com.huawei.hmos.screenrecorder.ServiceExtAbility 11-19 08:10:14.333 3049 3049 I A01A00/com.ohos.sceneboard/SYS_UI: AppLifeCycleManager: StateChanged, state is not page com.huawei.hmos.screenrecorder_phone_com.huawei.hmos.screenrecorder.ServiceExtAbility_58527 11-19 08:10:14.334 58527 58527 I C03900/com.huawei.hmos.screenrecorder/ACE_UIContent: [69]AceForwardCompatibility [com.huawei.hmos.screenrecorder] force:1 newpipe:1
最新发布
11-27
{"code":-401,"msg":"请登录!"}表示需要登录才能进行某项操作。这个错误消息是由后端服务器返回的,提示用户需要提供有效的身份验证信息以进行进一步操作。具体的解决方法可能因具体情况而异,以下是一般的解决方法: 1. 检查登录状态:确保你已经成功登录,并且已获得有效的身份验证凭据。 2. 检查登录凭据:确认你提供的登录凭据是否正确且有效。包括用户名、密、令牌等。如果你使用的是令牌验证方式,确保令牌没有过期或被撤销。 3. 检查网络连接:确保你的设备已经连接到可用的网络。如果你在使用某个需要网络连接的功能时出现错误,请检查你的网络设置并重新连接。 4. 查看错误信息:仔细阅读错误消息中的详细信息,检查是否有其他相关的错误或提示。根据具体的错误信息,进行相应的排查和解决。 综上所述,当你遇到{"code":-401,"msg":"请登录!"}错误时,首先要确认自己的登录状态和凭据是否正确,并检查网络连接情况。如果问题仍然存在,请根据错误提示进一步排查并查找解决方案。<span class="em">1</span><span class="em">2</span><span class="em">3</span> #### 引用[.reference_title] - *1* *2* [【咸鱼日志】接入百度地图只出现网格 errorcode: -10 uid: -1 appid -1 msg: Current network is not ...](https://blog.youkuaiyun.com/Arthur_diyun/article/details/88942640)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v93^chatsearchT3_2"}}] [.reference_item style="max-width: 50%"] - *3* [【微信】request:fail errcode:-202 cronet_error_code:-202 error_msg:net::ERR_CERT_AUT](https://blog.youkuaiyun.com/qq_40881695/article/details/125107653)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v93^chatsearchT3_2"}}] [.reference_item style="max-width: 50%"] [ .reference_list ]
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值