昨天你好,我正在完全正常地使用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
答案 0 :(得分:1)
我找到了解决方案: 在新的admob版本(2018-10-05)中,您需要将Admob AppId放入AndroidManifest