simi
simi

Reputation: 349

Why do I get the Error: ADB exited with exit code 1

If I want to start a simple app, which I used a few weeks ago without an error, I get an error. That´s he error discription:

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.

Upvotes: 3

Views: 6880

Answers (2)

Code Poet
Code Poet

Reputation: 8013

From: 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.)

For me the second solution worked!

Upvotes: 1

SOS video
SOS video

Reputation: 476

I had the same Problem and the solution is deleating something from your device. The Problem is, that the storeg is full

Upvotes: 0

Related Questions