百度地图andriod开发

android.view.View android.view.View.findViewById(int)' on a null object reference,这个是为啥呀

有没有申请定位权限?

你实例化这里为啥要try起来,这里报错了,肯定是null啊,你要解决报错的问题,而不是try起来就完事了。先看报什么异常,再解决问题

mLocationClient = new LocationClient(this.getApplicationContext());