我不知道为什么当我试图点击我的yelp api时,我得到了400个糟糕的请求错误。
Request failed with status code 400
- node_modules\axios\lib\core\createError.js:15:17 in createError
- node_modules\axios\lib\core\settle.js:16:9 in settle
- node_modules\axios\lib\adapters\xhr.js:52:6 in handleLoad
- node_modules\event-target-shim\dist\eve
我在react原生中有这段代码,我想做个测试:
const granted = await PermissionsAndroid.request(
PermissionsAndroid.PERMISSIONS.ACCESS_FINE_LOCATION,
{
title: 'Device current location permission',
message: 'Allow app to get your current location',
but
在React Native中获取Android上的用户位置时遇到问题,我已经设置了正确的权限,正在获取位置,但它无法返回到我的组件。在日志中看到以下内容
W/MessageQueue: Handler (android.location.LocationManager$ListenerTransport$1) {6456d95} sending message to a Handler on a dead thread
java.lang.IllegalStateExcept