anu*_*der 5 android facebook hybrid-mobile-app flutter
我尝试运行使用构建的移动应用程序,flutter但卡在启动屏幕上。使用adb logcat工具我可以看到一些错误/异常,但我不知道这些异常中的哪一个会导致错误:
codeinrain04-06 17:51:22.604 7234 7253 I FA : To enable faster debug mode event logging run:
04-06 17:51:22.604 7234 7253 I FA : adb shell setprop debug.firebase.analytics.app co.blocksite
04-06 17:51:22.619 7234 7234 W com.facebook.aa: Please set a value for AutoLogAppEventsEnabled. Set the flag to TRUE if you want to collect app install, app launch and in-app purchase events automatically. To request user consent before collecting data, set the flag value to FALSE, then change to TRUE once user consent is received. Learn more: https://developers.facebook.com/docs/app-events/getting-started-app-events-android#disable-auto-events.
04-06 17:51:22.619 7234 7234 W com.facebook.aa: The value for AdvertiserIDCollectionEnabled is currently set to FALSE so you're sending app events without collecting Advertiser ID. This can affect the quality of your advertising and analytics results.
04-06 17:51:22.656 7234 7259 D NetworkSecurityConfig: No Network Security Config specified, using platform default
04-06 17:51:22.803 7234 7234 I GAv4 : Google Analytics 12.4.51 is starting up. To enable debug logging on a device run:
04-06 17:51:22.803 7234 7234 I GAv4 : adb shell setprop log.tag.GAv4 DEBUG
04-06 17:51:22.803 7234 7234 I GAv4 : adb logcat -s GAv4
04-06 17:51:22.950 686 686 W memtrack@1.0-se: type=1400 audit(0.0:363678): avc: denied { search } for name="proc" dev="debugfs" ino=14021 scontext=u:r:hal_memtrack_default:s0 tcontext=u:object_r:qti_debugfs:s0 tclass=dir permissive=0 ppid=1 pcomm="init" pgid=1 pgcomm="init"
04-06 17:51:23.038 4040 7295 I CheckinUtil: Classify the device as Phone.
04-06 17:51:23.099 4040 7295 W Conscrypt: Could not set socket write timeout: java.net.SocketException: Socket closed
04-06 17:51:23.101 4040 7295 W Conscrypt: at com.google.android.gms.org.conscrypt.Platform.setSocketWriteTimeout(:com.google.android.gms@200914021@20.09.14 (040408-300565878):2)
04-06 17:51:23.101 4040 7295 W Conscrypt: at com.google.android.gms.org.conscrypt.ConscryptFileDescriptorSocket.setSoWriteTimeout(:com.google.android.gms@200914021@20.09.14 (040408-300565878):0)
04-06 17:51:23.180 4040 7295 W Conscrypt: Could not set socket write timeout: java.net.SocketException: Socket closed
04-06 17:51:23.180 4040 7295 W Conscrypt: at com.google.android.gms.org.conscrypt.Platform.setSocketWriteTimeout(:com.google.android.gms@200914021@20.09.14 (040408-300565878):2)
04-06 17:51:23.180 4040 7295 W Conscrypt: at com.google.android.gms.org.conscrypt.ConscryptFileDescriptorSocket.setSoWriteTimeout(:com.google.android.gms@200914021@20.09.14 (040408-300565878):0)
04-06 17:51:23.299 7234 7234 E com.facebook.a.b.g: com.android.vending.billing.IInAppBillingService$Stub is not available, please add com.android.vending.billing.IInAppBillingService$Stub to the project.
04-06 17:51:23.299 7234 7234 E com.facebook.a.b.g: java.lang.ClassNotFoundException: Didn't find class "com.android.vending.billing.IInAppBillingService$Stub" on path: DexPathList[[zip file "/data/app/co.blocksite-2VTx-MhglDslsD5oY8oe7g==/base.apk", zip file "/data/app/co.blocksite-2VTx-MhglDslsD5oY8oe7g==/split_config.in.apk", zip file "/data/app/co.blocksite-2VTx-MhglDslsD5oY8oe7g==/split_config.xxhdpi.apk"],nativeLibraryDirectories=[/data/app/co.blocksite-2VTx-MhglDslsD5oY8oe7g==/lib/arm64, /system/lib64, /system/vendor/lib64]]
04-06 17:51:23.299 7234 7234 E com.facebook.a.b.g: at dalvik.system.BaseDexClassLoader.findClass(BaseDexClassLoader.java:93)
04-06 17:51:23.299 7234 7234 E com.facebook.a.b.g: at java.lang.ClassLoader.loadClass(ClassLoader.java:379)
04-06 17:51:23.299 7234 7234 E com.facebook.a.b.g: at java.lang.ClassLoader.loadClass(ClassLoader.java:312)
04-06 17:51:23.299 7234 7234 E com.facebook.a.b.g: at com.facebook.a.b.g.a(InAppPurchaseEventManager.java:611)
04-06 17:51:23.299 7234 7234 E com.facebook.a.b.g: at com.facebook.a.b.g.a(InAppPurchaseEventManager.java:633)
04-06 17:51:23.299 7234 7234 E com.facebook.a.b.g: at com.facebook.a.b.g.a(InAppPurchaseEventManager.java:627)
04-06 17:51:23.299 7234 7234 E com.facebook.a.b.g: at com.facebook.a.b.g.a(InAppPurchaseEventManager.java:125)
04-06 17:51:23.299 7234 7234 E com.facebook.a.b.g: at com.facebook.a.b.f$1.onServiceConnected(InAppPurchaseActivityLifecycleTracker.java:108)
04-06 17:51:23.299 7234 7234 E com.facebook.a.b.g: at android.app.LoadedApk$ServiceDispatcher.doConnected(LoadedApk.java:1634)
04-06 17:51:23.299 7234 7234 E com.facebook.a.b.g: at android.app.LoadedApk$ServiceDispatcher$RunConnection.run(LoadedApk.java:1663)
04-06 17:51:23.299 7234 7234 E com.facebook.a.b.g: at android.os.Handler.handleCallback(Handler.java:789)
04-06 17:51:23.299 7234 7234 E com.facebook.a.b.g: at android.os.Handler.dispatchMessage(Handler.java:98)
04-06 17:51:23.299 7234 7234 E com.facebook.a.b.g: at android.os.Looper.loop(Looper.java:251)
04-06 17:51:23.299 7234 7234 E com.facebook.a.b.g: at android.app.ActivityThread.main(ActivityThread.java:6572)
04-06 17:51:23.299 7234 7234 E com.facebook.a.b.g: at java.lang.reflect.Method.invoke(Native Method)
04-06 17:51:23.299 7234 7234 E com.facebook.a.b.g: at com.android.internal.os.Zygote$MethodAndArgsCaller.run(Zygote.java:240)
04-06 17:51:23.299 7234 7234 E com.facebook.a.b.g: at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:767)
04-06 17:51:23.299 7234 7234 E com.facebook.a.b.g: Suppressed: java.io.IOException: No original dex files found for dex location /data/app/co.blocksite-2VTx-MhglDslsD5oY8oe7g==/split_config.in.apk
04-06 17:51:23.299 7234 7234 E com.facebook.a.b.g: at dalvik.system.DexFile.openDexFileNative(Native Method)
04-06 17:51:23.299 7234 7234 E com.facebook.a.b.g: at dalvik.system.DexFile.openDexFile(DexFile.java:353)
04-06 17:51:23.299 7234 7234 E com.facebook.a.b.g: at dalvik.system.DexFile.<init>(DexFile.java:100)
04-06 17:51:23.299 7234 7234 E com.facebook.a.b.g: at dalvik.system.DexFile.<init>(DexFile.java:74)
04-06 17:51:23.299 7234 7234 E com.facebook.a.b.g: at dalvik.system.DexPathList.loadDexFile(DexPathList.java:374)
04-06 17:51:23.299 7234 7234 E com.facebook.a.b.g: at dalvik.system.DexPathList.makeDexElements(DexPathList.java:337)
04-06 17:51:23.299 7234 7234 E com.facebook.a.b.g: at dalvik.system.DexPathList.<init>(DexPathList.java:157)
04-06 17:51:23.299 7234 7234 E com.facebook.a.b.g: at dalvik.system.BaseDexClassLoader.<init>(BaseDexClassLoader.java:65)
04-06 17:51:23.299 7234 7234 E com.facebook.a.b.g: at dalvik.system.PathClassLoader.<init>(PathClassLoader.java:64)
04-06 17:51:23.299 7234 7234 E com.facebook.a.b.g: at com.android.internal.os.PathClassLoaderFactory.createClassLoader(PathClassLoaderFactory.java:43)
04-06 17:51:23.299 7234 7234 E com.facebook.a.b.g: at android.app.ApplicationLoaders.getClassLoader(ApplicationLoaders.java:69)
04-06 17:51:23.299 7234 7234 E com.facebook.a.b.g: at android.app.ApplicationLoaders.getClassLoader(ApplicationLoaders.java:36)
04-06 17:51:23.299 7234 7234 E com.facebook.a.b.g: at android.app.LoadedApk.createOrUpdateClassLoaderLocked(LoadedApk.java:676)
04-06 17:51:23.299 7234 7234 E com.facebook.a.b.g: at android.app.LoadedApk.getClassLoader(LoadedApk.java:709)
04-06 17:51:23.299 7234 7234 E com.facebook.a.b.g: at android.app.LoadedApk.getResources(LoadedApk.java:936)
04-06 17:51:23.299 7234 7234 E com.facebook.a.b.g: at android.app.ContextImpl.createAppContext(ContextImpl.java:2249)
04-06 17:51:23.299 7234 7234 E com.facebook.a.b.g: at android.app.ActivityThread.handleBindApplication(ActivityThread.java:5703)
04-06 17:51:23.299 7234 7234 E com.facebook.a.b.g: at android.app.ActivityThread.-wrap1(Unknown Source:0)
04-06 17:51:23.299 7234 7234 E com.facebook.a.b.g: at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1666)
04-06 17:51:23.299 7234 7234 E com.facebook.a.b.g: at android.os.Handler.dispatchMessage(Handler.java:105)
04-06 17:51:23.299 7234 7234 E com.facebook.a.b.g: ... 5 more
04-06 17:51:23.299 7234 7234 E com.facebook.a.b.g: Suppressed: java.io.IOException: No original dex files found for dex location /data/app/co.blocksite-2VTx-MhglDslsD5oY8oe7g==/split_config.xxhdpi.apk
04-06 17:51:23.299 7234 7234 E com.facebook.a.b.g: at dalvik.system.DexFile.openDexFileNative(Native Method)
04-06 17:51:23.299 7234 7234 E com.facebook.a.b.g: at dalvik.system.DexFile.openDexFile(DexFile.java:353)
04-06 17:51:23.299 7234 7234 E com.facebook.a.b.g: at dalvik.system.DexFile.<init>(DexFile.java:100)
04-06 17:51:23.299 7234 7234 E com.facebook.a.b.g: at dalvik.system.DexFile.<init>(DexFile.java:74)
04-06 17:51:23.299 7234 7234 E com.facebook.a.b.g: at dalvik.system.DexPathList.loadDexFile(DexPathList.java:374)
04-06 17:51:23.299 7234 7234 E com.facebook.a.b.g: at dalvik.system.DexPathList.makeDexElements(DexPathList.java:337)
04-06 17:51:23.299 7234 7234 E com.facebook.a.b.g: at dalvik.system.DexPathList.<init>(DexPathList.java:157)
04-06 17:51:23.299 7234 7234 E com.facebook.a.b.g: at dalvik.system.BaseDexClassLoader.<init>(BaseDexClassLoader.java:65)
04-06 17:51:23.299 7234 7234 E com.facebook.a.b.g: at dalvik.system.PathClassLoader.<init>(PathClassLoader.java:64)
04-06 17:51:23.299 7234 7234 E com.facebook.a.b.g: at com.android.internal.os.PathClassLoaderFactory.createClassLoader(PathClassLoaderFactory.java:43)
04-06 17:51:23.299 7234 7234 E com.facebook.a.b.g: at android.app.ApplicationLoaders.getClassLoader(ApplicationLoaders.java:69)
04-06 17:51:23.299 7234 7234 E com.facebook.a.b.g: at android.app.ApplicationLoaders.getClassLoader(ApplicationLoaders.java:36)
04-06 17:51:23.299 7234 7234 E com.facebook.a.b.g: at android.app.LoadedApk.createOrUpdateClassLoaderLocked(LoadedApk.java:676)
04-06 17:51:23.299 7234 7234 E com.facebook.a.b.g: at android.app.LoadedApk.getClassLoader(LoadedApk.java:709)
04-06 17:51:23.299 7234 7234 E com.facebook.a.b.g: at android.app.LoadedApk.getResources(LoadedApk.java:936)
04-06 17:51:23.299 7234 7234 E com.facebook.a.b.g: at android.app.ContextImpl.createAppContext(ContextImpl.java:2249)
04-06 17:51:23.299 7234 7234 E com.facebook.a.b.g: at android.app.ActivityThread.handleBindApplication(ActivityThread.java:5703)
04-06 17:51:23.299 7234 7234 E com.facebook.a.b.g: at android.app.ActivityThread.-wrap1(Unknown Source:0)
04-06 17:51:23.299 7234 7234 E com.facebook.a.b.g: at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1666)
04-06 17:51:23.299 7234 7234 E com.facebook.a.b.g: at android.os.Handler.dispatchMessage(Handler.java:105)
04-06 17:51:23.299 7234 7234 E com.facebook.a.b.g: ... 5 more
04-06 17:51:23.405 5872 5875 E nightwatch-watcher: Failed to read from logcat: Success
04-06 17:51:24.405 5872 5875 E nightwatch-watcher: Failed to read from logcat: Success
04-06 17:51:24.613 2485 27804 I AudioPolicyManagerCustom: FLAG None hence request for a primary output
04-06 17:51:24.613 2485 27804 I AudioPolicyManagerCustom: FLAG None hence request for a primary output
04-06 17:51:24.618 675 25117 D audio_hw_primary: start_output_stream: enter: stream(0xe69b1000)usecase(1: low-latency-playback) devices(0x2)
04-06 17:51:24.619 675 25117 D audio_hw_primary: select_devices for use case (low-latency-playback)
04-06 17:51:24.619 702 772 E ANDR-PERF-RESOURCEQS: Failed to apply optimization [4, 0]
04-06 17:51:24.620 675 25117 D audio_hw_primary: select_devices: btsco_unavailable(0), mode(0), out_snd_device(speaker), in_snd_device(), BTSCO on?(0)
04-06 17:51:24.620 675 25117 D audio_hw_extn: audio_extn_get_anc_enabled: anc_enabled:0
04-06 17:51:24.620 675 25117 D audio_hw_primary: select_devices: out_snd_device(84: speaker) in_snd_device(0: )
04-06 17:51:24.620 675 25117 I msm8974_platform: platform_check_and_set_codec_backend_cfg:becf: afe: bitwidth 16, samplerate 48000 channels 2, backend_idx 0 usecase = 1 device (speaker)
04-06 17:51:24.621 675 25117 D msm8974_platform: platform_split_snd_device: snd_device(84) num devices(1) new_snd_devices(0)
04-06 17:51:24.621 675 25117 I msm8974_platform: platform_check_and_set_codec_backend_cfg: new_snd_devices[0] is 84
04-06 17:51:24.621 675 25117 I msm8974_platform: platform_check_codec_backend_cfg:becf: afe: bitwidth 16, samplerate 48000 channels 2, backend_idx 0 usecase = 1 device (speaker)
04-06 17:51:24.621 675 25117 D audio_hw_extn: audio_extn_get_anc_enabled: anc_enabled:0
04-06 17:51:24.621 675 25117 D msm8974_platform: platform_check_codec_backend_cfg:becf: afe: playback on codec device not supporting native playback set default Sample Rate(48k)
04-06 17:51:24.621 675 25117 I msm8974_platform: platform_check_codec_backend_cfg:becf: afe: Codec selected backend: 0 updated bit width: 16 and sample rate: 48000
04-06 17:51:24.621 675 25117 D audio_hw_primary: check_usecases_codec_backend:becf: force routing 0
04-06 17:51:24.621 675 25117 E msm8974_platform: platform_check_backends_match: Invalid snd_device =
04-06 17:51:24.621 675 25117 D audio_hw_primary: check_usecases_codec_backend:becf: (59) check_usecases curr device: speaker, usecase device: backends match 0
04-06 17:51:24.621 675 25117 D audio_hw_primary: check_usecases_codec_backend:becf: check_usecases num.of Usecases to switch 0
04-06 17:51:24.621 675 25117 D hardware_info: hw_info_append_hw_type : device_name = speaker
04-06 17:51:24.621 675 25117 D audio_hw_spkr_prot: set_spkr_prot_cal: quick calibration disabled
04-06 17:51:24.621 675 25117 D audio_hw_spkr_prot: audio_extn_spkr_prot_start_processing: snd_device(84: speaker)
04-06 17:51:24.637 675 25117 D hardware_info: hw_info_append_hw_type : device_name = vi-feedback
04-06 17:51:24.637 675 25117 D msm8974_platform: platform_split_snd_device: snd_device(242) num devices(0) new_snd_devices(0)
04-06 17:51:24.637 675 25117 D audio_hw_primary: enable_snd_device: snd_device(242: vi-feedback)
04-06 17:51:24.637 675 25117 D audio_hw_utils: audio_extn_utils_send_app_type_cfg: usecase->in_snd_device vi-feedback
04-06 17:51:24.637 675 25117 D msm8974_platform: platform_split_snd_device: snd_device(242) num devices(0) new_snd_devices(0)
04-06 17:51:24.638 675 25117 E audio_hw_utils: send_app_type_cfg_for_device: Could not get ctl for mixer cmd - Audio Stream Capture 42 App Type Cfg
04-06 17:51:24.638 675 25117 E voice : voice_is_in_call_rec_stream: input stream is NULL
04-06 17:51:24.638 675 25117 D msm8974_platform: platform_split_snd_device: snd_device(242) num devices(1) new_snd_devices(0)
04-06 17:51:24.638 675 25117 D ACDB-LOADER: ACDB -> send_audio_cal, acdb_id = 102, path = 1, app id = 0x11132, sample rate = 48000
04-06 17:51:24.638 675 25117 D ACDB-LOADER: ACDB -> send_asm_topology
04-06 17:51:24.638 675 25117 D ACDB-LOADER: ACDB -> ACDB_CMD_GET_AUDPROC_STREAM_TOPOLOGY_ID
04-06 17:51:24.639 675 25117 D ACDB-LOADER: ACDB -> ACDB_AVSYNC_INFO: ACDB_CMD_GET_DEVICE_PROPERTY
04-06 17:51:24.639 675 25117 D audio_hw_primary: enable_audio_route: apply mixer and update path: spkr-vi-record
04-06 17:51:24.696 675 25117 E voice : voice_is_in_call_rec_stream: input stream is NULL
04-06 17:51:24.696 675 25117 D msm8974_platform: platform_split_snd_device: snd_device(249) num devices(1) new_snd_devices(0)
04-06 17:51:24.696 675 25117 D msm8974_platform: Resetting app type for Tx path to default
04-06 17:51:24.696 675 25117 D ACDB-LOADER: ACDB -> send_audio_cal, acdb_id = 4, path = 1, app id = 0x11132, sample rate = 8000
04-06 17:51:24.696 675 25117 D ACDB-LOADER: ACDB -> send_asm_topology
04-06 17:51:28.902 693 693 I WifiHAL : Got channel list with 0 channels
04-06 17:51:34.180 675 25117 D ACDB-LOADER: ACDB -> send_audstrmtable
04-06 17:51:34.180 675 25117 D ACDB-LOADER: ACDB -> ACDB_CMD_GET_AUDPROC_STREAM_TABLE_V2
04-06 17:51:34.536 6400 7364 I PlayCommon: [4374] amjg.c(160): Connecting to server: https://play.googleapis.com/play/log?format=raw&proto_v2=true
04-06 17:51:34.546 7337 7355 I DynamiteModule: Considering local module com.google.android.gms.ads.dynamite:0 and remote module com.google.android.gms.ads.dynamite:21400
04-06 17:51:34.546 7337 7355 I DynamiteModule: Selected remote version of com.google.android.gms.ads.dynamite, version >= 21400
04-06 17:51:34.546 7337 7355 V DynamiteModule: Dynamite loader version >= 2, using loadModule2NoCrashUtils
04-06 17:51:34.582 6400 7364 I PlayCommon: [4374] amjg.c(187): Successfully uploaded logs.
04-06 17:51:34.586 7337 7355 I DynamiteLoaderV2: [71] AdsFdrDynamite.integ
04-06 17:51:34.627 6400 7357 I Finsky : [4372] kzb.a(3): Flushing event logs for [2PfsML0Opm97BNp3Vmjneg0WGYl9g1k4XoksxIgDcKo]
04-06 17:51:34.630 7337 7355 W zygote64: Skipping duplicate class check due to unrecognized classloader
04-06 17:51:34.640 6400 7370 I PlayCommon: [4375] amjg.c(26): Preparing logs for uploading
04-06 17:51:34.652 2595 2595 D QSEECOMAPI: Loaded image: APP id = 15532035
04-06 17:51:34.653 6400 7370 I PlayCommon: [4375] amjg.c(160): Connecting to server: https://play.googleapis.com/play/log?format=raw&proto_v2=true
04-06 17:51:34.656 6400 7226 I PlayCommon: [4370] amjg.c(187): Successfully uploaded logs.
04-06 17:51:34.674 7337 7337 I FIAM.Headless: Starting InAppMessaging runtime with Instance ID e8A6chHg1Aw
04-06 17:51:34.680 4670 7353 I FSA2_SyncState: @readSyncState: # anav@1cf57a1d
04-06 17:51:34.682 7337 7366 I FA : App measurement is starting up, version: 16250
04-06 17:51:34.683 7337 7366 I FA : To enable debug logging run: adb shell setprop log.tag.FA VERBOSE
04-06 17:51:34.683 7337 7366 I FA : To enable faster debug mode event logging run:
04-06 17:51:34.683 7337 7366 I FA : adb shell setprop debug.firebase.analytics.app z.zapps
04-06 17:51:34.695 7337 7376 W DynamiteModule: Local module descriptor class for com.google.firebase.auth not found.
04-06 17:51:34.705 6400 7370 I PlayCommon: [4375] amjg.c(187): Successfully uploaded logs.
04-06 17:51:34.736 2595 2595 D QSEECOMAPI: QSEECom_dealloc_memory
04-06 17:51:34.736 2595 2595 D QSEECOMAPI: QSEECom_shutdown_app, app_id = 15532035
04-06 17:51:34.742 7337 7337 D NetworkSecurityConfig: Using Network Security Config from resource network_security_config debugBuild: false
04-06 17:51:34.749 6400 7357 I Finsky : [4372] kzb.a(3): Flushing event logs for [C2HVsP0RayqcvyZDLh2MyqiGl_QkpHbeZvmi7nFXm6I]
04-06 17:51:34.761 6146 6600 E DeviceConfigTool: NetClient: java.lang.IllegalArgumentException: Unexpected char 0x00 at 15 in header value: 358970073360390??
04-06 17:51:34.761 6146 6600 E DeviceConfigTool: at com.squareup.okhttp.Headers$Builder.checkNameAndValue(Headers.java:295)
04-06 17:51:34.761 6146 6600 E DeviceConfigTool: at com.squareup.okhttp.Headers$Builder.set(Headers.java:275)
04-06 17:51:34.761 6146 6600 E DeviceConfigTool: at com.squareup.okhttp.Request$Builder.header(Request.java:185)
04-06 17:51:34.761 6146 6600 E DeviceConfigTool: at com.sonymobile.deviceconfigtool.utils.NetClient.executeHttpRequestImpl(NetClient.java:209)
04-06 17:51:34.761 6146 6600 E DeviceConfigTool: at com.sonymobile.deviceconfigtool.utils.NetClient.executeHttpRequest(NetClient.java:91)
04-06 17:51:34.761 6146 6600 E DeviceConfigTool: at com.sonymobile.deviceconfigtool.utils.NetClient.executeHttpRequest(NetClient.java:79)
04-06 17:51:34.761 6146 6600 E DeviceConfigTool: at com.sonymobil
该错误是通过调用平台渠道造成之前调用runApp。
从最后一个稳定的 Flutter 版本开始,这样做需要您WidgetsFlutterBinding.ensureInitialized();事先调用,以确保 Flutter 在您实际尝试使用平台通道与其进行通信之前绑定到它正在运行的平台。
在使用平台通道的任何其他代码之前调用它应该可以解决您的问题 - 我想您可以将它作为main()函数中的第一行代码:
WidgetsFlutterBinding.ensureInitialized();
Run Code Online (Sandbox Code Playgroud)
编辑:我的回答仅对作者获得的特定内部异常有效:
E flutter : Tried calling: defaultBinaryMessenger
E flutter : #0 defaultBinaryMessenger (package:flutter/src/services/binary_messenger.dart:90)
E flutter : #1 MethodChannel.binaryMessenger (package:flutter/src/services/platform_channel.dart:140)
E flutter : #2 MethodChannel.invokeMethod (package:flutter/src/services/platform_channel.dart:314)
Run Code Online (Sandbox Code Playgroud)
您可能会得到完全相同的外部异常,但内部异常(根本原因)完全不同,在这种情况下,我的回答不适用!
| 归档时间: |
|
| 查看次数: |
2571 次 |
| 最近记录: |