等待应用程序启动的 Flutter 超时
Flutter Timeout waiting for the application to start
你好,昨天我在开发我的 flutter 应用程序时完全正常,但今天我遇到了这个错误:
timeout waiting for the application to start
我没有安装任何新插件。现在应用程序安装到设备上并打开白屏并立即关闭。
这是完整的日志:
Launching lib/main.dart on Android SDK built for x86 in debug mode...
Initializing gradle...
Resolving dependencies...
Gradle task 'assembleDebug'...
registerResGeneratingTask is deprecated, use registerGeneratedFolders(FileCollection)
registerResGeneratingTask is deprecated, use registerGeneratedFolders(FileCollection)
registerResGeneratingTask is deprecated, use registerGeneratedFolders(FileCollection)
registerResGeneratingTask is deprecated, use registerGeneratedFolders(FileCollection)
registerResGeneratingTask is deprecated, use registerGeneratedFolders(FileCollection)
Built build/app/outputs/apk/debug/app-debug.apk.
Installing build/app/outputs/apk/app.apk...
timeout waiting for the application to start
我找到了解决方案:
使用新的 admob 版本(2018-10-05),您需要将 Admob AppId 放入 AndroidManifest
你好,昨天我在开发我的 flutter 应用程序时完全正常,但今天我遇到了这个错误:
timeout waiting for the application to start
我没有安装任何新插件。现在应用程序安装到设备上并打开白屏并立即关闭。
这是完整的日志:
Launching lib/main.dart on Android SDK built for x86 in debug mode...
Initializing gradle...
Resolving dependencies...
Gradle task 'assembleDebug'...
registerResGeneratingTask is deprecated, use registerGeneratedFolders(FileCollection)
registerResGeneratingTask is deprecated, use registerGeneratedFolders(FileCollection)
registerResGeneratingTask is deprecated, use registerGeneratedFolders(FileCollection)
registerResGeneratingTask is deprecated, use registerGeneratedFolders(FileCollection)
registerResGeneratingTask is deprecated, use registerGeneratedFolders(FileCollection)
Built build/app/outputs/apk/debug/app-debug.apk.
Installing build/app/outputs/apk/app.apk...
timeout waiting for the application to start
我找到了解决方案: 使用新的 admob 版本(2018-10-05),您需要将 Admob AppId 放入 AndroidManifest