gpt4 book ai didi

flutter - 为什么我会收到错误 : ADB exited with exit code 1

转载 作者:行者123 更新时间:2023-12-03 03:22:17 27 4
gpt4 key购买 nike

如果我想启动一个简单的应用程序,几周前我使用它没有出现错误,我会收到错误消息。那是他的错误描述:

Launching lib\main.dart on SM J530F in debug mode...
Running Gradle task 'assembleDebug'...
Parameterformat falsch -
√ Built build\app\outputs\apk\debug\app-debug.apk.
Installing build\app\outputs\apk\app.apk...
Error: ADB exited with exit code 1
Performing Streamed Install

adb: failed to install C:\Users\Simon\Desktop\App Entwickeln\Projekte\test_app\build\app\outputs\apk\app.apk: Failure [INSTALL_FAILED_INSUFFICIENT_STORAGE]
Error launching application on SM J530F.

最佳答案

发件人:Solution to INSTALL_FAILED_INSUFFICIENT_STORAGE error on Android

Solution Run:

adb shell "pm uninstall " adb shell "rm -rf /data/app/-*"

OR

Uninstall the app

Use your favorite method to delete BOTH:

/data/app/-1.apk

/data/app/-2.apk

Make sure nothing else blocks future installs in a similar way. In my case I had a /data/app-lib/-1 directory lingering around! In this case, an install to the SD card worked, and a subsequent move to internal memory, too. (Creating /data/app-lib/ without the -1 ending.)

对我来说,第二种解决方案有效!

关于flutter - 为什么我会收到错误 : ADB exited with exit code 1,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/61836287/

27 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com