I have 'myAPP' in '/system/app' as part of the iso image.
After hard disk is created with iso image, 'myAPP' is installed and shows up in Home screen.
Now, I have a newer version 'myAPP', 'versioCode' and 'versionName' are changed in 'build.gradle' before generating the newer version APK.
When I try to install the newer version 'myAPP.apk' from FileManager, installer says fails. Logcat shows "D/InstallAppProgress( 2208): Installation error code: -7"
Few questions:
1) the APKs were generated from Android Studio Project's './build/outputs/apk/debug', so these are debug versions. Does it matter if it is debug or release? Do they need to be signed ?
2) I think the installer is trying to install it to '/data/app' directory, is the update failed because there is a same app in '/system/app' ?