0

在使用 Android Studio 调试我的 iOS Flutter 应用程序时,我在控制台中看到连续错误。有谁知道这是什么?我没有试图杀死任何进程并且我的应用程序正在运行,所以我不确定原因是什么......

每当我对应用程序执行任何操作时,都会在 Android Studio 中记录大量这些错误。

我看到的确切消息是:

[Process] kill() returned unexpected error 1

这是出现的错误

Activating Dart DevTools...
Debug service listening on ws://127.0.0.1:50458/3cfq0iTeV4g=/ws
Syncing files to device Paresh’s iPhone...
 - <Google>[I-ACS023130] Configuration not found. Using default configuration
[Process] kill() returned unexpected error 1
[Process] kill() returned unexpected error 1
[Process] kill() returned unexpected error 1
[Process] kill() returned unexpected error 1
[Process] kill() returned unexpected error 1
[Process] kill() returned unexpected error 1
[Process] kill() returned unexpected error 1
[Process] kill() returned unexpected error 1
[Process] kill() returned unexpected error 1
[Process] kill() returned unexpected error 1
[Process] kill() returned unexpected error 1
[Process] kill() returned unexpected error 1
[GETX] Instance "GetMaterialController" has been created
[Process] kill() returned unexpected error 1
[Process] kill() returned unexpected error 1
[GETX] Instance "GetMaterialController" has been initialized
[Process] kill() returned unexpected error 1
[Process] kill() returned unexpected error 1
[Process] kill() returned unexpected error 1
[Process] kill() returned unexpected error 1
[Process] kill() returned unexpected error 1
[Process] kill() returned unexpected error 1
[Process] kill() returned unexpected error 1
[Process] kill() returned unexpected error 1
[Process] kill() returned unexpected error 1
FANPluginFactory > init
[GETX] Instance "SplashController" has been created
[GETX] Instance "SplashController" has been initialized
[Process] kill() returned unexpected error 1
[Process] kill() returned unexpected error 1
[Process] kill() returned unexpected error 1
[Process] kill() returned unexpected error 1
<Google> To get test ads on this device, set: GADMobileAds.sharedInstance.requestConfiguration.testDeviceIdentifiers = @[ @"f636c7b4386428bb1020761830e8b0e0" ];
FacebookAudienceNetworkInterstitialAdPlugin > loadInterstitialAd
FacebookAudienceNetworkInterstitialAdPlugin > loadAd > create
-canOpenURL: failed for URL: "fb://" - error: "This app is not allowed to query for scheme fb"
[logging] table tokens already exists in "CREATE TABLE tokens( tokenId TEXT PRIMARY KEY NOT NULL, token TEXT );"
[logging] table events already exists in "CREATE TABLE events( eventId TEXT PRIMARY KEY NOT NULL, tokenId TEXT REFERENCES tokens ON UPDATE CASCADE ON DELETE RESTRICT, priority BIGINT, type TEXT, time DOUBLE, sessionId TEXT, sessionStartTime DOUBLE, data TEXT, attempt BIGINT );"
[Process] kill() returned unexpected error 1
[Process] kill() returned unexpected error 1
[Process] kill() returned unexpected error 1
[Process] kill() returned unexpected error 1
[Process] kill() returned unexpected error 1
[GETX] WARNING, consider using: "Get.off(() => Page())" instead of "Get.off(Page())".
Using a widget function instead of a widget fully guarantees that the widget and its controllers will be removed from memory when they are no longer used.
      
[GETX] REPLACE ROUTE /
[GETX] NEW ROUTE /HomeScreen
[GETX] Instance "HomeController" has been created
[GETX] Instance "HomeController" has been initialized
[Process] kill() returned unexpected error 1
[Process] kill() returned unexpected error 1
[Process] kill() returned unexpected error 1
[Process] kill() returned unexpected error 1
[Process] kill() returned unexpected error 1
[Process] kill() returned unexpected error 1
[Process] kill() returned unexpected error 1
[Process] kill() returned unexpected error 1
[Process] kill() returned unexpected error 1
[Process] kill() returned unexpected error 1
[Process] kill() returned unexpected error 1
[Process] kill() returned unexpected error 1
[Process] kill() returned unexpected error 1
flutter: -----------------------------db exist
[ProcessSuspension] 0x1167e2df0 - ProcessAssertion::processAssertionWasInvalidated()
[ProcessSuspension] 0x1167e2e50 - ProcessAssertion::processAssertionWasInvalidated()
[Process] kill() returned unexpected error 1
[Process] kill() returned unexpected error 1
[Process] kill() returned unexpected error 1
[Process] kill() returned unexpected error 1
[Process] kill() returned unexpected error 1
[Process] kill() returned unexpected error 1
[Process] kill() returned unexpected error 1
[Process] kill() returned unexpected error 1
[Process] kill() returned unexpected error 1
[Process] kill() returned unexpected error 1
[Process] kill() returned unexpected error 1
[Process] kill() returned unexpected error 1
[Process] kill() returned unexpected error 1
[Process] kill() returned unexpected error 1
InterstitialAdView > interstitialAdDidLoad
flutter: loaded FB interstitial ad
[Process] kill() returned unexpected error 1
[Process] kill() returned unexpected error 1
[Process] kill() returned unexpected error 1
[Process] kill() returned unexpected error 1
[Process] kill() returned unexpected error 1
[Process] kill() returned unexpected error 1
[Process] kill() returned unexpected error 1
[Process] kill() returned unexpected error 1
[Process] kill() returned unexpected error 1
flutter: Ad loaded.
[Process] kill() returned unexpected error 1
[Process] kill() returned unexpected error 1
[Process] kill() returned unexpected error 1
[Process] kill() returned unexpected error 1
[Process] kill() returned unexpected error 1
[Process] kill() returned unexpected error 1
Could not signal service com.apple.WebKit.WebContent: 113: Could not find specified service
Could not signal service com.apple.WebKit.Networking: 113: Could not find specified service
[] tcp_input [C5.1:3] flags=[R] seq=474519685, ack=0, win=0 state=LAST_ACK rcv_nxt=474519686, snd_una=1725603524
[] tcp_input [C5.1:3] flags=[R] seq=474519685, ack=0, win=0 state=LAST_ACK rcv_nxt=474519686, snd_una=1725603524
[] tcp_input [C5.1:3] flags=[R] seq=474519686, ack=0, win=0 state=LAST_ACK rcv_nxt=474519686, snd_una=1725603524
[] tcp_input [C5.1:3] flags=[R] seq=474519686, ack=0, win=0 state=CLOSED rcv_nxt=474519686, snd_una=1725603524
[] tcp_input [C4.1:3] flags=[R] seq=1415014907, ack=0, win=0 state=LAST_ACK rcv_nxt=1415014907, snd_una=1890278177

这是颤振医生 -v

mac@PK-iMac Flutter_RTOExamInfo % flutter doctor -v

[✓] Flutter (Channel stable, 2.0.3, on Mac OS X 10.15.7 19H2 darwin-x64, locale en-GB)
    • Flutter version 2.0.3 at /Users/mac/Development/flutter
    • Framework revision 4d7946a68d (4 days ago), 2021-03-18 17:24:33 -0700
    • Engine revision 3459eb2436
    • Dart version 2.12.2

[✓] Android toolchain - develop for Android devices (Android SDK version 30.0.3)
    • Android SDK at /Users/mac/Library/Android/sdk
    • Platform android-30, build-tools 30.0.3
    • Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b3-6915495)
    • All Android licenses accepted.

[!] Xcode - develop for iOS and macOS
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Xcode 12.0, Build version 12A7209
    ! Xcode 12.0.0 out of date (12.0.1 is recommended).
      Download the latest version or update via the Mac App Store.
    • CocoaPods version 1.10.1

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] Android Studio (version 4.1)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin can be installed from:
       https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
       https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b3-6915495)

[✓] Connected device (2 available)
    • Paresh’s iPhone (mobile) • 49f62dac6f1da634e5d71981db4d591dc9126e4b • ios            • iOS 13.3
    • Chrome (web)             • chrome                                   • web-javascript • Google Chrome 89.0.4389.90

! Doctor found issues in 1 category.
mac@PK-iMac Flutter_RTOExamInfo % 
mac@PK-iMac Flutter_RTOExamInfo % 

任何帮助或想法都会很棒。

4

0 回答 0