现在的位置: 首页 > 综合 > 正文

service Intent “com.baidu.location.f”错误解决

2018年05月16日 ⁄ 综合 ⁄ 共 351字 ⁄ 字号 评论关闭

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>

问题解决。

抱歉!评论已关闭.