使用极光推送的时候,把jar包代码都集成好了,APPKEY也设置好了,测试推送一下,发现手机端无法收到消息,仔细检查后发现忽略了一个权限,
特别要加上这个权限
<!-- Required -->
<permission
android:name="应用包名.permission.JPUSH_MESSAGE"
android:protectionLevel="signature" />
补充:JPushInterface.getRegistrationID(context);通过这个方法获取注册id;