我试着在我的安卓虚拟设备上运行hello_world颤振应用程序,但是它给我带来了一个错误。怎么了?
步骤:
hello_worldflutter 颤振创建hello_worldcd运行
> flutter run
Using hardware rendering with device AOSP on IA Emulator. If you get graphics artifacts, consider enabling software rendering with
"--enable-software-rendering".
Lau
我正在尝试运行"hello world“应用程序,它是在您创建新应用程序时生成的。这是当我尝试在Visual Studio代码中运行它时不断收到的错误: * What went wrong:
A problem was found with the configuration of task ':app:processDebugManifest' (type 'ProcessMultiApkApplicationManifest').
> File 'G:\Projects\flutter\brew_crew4\build\app\int
我用flutter制作了一个小应用程序,并将其发布到play商店。问题是,我不能安装在我的任何avd上。我收到“您的设备与此版本不兼容”(或类似的消息,取决于我尝试使用的android版本)。 我只是遵循了如何制作一个apk和一个应用程序包的说明(它们都不起作用)。如何使其可下载并可在启用了play store的avd中使用? 这是一个flutter doctor -v [✓] Flutter (Channel stable, v1.5.4-hotfix.2, on Mac OS X 10.14.5 18F132, locale
fr-FR)
• Flutter versio
我对颤振有意见。我在Ubuntu18.04上使用AndroidStudio3.2.1。我无法让它找到我的虚拟设备。
当我运行flutter doctor时,将显示以下输出:
$ flutter doctor
Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel master, v0.11.10-pre.3, on Linux, locale en_US.UTF-8)
[✓] Android toolchain - develop for Android devices (Android
我尝试在Android Q上运行的Android Emulator Pixel2上运行flutter应用程序,但命令flutter run抛出以下错误:
Error connecting to the service protocol: HttpException: Connection closed before full header was received, uri = http://127.0.0.1:64350/YLIiMby5lk4=/ws
我尝试重新启动Android Studio和模拟器。根据在Github问题和Stackoverflow上找到的解决方案,我还尝试在.bash
基本上,我的应用程序是在iOS上运行和构建的,但在我将Android升级到3.5个版本之后,就不再在安卓上运行了,我真的需要能够在playstore上发布一个版本。
我已经尝试了很多事情,但没有什么是有效的,我期待有人给我解决我的问题!我绝望了!
这是我的颤振医生-v日志:
[✓] Flutter (Channel unknown, v1.9.1+hotfix.5, on Mac OS X 10.15 19A602, locale en-FR)
• Flutter version 1.9.1+hotfix.5 at /Users/axel/flutter
• Framework
我运行的是Mac Catalina,同时安装了Android Studio和VSCode ❯ flutter doctor
Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel beta, 1.19.0-4.3.pre, on Mac OS X 10.15.5 19F101, locale en-GB)
[✓] Android toolchain - develop for Android devices (Android SDK version 30.0.1)
[✓] Xcode
我是android应用程序开发的新手,并试图运行我的第一个Hello应用程序。
此演示在USB设备上运行良好,但它不在模拟器上运行。
仿真程序运行良好,在AVD控制台上有以下警告:
E:\Android\sdk\tools\emulator.exe -netdelay none -netspeed full -avd Nexus_4_API_22
emulator: WARNING: Crash service did not start
Hax is enabled
Hax ram_size 0x20000000
HAX is working and emulator runs in fas
我在VS代码上安装了flutter和Android iOS Emulator插件,这是VS代码内置终端中的flutter emulators命令的结果:
3 available emulators:
Nexus_5x • Nexus_5x • Google • android
Pixel_2_API_29 • Pixel 2 API 29 • Google • android
pixel_xl • pixel_xl • Google • android
To run an emulator, run 'flutter emulators
从最近开始,我开始在运行(或调试) Flutter应用程序时收到损坏的屏幕键盘。 查看从https://flutter.dev/docs/cookbook/forms/validation运行表单验证演示所附的屏幕截图。键盘实际上接受按键操作。更奇怪的是,切换到大写会使键盘显示(大写)字符。我是否应该再次卸载/安装堆栈,或者其他一些措施是否合适? PS C:\Users\Pavel\testform> flutter doctor -v
[√] Flutter (Channel stable, 1.20.3, on Microsoft Windows [Version 10.0.183
当我试图在flutter项目中使用flutter pub get添加新的依赖项(包)时,我收到了This is taking an unexpectedly long time消息。所有其他的推荐工作都很好,像flutter run, flutter doctor等。只有flutter pub get我才会面临这个问题。这就是为什么我无法在flutter应用程序中添加新的依赖项(包)的原因。
flutter doctor -v的结果
[✓] Flutter (Channel stable, v1.17.0, on Linux, locale en_IN)
• Flutter versi
在将android升级到3.2.1和flutter插件之后,我无法运行我的应用程序,我得到了以下错误:
Error: unable to locate asset entry in pubspec.yaml: "assets/CupertinoIcons.ttf".
Error building assets
flutter doctor -v
[√] Flutter (Channel dev, v0.10.1, on Microsoft Windows [Versión 10.0.17763.134], locale es-ES)
• Flutter version
我是新来的。我在Genymotion模拟器上创建了用于测试和运行应用程序的小应用程序,它运行得非常好,而且在使用Android4.4.4和更新程序的实际设备中运行得非常好,但我不能在我的Android4.4.2设备上运行应用程序(华为P10)。如果你知道,我怎么能在我的Android 4.4.2设备上运行应用程序呢?这是flutter doctor命令输出:
PS D:\Mobile\AndroidStudioProjects\MyCardApp> flutter doctor -v
[√] Flutter (Channel stable, 1.20.4, on Microsoft Wi
我正在构建我的第一个Flutter应用程序,并已经设置了它所需的一切,如Android Studio、Emulator和插件等。现在,模拟器成功启动,但Android Studio无法识别正在运行的设备,虽然我在物理设备上成功运行了应用程序,但在模拟器上运行时没有成功。 我还启用了USB调试和开发人员选项,但这对我没有帮助。 Here's what it looks like 有谁可以指导我如何解决这个问题,谢谢!
当在Android Studio的Flutter上运行仿真器时,adb.exe存在于AppData\Local\Android\Sdk\platform-tools中,但我得到一个错误消息"Unable to locate adb“。 另外,按下"Open Android Emulator:~“按钮会导致以下错误: Error Opening Emulator emulator: ERROR: Running multiple emulators with the same AVD is an experimental feature. Please use -read-on
当我尝试运行我的应用程序时。它显示了这个错误
Using hardware rendering with device AOSP on IA Emulator. If you notice graphics artifacts, consider enabling software rendering with
"--enable-software-rendering".
Launching lib\main.dart on AOSP on IA Emulator in debug mode...
Running Gradle task 'assembleDebu
我使用Macbook Air M1。简单的颤振项目。尝试为android设备或模拟器构建应用程序时,请通过Android或终端颤振返回以下消息:
Launching lib/main.dart on sdk gphone64 arm64 in debug mode...
Running Gradle task 'assembleDebug'...
Exception: The flutter tool cannot access the file or directory.
Please ensure that the SDK and/or project is install
今天,我开始运行和调试我的应用程序一周后,并得到一些错误。我在网上讲道,在GitHub上找到了一些解决方案,但他们对我帮助不大。我得到的是-
FAILURE: Build failed with an exception.
* What went wrong:
Could not determine the dependencies of task ':app:compileDebugJavaWithJavac'.
> Could not resolve all task dependencies for configuration ':app:debugCom