fips
fips copied to clipboard
Android: release- vs debug-target requires manual uninstall
A debug-target can't be replaced with a release-target of the same name:
> ./fips set config android-make-debug
> ./fips make [target]
> ./fips run [target]
...
> ./fips set config android-make-release
> ./fips make [target]
> ./fips run [target]
Failure [INSTALL_FAILED_UPDATE_INCOMPATIBLE]
Instead the previous target will run which is quite confusing.
Possible solution: give the debug target a unique name, e.g. append '-debug'.