怎么说
getLocation:fail the api need to be declared in the requiredPrivateInfos field in app.json/ext.json
getLocation:失败的api需要在app.json/ext.json的requiredPrivateInfos字段中声明
解决办法
在
"requiredPrivateInfos": [
"getLocation",
"onLocationChange",
"startLocationUpdateBackground"
"chooseAddress"
]