'How to Force Delete App from Emulator for every Flutter build
I want to force Android Studio to delete the previous build every time I rebuild.
Currently for whatever reason it does not delete the previous build and simply runs that old version. If I manually delete first it works as expected and runs the new build.
Solution 1:[1]
To remove the build, just using this terminal command rm -rf build
But perhaps in your case, try using flutter clean
is enough. Cheers.
Solution 2:[2]
Must build again with flutter build apk --split-per-abi and run flutter install enter image description here
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
Solution | Source |
---|---|
Solution 1 | Q.u.a.n.g L. |
Solution 2 | Septianton Rezki Rahmatulloh |