运行官方提供的demo,将其嵌入到app中,之前运行调试没问题,但是今天突然报错,请问是什么原因呢?
错误如下:
07-22 14:31:35.763 29426-29426/com.hwdvip.vipuser E/===AVOS Cloud===: LogUtil$avlog->e->49: AppId is null, Please call AVOSCloud.initialize first
07-22 14:31:35.809 29426-29426/com.hwdvip.vipuser E/===AVOS Cloud===: AVPersistenceUtils->removePersistentSettingString->404: applicationContext is null, Please call AVOSCloud.initialize first
07-22 14:31:35.809 29426-29426/com.hwdvip.vipuser E/===AVOS Cloud===: AVPersistenceUtils->removePersistentSettingString->404: applicationContext is null, Please call AVOSCloud.initialize first
07-22 14:31:35.809 29426-29426/com.hwdvip.vipuser E/===AVOS Cloud===: AVPersistenceUtils->getPersistentSettingString->394: applicationContext is null, Please call AVOSCloud.initialize first
07-22 14:31:35.820 29426-29426/com.hwdvip.vipuser E/===AVOS Cloud===: LogUtil$avlog->e->49: Please initialize Application first
07-22 14:31:35.825 29426-29426/com.hwdvip.vipuser E/===AVOS Cloud===: LogUtil$avlog->e->49: AppId is null, Please call AVOSCloud.initialize first
07-22 14:31:35.830 29426-29426/com.hwdvip.vipuser E/===AVOS Cloud===: LogUtil$avlog->e->49: AppId is null, Please call AVOSCloud.initialize first
07-22 14:31:35.830 29426-29426/com.hwdvip.vipuser E/com.avos.avoscloud.PushService: PushService->onStartCommand->199: Exception when init connection, looks like you have not called AVOSCloud.initialized yet err:java.lang.IllegalStateException: applicationContext is null, Please call AVOSCloud.initialize first
07-22 14:31:35.833 29426-29426/com.hwdvip.vipuser E/===AVOS Cloud===: LogUtil$avlog->e->49: Please initialize Application first
07-22 14:31:37.931 29426-29426/com.hwdvip.vipuser A/libc: Fatal signal 6 (SIGABRT), code -6 (SI_TKILL) in tid 29426 (.hwdvip.vipuser), pid 29426 (.hwdvip.vipuser)