Have you added the following Permission and Kindly check whether your Sender Id is in Live or not.
<uses-permission android:name="com.example.permission.C2D_MESSAGE" />
<!-- This app has permission to register and receive data message. -->
<uses-permission android:name="com.google.android.c2dm.permission.RECEIVE" />
<permission android:name="com.example.permission.C2D_MESSAGE"
android:protectionLevel="signature" />