1

I have created a custom System.img for my device, I need to put an APK as a system app, and I have places the app within /System/priv-app, app works flawlessly, I can download and install app updates from my own server, and after update is installed the correct version is used, until I reboot my device, and the version is reverted to the original app installed in Priv-App. I increment versionCode with every version and the issue is still present, what are my options? Thanks!

1

1 Answer 1

1

As I turns out, it WAS the versionCode that prevented me from keeping updates around, I was changing the versionCode within the manifest, but gradle.build was overwriting it to the same versionCode back. I made sure build.gradle had the proper version and I allowed me to keep app updates after reboot.

1
  • Thank you so much!!
    – FoxDonut
    Apr 26, 2020 at 4:53

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .