jack zhang
2018-11-27 19:10:20 UTC
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' ?
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' ?
--
You received this message because you are subscribed to the Google Groups "Android-x86" group.
To unsubscribe from this group and stop receiving emails from it, send an email to android-x86+***@googlegroups.com.
To post to this group, send email to android-***@googlegroups.com.
Visit this group at https://groups.google.com/group/android-x86.
For more options, visit https://groups.google.com/d/optout.
You received this message because you are subscribed to the Google Groups "Android-x86" group.
To unsubscribe from this group and stop receiving emails from it, send an email to android-x86+***@googlegroups.com.
To post to this group, send email to android-***@googlegroups.com.
Visit this group at https://groups.google.com/group/android-x86.
For more options, visit https://groups.google.com/d/optout.