报错信息:The location function has been stopped because you do not agree with the privacy compliance policy. Please recheck the setAgreePrivacy interface
解决方法:
补上这行代码:LocationClient.setAgreePrivacy(true);