【发布时间】:2018-11-12 06:26:30
【问题描述】:
我使用 Android Studio 开始了一个颤振项目。安卓模拟器顺利打开项目。当我打开 Ios 模拟器时,项目运行顺利。当我再次运行 android 模拟器时, project is not runed 。感谢您的帮助。
Android Studio 功能:
- Android Studio 3.0
- Build #AI-171.4408382,于 2017 年 10 月 20 日构建
- JRE:1.8.0_152-release-915-b08 x86_64
- JVM:JetBrains s.r.o 的 OpenJDK 64 位服务器虚拟机
- Mac OS X 10.12.6
Flutter: v0.4.4 Beta
控制台:
Launching lib/main.dart on Android SDK built for x86 in debug mode...
Initializing gradle...
Resolving dependencies...
Running 'gradlew assembleDebug'...
Built build/app/outputs/apk/debug/app-debug.apk.
I/FlutterActivityDelegate( 2747): onResume setting current activity to this
E/flutter ( 2747): [ERROR:flutter/shell/common/engine.cc(147)] Could not prepare to run the isolate.
E/flutter ( 2747): [ERROR:flutter/shell/common/engine.cc(112)] Engine not prepare and launch isolate.
E/flutter ( 2747): [ERROR:flutter/shell/platform/android/android_shell_holder.cc(138)] Could not launch engine in configuration.
Syncing files to device Android SDK built for x86...
Application finished.
【问题讨论】:
-
分享你的一些代码。
-
@Bostrot 有默认项目。计数器项目。
-
你跑
flutter doctor了吗? -
当
main.dart文件中的main()方法出现问题时,您会收到此错误。
标签: android mobile android-emulator dart flutter