mipush的receiver沒法得到消息,斷點也失效,緣由很奇葩strings.xml缺乏內容app
貌似mipush的sdk須要這裏面的條目日誌
<?xml version="1.0" encoding="utf-8"?> <resources> <string name="app_name">捷商匯</string> <string name="action_settings">Settings</string> <string name="hello_world">Hello world!</string> <string name="log">日誌</string> <string name="settings">設置</string> <string name="set_alias">設置別名</string> <string name="unset_alias">撤銷別名</string> <string name="set_account">設置賬號</string> <string name="unset_account">撤銷賬號</string> <string name="subscribe_topic">訂閱標籤</string> <string name="unsubscribe_topic">撤銷標籤</string> <string name="set_env">設置環境</string> <string name="set_accept_time">設置時間</string> <string name="pause_push">暫停推送</string> <string name="resume_push">恢復推送</string> <string name="current_env">當前環境:%s</string> <string name="official_env">線上環境</string> <string name="sandbox_env">沙箱環境</string> <string name="register_success">Register push success.</string> <string name="register_fail">Register push fail.</string> <string name="recv_passthrough_message"> Receive a passthrough message. Content is \"%1$s\"</string> <string name="click_notification_message"> Clicked a notification message. Content is \"%1$s\"</string> <string name="arrive_notification_message"> Arrived a notification message. Content is \"%1$s\"</string> <string name="set_alias_success"> Set alias \"%1$s\" success.</string> <string name="set_alias_fail"> Set alias fail for %1$s.</string> <string name="unset_alias_success"> Unset alias \"%1$s\" success.</string> <string name="unset_alias_fail"> Unset alias fail for %1$s.</string> <string name="set_account_success"> Set account \"%1$s\" success.</string> <string name="set_account_fail"> Set account fail for %1$s.</string> <string name="unset_account_success"> Unset account \"%1$s\" success.</string> <string name="unset_account_fail"> Unset account fail for %1$s.</string> <string name="subscribe_topic_success"> Subscribe topic \"%1$s\" success.</string> <string name="subscribe_topic_fail"> Subscribe topic fail for %1$s.</string> <string name="unsubscribe_topic_success"> Unsubscribe topic \"%1$s\" success.</string> <string name="unsubscribe_topic_fail"> Unsubscribe topic fail for %1$s.</string> <string name="set_accept_time_success"> Set accept time %1$s - %2$s success.</string> <string name="set_accept_time_fail"> Set accept time fail for %1$s.</string> </resources>