1。 详细错误:
在进行百度地图开发时,定位功能总是报错,如下:
Unable to start service Intent { cmp=com.actionbarsherlock.sample.fragments/com.baidu.location.f }: not found
2。 分析与解决:
service没有找到,那么,去manifest文件中看一下,果然没有加入这个internt,
解决:将对应的internt加到manifest文件中,如下:
<service
android:name="com.baidu.location.f"
android:enabled="true"
android:process=":remote" >
</service>
问题解决。