Hi All,
Long time ago I could update my app, but actually I don't. I have an android 7.1 smart TV box - not a phone or tablet. Phone.sdkVersion=25. I can't use and try adb because I vainly use usb cable, pc can't see device.
So I tried the appupdater 2.0 demo. Appupdater said:
"The package conflicts with an existing package by the same name." Of course, I want update my app, so it is normal that the package name is the same. Isn't it?
I tried also the program in the topic "Auto start app after self update", but there I had another issue. As I wrote I cant use windows adb.exe because the pc doesn't see the android device. So I made an app what is the updater (1), and an app to be updated (2). In this second app assets' there is the updater app file.
When there isn't installed the app at all on the device and I install the updater only (1), there is no problem at all.So the app is working and good.
I remove the previous app to be clean the system, and install the app to be update (2), what after installing starts the update process, but there is an error: corrupt package. That updater (1) what shows no error when I installed at the first step. I feel the problem here is also the same package name.
What is the normal mode to update an app?
Long time ago I could update my app, but actually I don't. I have an android 7.1 smart TV box - not a phone or tablet. Phone.sdkVersion=25. I can't use and try adb because I vainly use usb cable, pc can't see device.
So I tried the appupdater 2.0 demo. Appupdater said:
"The package conflicts with an existing package by the same name." Of course, I want update my app, so it is normal that the package name is the same. Isn't it?
I tried also the program in the topic "Auto start app after self update", but there I had another issue. As I wrote I cant use windows adb.exe because the pc doesn't see the android device. So I made an app what is the updater (1), and an app to be updated (2). In this second app assets' there is the updater app file.
When there isn't installed the app at all on the device and I install the updater only (1), there is no problem at all.So the app is working and good.
I remove the previous app to be clean the system, and install the app to be update (2), what after installing starts the update process, but there is an error: corrupt package. That updater (1) what shows no error when I installed at the first step. I feel the problem here is also the same package name.
What is the normal mode to update an app?