H5W3
当前位置:H5W3 > Andriod > 正文

【安卓】为什么flutter运行个示例就这么多坑,感觉要放弃了?

2021-01-05 21:03:26.546 2943-7174/? E/Uploader: Clearcut transport failed to make network request. Use 30080 milliseconds.
java.net.SocketTimeoutException: failed to connect to play.googleapis.com/172.217.160.74 (port 443) from /10.0.2.16 (port 41708) after 30000ms
at libcore.io.IoBridge.connectErrno(IoBridge.java:191)
at libcore.io.IoBridge.connect(IoBridge.java:135)
at java.net.PlainSocketImpl.socketConnect(PlainSocketImpl.java:142)
2021-01-05 21:05:21.791 1902-1902/? E/netmgr: Failed to open QEMU pipe 'qemud:network': Invalid argument
2021-01-05 21:05:23.057 1904-1904/? E/wifi_forwarder: RemoteConnection failed to initialize: RemoteConnection failed to open pipe 
2021-01-06 20:41:14.797 2392-4340/com.google.android.gms.persistent E/NearbyDiscovery: DiscoveryNearbyMessagesManager failed to background unsubscribe [CONTEXT service_id=49 ]
java.util.concurrent.TimeoutException: Timed out waiting for Task
at atjq.a(:[email protected]@20.04.14 (040700-294335909):22)
at ahnl.b(:[email protected]@20.04.14 (040700-294335909):5) 
2021-01-06 20:41:13.751 4059-4059/com.google.android.apps.messaging E/Bugle: EmojiCompat initialization failed
2021-01-06 20:41:13.751 4059-4059/com.google.android.apps.messaging E/Bugle: java.lang.RuntimeException: fetchFonts result is not OK. (2)
at od.a(SourceFile:47)
at oe.run(SourceFile:3)
2021-01-06 20:41:13.572 2392-2392/com.google.android.gms.persistent E/ActivityThread: Service com.google.android.gms.nearby.discovery.service.DiscoveryService has leaked IntentReceiver com.google.android.gms.nearby.[email protected]3b06a82 that was originally registered here. Are you missing a call to unregisterReceiver()?
android.app.IntentReceiverLeaked: Service com.google.android.gms.nearby.discovery.service.DiscoveryService has leaked IntentReceiver com.google.android.gms.nearby.[email protected]3b06a82 that was originally registered here. Are you missing a call to unregisterReceiver()?
at android.app.LoadedApk$ReceiverDispatcher.<init>(LoadedApk.java:1588)
at android.app.LoadedApk.getReceiverDispatcher(LoadedApk.java:1368)
at android.app.ContextImpl.registerReceiverInternal(ContextImpl.java:1515)

android studio新建了个flutter application。

我只是想运行个示例,就这么多坑

百度几天没有结果。问了也没什么人告诉我。

哎,心好累。

感觉想放弃了!!!

回答

先解决第一个出现的问题:
failed to connect to play.googleapis.com/172.217.160.74 (port 443) from /10.0.2.16 (port 41708)
确保能ping通 172.217.160.74 这个IP地址。

============补充==================
有点莫名其妙。
前两天装了个vs code配置了一遍,好使了。
然后用android studio也好使了。。
可是我今天在打开,发现还是错误。
开始还是和 以前一样的问题。
然后我也没弄什么,就卡在

Launching lib\main.dart on Android SDK built for x86 in debug mode...
lib\main.dart:1
✓ Built build\app\outputs\flutter-apk\app-debug.apk.
Installing build\app\outputs\flutter-apk\app.apk...

实在在弄不懂啊。真的要放弃吗!

本文地址:H5W3 » 【安卓】为什么flutter运行个示例就这么多坑,感觉要放弃了?

评论 0

  • 昵称 (必填)
  • 邮箱 (必填)
  • 网址