jpush / jverify-flutter-plugin

JPush's officially supported Flutter plugin (Android & iOS). 极光推送官方支持的 Flutter 插件(Android & iOS)。
https://docs.jiguang.cn
MIT License
117 stars 64 forks source link

android初始化失败 #152

Open 657447158 opened 2 years ago

657447158 commented 2 years ago

按照文档来配置的。日志如下:

Performing hot restart... Syncing files to device Mi 10... Restarted application in 1,418ms. I/flutter (29826): | JVER | Flutter | setDebugMode I/flutter (29826): | JVER | Flutter | setup D/| JVER | Android | -(29826): onMethodCall:setDebugMode D/| JVER | Android | -(29826): processMethod:setDebugMode D/| JVER | Android | -(29826): Action - setDebugMode: D/| JVER | Android | -(29826): onMethodCall:setup D/| JVER | Android | -(29826): processMethod:setup D/| JVER | Android | -(29826): Action - setup: D/JIGUANG-VERIFICATION(29826): [VerifyConfig] config expired . refresh config D/JIGUANG-VERIFICATION(29826): [VerifyConfig] [fetch] fetch remote config start . W/JIGUANG-VERIFICATION(29826): [VerifyConfig] fetch failed, msg=appSign or bundleId invalid D/JIGUANG-VERIFICATION(29826): [VerifyConfig] [fetch] fetch remote config failed. lasts = 107 I/flutter (29826): handleMethod method = onReceiveSDKSetupCallBackEvent I/flutter (29826): receive sdk setup call back event :{code: 8004, message: init failed.} I/flutter (29826): | JVER | Flutter | checkVerifyEnable D/| JVER | Android | -(29826): onMethodCall:checkVerifyEnable D/| JVER | Android | -(29826): processMethod:checkVerifyEnable D/| JVER | Android | -(29826): Action - checkVerifyEnable: D/JIGUANG-VERIFICATION(29826): [AndroidUtils] [hasSimCard] sim states. ABSENT,LOADED W/Settings(29826): Setting airplane_mode_on has moved from android.provider.Settings.System to android.provider.Settings.Global, returning read-only value. D/ConnectivityManager(29826): getMobileDataEnabled()+ subId=1 D/ConnectivityManager(29826): getMobileDataEnabled()- subId=1 retVal=true I/JIGUANG-VERIFICATION(29826): [AndroidUtils] is mobile data enabled . = true W/.zrtec.mars_ap(29826): Accessing hidden method Landroid/telephony/TelephonyManager;->getNetworkType(I)I (greylist-max-p, reflection, denied) E/JIGUANG-VERIFICATION(29826): [AndroidUtils] getNetOperatorReflex error:java.lang.NoSuchMethodException: android.telephony.TelephonyManager.getNetworkType [int] D/JIGUANG-VERIFICATION(29826): [AndroidUtils] [getNetworkClassFromProp] gsm network type. Unknown,LTE slot id = 1 W/Settings(29826): Setting airplane_mode_on has moved from android.provider.Settings.System to android.provider.Settings.Global, returning read-only value. D/ConnectivityManager(29826): getMobileDataEnabled()+ subId=1 D/ConnectivityManager(29826): getMobileDataEnabled()- subId=1 retVal=true D/JIGUANG-VERIFICATION(29826): [EnvReport] env code = 39 I/JVerificationInterface(29826): true I/flutter (29826): | JVER | Flutter | preLogin{timeOut: 10000} D/| JVER | Android | -(29826): onMethodCall:preLogin D/| JVER | Android | -(29826): processMethod:preLogin D/| JVER | Android | -(29826): Action - preLogin:{timeOut=10000} E/| JVER | Android | -(29826): verify fail,code=2002, message =sdk init failed,config is null

657447158 commented 2 years ago

wifi和4G都开着,单独开启4G的情况也是失败的。

as946640 commented 2 years ago

wifi和4G都开着,单独开启4G的情况也是失败的。

请问下 你解决了吗

chenjiangmin commented 1 year ago

请问后面怎么处理的呢?

39Celsius commented 1 year ago

请问下有后续解决方案吗?