Search code examples
androidbroadcastreceiver

Broadcastreceiver declared in manifest gets no output to Log.d


I have declared MyBroadcastReceiver on the manifest. My class is extending BroadcastReceiver. When I try to get a reaction from it neither System.out.println prints something nor Log.d - the only way to get info from the system is via Toast. Is is possible to get it to work or this is just the way it is.

API min and max = 16. I am using an Android-version (as opposed to Google) I am using an emulator Android API 16.


Solution

  • Try setting android:debuggable="true" in the <application> tag in your AndroidManifest.xml.