WARN/ActivityManager(60): Unable to start service Intent { cmp=com.android.internetenable/.ToggleService (has extras) }: not found
Source as in AndroidManifest.xml
<receiver android:name=".IntEnableActivity" android:label="My App Widget">
<intent-filter>
<action android:name="android.appwidget.action.APPWIDGET_UPDATE" />
<action android:name="android.net.conn.CONNECTIVITY_CHANGE" /> </intent-filter>
<meta-data
android:name="android.appwidget.provider"
android:resource="@xml/my_widget_layout"
/>
<service android:name=".ToggleService" />
</receiver>
Solution:
The error was wrongly misplacing service inside receiver tag
No comments:
Post a Comment