3

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.
simi
  • 323
  • 4
  • 12
  • 2
    Did you check the available disk-space on the device you are trying to launch it on? The `INSTALL_FAILED_INSUFFICIENT_STORAGE` indicates that it thinks that there is not enough space. – puelo May 16 '20 at 11:55

2 Answers2

1

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!

Code Poet
  • 6,222
  • 2
  • 29
  • 50
0

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

SOS video
  • 436
  • 9
  • 21