相关疑难解决方法(0)

亚行退出,退出代码为1

在Android模拟器上运行flutter项目时,出现以下错误。它在iOS Simulator上运行良好,并且该项目在我的其他Mac上也运行良好(在Android和iOS Simulator上均可运行)

错误:ADB退出,退出代码为1。

adb:无法安装/Users/xxxx/Dropbox/Flutter/test_app/build/app/outputs/apk/app.apk:在针对x86构建的Android SDK上启动应用程序时出错。

我已经清理了项目并重置了模拟器,但是没有运气。它只会影响我的Mac Book Pro Android版本。

Flutter医生也没有显示任何问题

[?] Flutter (Channel stable, v1.5.4-hotfix.2, on Mac OS X 10.14.5 18F132, locale en-CA)

[?] Android toolchain - develop for Android devices (Android SDK version 28.0.3)
[!] iOS toolchain - develop for iOS devices (Xcode 10.2.1)
    ? Verify that all connected devices have been paired with this computer in Xcode.
      If all devices have been paired, libimobiledevice and ideviceinstaller may require updating.
      To update with Brew, run:
        brew update
        brew …
Run Code Online (Sandbox Code Playgroud)

android flutter

1
推荐指数
6
解决办法
4417
查看次数

标签 统计

android ×1

flutter ×1